* Using display name instead of taskname
* Creating dedicated function for extracting task label
* Propagating fix to side panel
* Adding backward compatibility and unit test
* running prettier
Signed-off-by: STEFANINI Axel (INTERN) <42176370+axel7083@users.noreply.github.com>
---------
Signed-off-by: STEFANINI Axel (INTERN) <42176370+axel7083@users.noreply.github.com>
* Add an alternative component for new experiment page.
* Add unit tests.
Assign default values for useState().
* Move the files to functional_components folder.
Update the imported files from absolute path.
* Move handing experiemnt creation error to useEffect
rename the create helper to createExperiment.
* Move redirection logic after createExperiment() is succeed to
useEffect().
* Fix dependency array for handling createExperiment() succeed case.
* Remove pipeline id in dependency array.
* Add alternative functional component for recurring run v2 details.
* Remove unnecessary recurringRunDetailsV2FCProps
* Add unit tests.
Move the file to FC folder.
Add updatebanner logic for error case
Simplify the getInitialToolBar() helper.
* Add new feature key "functional" to enable rendering functional
component. (only for validation test now)
* Remove handling error in useQuery.
Change feature flags.
Rename folder.
* Resolve eslint warning
* Avoid use recurringRun and experiment (object) as trigger for
useEffect().
* Remove unused import.
* Extract set() logic from useQuery.
Add documentation for error handle useEffect().
* chore(mlmd): Upgrade ML Metadata to 1.14.0.
* fix requirements, skip visualization.
* go mod tidy
* mlmd new enum in frontend
* mlmd license
* mlmd license again, using the failure test diff
* again
* fix(frontend): Introduce ALLOWED_ARTIFACT_DOMAIN_REGEX flag to prevent accessing undesired domains. Remove user input string from server response.
1. Remove user query parameter string from server response.
2. Introduce ALLOWED_ARTIFACT_DOMAIN_REGEX to allow configuration of allowed domains querying.
3. By default, ALLOWED_ARTIFACT_DOMAIN_REGEX is match all. Default configuration is meant to be demo purpose and not for production.
4. Users can provide ALLOWED_ARTIFACT_DOMAIN_REGEX environment variable to restrict object storage endpoint querying domains.
* add test
* test: access specific field via "id".
* test: access specific field via "id".
* update snapshots.
* Add test to validata description changes.
* Change id def for input tag.
* Skip unit tests
* Add unit tests back and change id
* Add a helper for clear default value in input field.
Remove unnecessary 'tab' command
* Add comment to explain the parameter name for tests
Remove default value for runName before typing new value
* Change not put the versionId in URL to avoid redundant API call.
* Remove unnecessary setStateSafe()
* Add an unit tests to varify that the latest version is used if more than
one version are existing in the response of listPipelineVersions().
* Remove unnecessary getVersionTemplate() api call in pipeline details
router.
* Add an unit test.
* Update unit tests.
* Separate the unit test for 2 cases (undefined and invalid pipeline_spec)
* Add log error for undefined pipeline_spec case.
* Direct to new run v2 page by default.
* Update parameter titleMessage
* Add error message for the case that no pipeline is selected
* Add unit test
* Resolve hook warning.
* Remove TODO
* fill the pipeline root field if it is existing clonedRuntimConfig.
* Add unit test.
Update the logic of setting pipelineRoot.
* Change the example pipeline root to another dummy root ('gs://dummy_pipeline_root')
* Change the clone root in NewRunParameterV2.test
* Catch the error thrown by parseStoragePath().
Directly render unsupported URI rather than showing banner error.
* Change back to render banner but not error mode. Use info mode instead.
* Make the text in YAML tab preview in v1 pipeline details more readable.
* Add documentation.
* Fix the logic in PipelineSpecTabContent rather than convert the v1
template to yaml in the parent component <PipelineDetailsV1>
* Remove the v2 template check in PipelineSpecTabContent.
* Remove unused import
* feat(frontend): make container name configurable
Add an UIConfig param to specify the container name in a pod
where logs are retrieved. The default container name for
the Argo is `main`. However, in Tekton, the main container name
contains the `step-` prefix. Make this configurable to support
other orchestrations.
Signed-off-by: Yihong Wang <yh.wang@ibm.com>
* fix test case error
add `undefined` as the expected `logContainerName` param
Signed-off-by: Yihong Wang <yh.wang@ibm.com>
* address the comment
use default value `main` in `getPodLogsStreamFromK8s`
same as `getPodLogs`
Signed-off-by: Yihong Wang <yh.wang@ibm.com>
* only pass podLogContainerName
Signed-off-by: Yihong Wang <yh.wang@ibm.com>
---------
Signed-off-by: Yihong Wang <yh.wang@ibm.com>
* Create ExecutionListRouter.tsx to determine which type of view to
render.
Change the router for execution list to execution list router component.
Add group execution list logic back to execution list implementation.
* Change name to ExecutionListSwitcher.
Add unit tests for execution list switcher.
* Change props name to isGroupView
* Rename tabs to "Default" and "Grouped".
Fix typos.
Add isGroupView in ExecutionList props (ExecutionList.test.tsx).
* Use PipelineDeploymentConfig and PipelineDeploymentConfig_ExecutorSpec
in WorkflowUtils.
Format the "command" in pipeline details side panel.
* Fix unit tests
* Remove unnecessary export
* Fix logic in WorkflowUtils to avoid unexpected errors.
Add comment to explain why 2 'sh' are found.
Add pre-wrap style for arg as well.
* Rename ts_pipelinespec to pipelineSpec.
* Fix comment in unit test.
Remove unnecessary checking item in if condition.
* Enable pagination of artifact list (add listOperationOpts) in
getArtifact() call).
* Add return value (nextPageToken) for reload()
remove console.
* Abstract the logic of getting "flattened" row from artifacts.
Change getRowsFromArtifacts() to getGroupedRowsFromArtifacts()
Render flattend rows rather than grouped rows.
* Add unit tests to validate the implementation of pagination.
Add TODO.
* Change to absolute path.
* Fix unit tests.
Remove unnecessary if condition.
* Disable sort functionality (incompleted).
Add TODO.
* Remove unused import
* Fix unit tests
* Add testBestPractices().