Commit Graph

475 Commits

Author SHA1 Message Date
James Liu a35812429c
feat(frontend): Create an Expand button to open SubDAG. Partial #6301 (#6490)
* feat(frontend): Create an Expand button to open SubDAG

* address comment
2021-09-02 15:08:18 -07:00
James Liu 964a62e970
feat(frontend): Add styling for Artifact Node. Partial #6280 (#6418)
* feat(frontend): Add styling for Artifact Node

* comment

* use database
2021-08-31 13:43:44 -07:00
James Liu d03277fe4e
feat(frontend): SubDag Node and mock samples. Partial #6419. Fix #6302. Fix #6398 (#6420)
* feat(frontend): SubDag Node and mock samples

* fix import

* comment address

* from aside to div

* address comments
2021-08-31 10:04:03 -07:00
James Liu e035a88149
feat: upgrade MLMD to 1.2.0. Fix #6436 (#6437)
* chore(frontend): upgrade MLMD to 1.2.0

* update version for backend

* update dependencies

* makefile

* tfx compatiblity update
2021-08-28 16:59:22 -07:00
James Liu aec5792cb2
fix(frontend): Fix the styling for custom icons on sideNav (#6440)
* fix(frontend): Fix the styling for custom icons on sideNav

* fix test
2021-08-26 05:23:05 -07:00
Gerard Casas Saez 3866ccf6c1
feat(frontend): Add version description to pipelineVersionList. Part of #6256 (#6405)
* add version description to pipelineVersionList

* remove extra tests and reduce flex for version name

* add tooltip and mock version data
2021-08-24 12:24:44 -07:00
James Liu ee718af5bc
feat(frontend): v2 Execution Node element. Partial #6280 (#6407)
* feat(frontend): v2 Execution Node element

* compile css before coverage test

* change to pretest
2021-08-21 13:55:55 -07:00
James Liu 39f5b6b740
chore(frontend): Change edge type from animated to arrowclosed. Partial #6397 (#6408) 2021-08-21 02:39:55 -07:00
Yuan (Bob) Gong d077e6ecce
feat(frontend): integrate with TFX 1.2.0 metadata & visualization, no longer support previous versions. Part of #6138 (#6388) 2021-08-18 21:59:53 -07:00
Gerard Casas Saez 943dc128e1
feat(backend): Add pipeline version description to backend. Part of #6256 (#6261)
* start adding description to version

* add description to resource manager

* remove description from pipeline default version

* update pipeline_store

* add some tests to ensure its being passed around

* update frontend generated api

* run auto formatter

* add comment to frontend readme about running npm run format

* add missing api converter step
2021-08-18 20:59:53 -07:00
dependabot[bot] 8d8ebf4072
chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /frontend (#6298)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-18 19:57:53 -07:00
James Liu 72c54c8c4d
feat(frontend): Show V2 PipelineDetail page when pipelineSpec is v2. Fix #6303 (#6318)
* feat(frontend): Show V2 PipelineDetail page when pipelineSpec is v2

* fix v1v2 decision logic

* fix test
2021-08-17 22:19:37 -07:00
dependabot[bot] a6989947c5
chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /frontend/server (#6289)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-17 21:30:37 -07:00
James Liu 3e83f32e39
feat(frontend): Support v2 HTML/Markdown visualization. Fix #3970 (#6367)
* feat(frontend): Support v2 HTML/Markdown visualization.

* improve

* shorter name
2021-08-17 21:24:37 -07:00
James Liu 0802f95585
feat(frontend): Add KFPv2 and tutorial link in Get Started page. Partial #6306 (#6337)
* feat(frontend): Add KFPv2 and tutorial link in Get Started page

* address comment

* fix test

* apply change
2021-08-17 01:56:42 -07:00
James Liu 1828768f53
fix(frontend): Maximize width of HTML visualization. Partial #6296 (#6319) 2021-08-15 19:02:05 -07:00
James Liu f6540c5b25
chore(frontend): Change from `name` to `display_name` for visualization. Fix #6346 (#6347)
* fix(frontend): Change from name to display_name for visualization

* update test
2021-08-13 17:57:04 -07:00
James Liu 9a2c98a8c1
chore(frontend): Use `gs://` instead of `gcs://` for artifact link text. Fix #6308 (#6334) 2021-08-13 00:57:54 -07:00
James Liu 6f4a4f1f83
chore(frontend): Add storybook for component driven UI development and documentation. Fix #6283 (#6284)
* Add storybook for component oriented UI development and documentation

* chore(frontend): Integrate with tailwindcss

* merge

* adjust UI and fix for comment

* execution node stories

* Comment for why we keep storybook under src/

* resolve build issue

* npm run format
2021-08-11 17:45:01 -07:00
James Liu 579e46b840
feat(frontend): Convert PipelineSpec to Staticflow for V2 pipeline. Fix #6270 (#6278)
* chore(frontend): Use protoc to compile IR to typescript definition

* feat(frontend): Convert PipelineSpec to Staticflow for V2 pipeline.

* address comment
2021-08-10 22:45:25 -07:00
Gerard Casas Saez 62a41812c1
chore(frontend): Fix gen license issues for master (#6286)
* add license for warchpack-chokidar

ignore dep-licenses

revert changes in package.json

* add missing licenses

* remove generated files

* remove temporary files after being created locally
2021-08-10 18:10:25 -07:00
James Liu 1feb9a0c41
chore(frontend): Use protoc to compile IR to typescript definition. Fix #6272 (#6273) 2021-08-10 02:38:24 -07:00
James Liu b3937cf901
chore(frontend): Integrate with tailwindcss. Fix #6264 (#6265)
* chore(frontend): Integrate with tailwindcss

* adjust UI and fix for comment

* fix tailwind car
2021-08-09 10:00:27 -07:00
James Liu 6c8309d644
feat(frontend): Prepare PipelineDetailPage to show different contents based on V1/V2 pipeline spec. Fix #6214 (#6258)
* chore(frontend): Mock v2 pipeline spec response.

* feat(frontend): Prepare PipelineDetailPage to show different contents based on V1/V2 pipeline spec

* remove ir pipeline button and routing path
2021-08-07 17:12:24 -07:00
James Liu 78c550ee11
chore(frontend): Mock one v2 pipeline spec response. Fix #6232 (#6233) 2021-08-05 19:14:49 -07:00
James Liu a94e92e530
feat(frontend): Select node using execution ID via router param in run detail page. Partial #5977 (#6218)
* feat(frontend): Select node using execution ID via router param in run detail page.

* revert test snapshot

* fix router test

* fix type casting

* fix test
2021-08-04 17:59:18 -07:00
James Liu 97b9bdb530
chore(frontend): Create script to build pipeline_spec with protobuf.js. Fix #6205 (#6206)
* chore(frontend): Create script to build pipeline_spec with protobuf.js

* fix generated location

* add Todo about shell script

* add readme for generating pipeline spec
2021-08-03 13:04:41 -07:00
James Liu 48040346af
fix(frontend): mock-backend didn't understand absolute path import in frontend/src/. Fix #6212 (#6213) 2021-08-03 11:50:41 -07:00
James Liu c6e6538f6b
chore(frontend): Create a secret page for managing frontend features visibility. Fix #6073 (#6217)
* feat(frontend): Create a secret page for managing frontend features visibility

* README

* fix test
2021-08-03 01:10:11 -07:00
James Liu 8a5e0677b8
feat(frontend): Introduce pipeline detail v2 page. Fix #6179 (#6180)
* pipeline detail v2

* create pipeline detail v2 page

* add data-testid
2021-07-30 12:59:36 -07:00
Luís Portela Afonso 7fa2433e96
fix(sorting): use array index as key for TableRow (#6115)
* fix(sorting): use array index as key for TableRow

* fixed keys values in snapshot test to match new ones
2021-07-28 19:35:18 -07:00
James Liu 4a21c449fd
chore(frontend): Integrate with reactflow for v2 DAG. Partial: #6126 (#6127)
* chore(frontend): Integrate with reactflow for v2 DAG

* fix test
2021-07-25 19:26:41 -07:00
James Liu 17f13736de
feat(frontend): Show cache icon for v2 compatible. Partial #5977 (#6117)
* feat(frontend): Show cache icon for v2 compatible

* log removed
2021-07-23 10:44:07 -07:00
James Liu e9ddb1fbe5
chore(frontend): Add feature flag mechanism to control v2 development. Partial #6073 (#6074)
* chore(frontend): Add feature flag mechanism to control v2 development

* address comment

* address comments
2021-07-23 09:55:09 -07:00
Yuan (Bob) Gong ee663d9593
chore(v2): standardize MLMD data model. Fixes #5669 (#6054)
* chore(v2): standardize MLMD data model

* change context type to system namespace

* update sdk snapshots

* fix go v2 tests

* update

* update v2 compat snapshots

* fix all samples

* fix must specify pipeline root

* add artifact display name

* add UI rendering of new fields

* fix sample tests

* let ui read artifact and execution names consistently

* fix samples

* fix frontend tests

* fix sample test

* fix last sample

* address feedback
2021-07-19 22:26:15 -07:00
James Liu c89ed71cf6
fix(frontend): Fix the enum iterator of tabs. Fix #6065 (#6077) 2021-07-18 21:57:15 -07:00
Kelvin S. do Prado 8dc170147d
fix(ui): fixes cron format go.doc link. Fixes #6068 (#6069)
* Add target=_blank to cron format go.doc link

* Use ExternalLink component to fix the cron link

* Remove unnecessary whitespace

Co-authored-by: Kelvin S. do Prado <kelvin.prado@luizalabs.com>
2021-07-18 20:44:16 -07:00
James Liu ce40a2e9a4
chore(visualization): Revert to tensorflow image because tfx image is too big. Fix #6053 (#6061)
* quit using tfx library for visualization

* revert to tensorflow

* fix read file issue on FE
2021-07-15 20:16:38 -07:00
James Liu 0ba947ce6a
feat(frontend): Clickable link consistent css styling. Fix #5315 (#6023)
* feat(frontend): Clickable link css update

* change color

* Update clickable items styling

* adjust execution list

* fix test

* fix test

* fix test

* implement row hover highlight for link
2021-07-15 13:36:38 -07:00
James Liu 3424809304
chore(frontend): fix s3 artifact structure for Argo 3.1+. Fix #5930 (#6039)
* fix s3 artifact structure

* Fix test
2021-07-15 01:44:51 -07:00
James Liu 290d201cdf
fix(frontend): TFX artifact visualization update. Fix tensorflow/tfx#3933 (#5999)
* fix(frontend): TFX artifact visualization update

* revert requirements change

* docker image change

* outputartifact adjust

* comment unused

* statisticGen fix

* sync config

* fix teest
2021-07-13 12:47:58 -07:00
James Liu ad419cd63d
fix(frontend): Update service account RBAC link (#6003)
* fix(frontend): Update service account RBAC link

* update test
2021-07-09 16:48:23 -07:00
Yuan (Bob) Gong 40491d2d8c
chore: record artifact state & render state on resource details. Fixes #5789 (#5970)
* chore: record artifact state & render state on resource details

* update tests

* address comments
2021-07-09 00:31:23 -07:00
Joe Liedtke ade34542e0
chore: Updates argoproj/argo URLs to argoproj/argo-workflows (#5969)
* Updt argoproj/argo URLs to argoproj/argo-workflows

* Update link to workflows.ts

* Update license.txt to reduce # of changed lines

* Revert changes to backend Dockerfile & license.txt

* Update license.txt, keep line endings
2021-07-06 21:52:20 -07:00
James Liu df1ab4db5e
feat(frontend): Support v1 visualizations in v2 compatible mode. Partial #5666 (#5961)
* feat(frontend) Support v1 metrics in v2 compatible mode

* address comments

* address
2021-07-04 23:34:50 -07:00
James Liu 647bed72a9
chore(frontend): Migrate kubeflow/frontend to KFP frontend. Fix #5705 (#5963)
* chore(frontend): Migrate kubeflow/frontend to KFP frontend

* address npm run format

* fix package.json and tests

* README and high level third_party protos

* move src/mlmd/generated to src/third_party/mlmd. remove protos

* npm run build:replace

* move MlmdUtils, change to abosolute path import

* README

* fix presubmit

* Update TestUtils.ts

* Update Utils.test.ts

* Update Utils.tsx

Co-authored-by: Yuan (Bob) Gong <4957653+Bobgy@users.noreply.github.com>
2021-07-03 04:16:49 -07:00
James Liu f5242666f6
feat(frontend): Support new artifact name retrival and hide MLMD tab in v2 pipeline. Fix #5675 (#5956) 2021-06-30 17:10:23 -07:00
James Liu 120da92d0c
feat(frontend) Support Input/Output from MLMD for V2-compatible. Fix #5670 (#5859)
* feat(frontend) Support Input/Output from MLMD for V2-compatible

* fix test

* address nit comments

* Artifact Preview component, use events to get artifact name.

* comment and UX rework

* downloadable link
2021-06-24 21:55:52 -07:00
dependabot[bot] e35b672e6b
chore(deps): bump handlebars from 4.7.6 to 4.7.7 in /frontend (#5613)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-23 01:20:32 -07:00
James Liu 739fa2fb40
chore(frontend): Update react-scripts to v4.0.3. Fix #5794 (#5898)
* chore(frontend) Update react-scripts to v4.0.3

* fix frontend test

* react-scripts remove exact restriction, workaround execution eslint issue

* organize import
2021-06-23 00:35:31 -07:00