EccClientGa4ghTesRuns Component
2.0.0-alpha.0
<ecc-client-ga4gh-tes-runs/>
ECCClientGa4ghTesRuns
Overview
Displays a paginated table of tasks from a GA4GH Task Execution Service (TES), with name-prefix search, a state filter, and a delete (cancel) action for active tasks.
Usage
runs.tsx
import { ECCClientGa4ghTesRuns } from '@elixir-cloud/tes/react';
export default function Runs() {
return (
<ECCClientGa4ghTesRuns
baseUrl="https://protes.rahtiapp.fi/ga4gh/tes/v1"
pageSize={10}
onEccRunsSelected={(e) => console.log(e.detail.runId)}
/>
);
}Properties
| Property | Type | Default | Description |
|---|---|---|---|
baseUrl | string | "" | Base URL of the TES API. |
provider | TesProvider | undefined | Custom provider; overrides baseUrl (see Providers). |
pageSize | number | 10 | Tasks per page. |
search | boolean | true | Show the name-prefix search field. |
filter | boolean | true | Show the state filter. The selected state is sent to the provider and reloads the task list. |
Events
| Event | Detail | Description |
|---|---|---|
ecc-runs-changed | { runs: Task[] } | Task list was (re)loaded. |
ecc-runs-selected | { runId: string } | A task was selected. |
