Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executions View #596

Merged
merged 102 commits into from
Oct 3, 2022
Merged

Executions View #596

merged 102 commits into from
Oct 3, 2022

Conversation

james-union
Copy link
Contributor

@james-union james-union commented Sep 26, 2022

Signed-off-by: James [email protected]

On the NodeExecutionsView, three tabs used the different data model and this prevented the future nodes not showing up on the NodeExecutionsTable despite the WorkflowGraph/Timeline showed up.
This PR refactors the data model/flow to three tabs (table, workflow, graph) as the same data.

Type

  • Bug Fix
  • Feature
  • Plugin
  • Chore

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

Right now, the ExecutionsTable & ExecutionsNodeViews tests are skipped to be considered after this PR is merged. There is a following up issue raised to fix those tests (flyteorg/flyte#604)

Tracking Issue

fixes flyteorg/flyte#603

anrusina and others added 30 commits May 17, 2022 18:05
Signed-off-by: Nastya Rusina <[email protected]>
Signed-off-by: Carina Ursu <[email protected]>

Co-authored-by: Carina Ursu <[email protected]>
* ci: move storybook related packages to top level
* ci: ensure that lint can be run in PR checks
* ci: allow to run tests linux setup

Signed-off-by: Nastya Rusina <[email protected]>
#436)

* ci: ensure unified tsconfig and remove mocks,test,stories from build
* ci: move certificates into certificate folder inside script

Signed-off-by: Nastya Rusina <[email protected]>
* fix: issue 398
* fix: prevent parent onclick event trigger

Signed-off-by: eugenejahn <[email protected]>
* fix: unable to view all the workflow versions

Signed-off-by: Carina Ursu <[email protected]>

* chore: cleanup

Signed-off-by: Carina Ursu <[email protected]>

Co-authored-by: Carina Ursu <[email protected]>
* chore(tsc): exclude test/stories/mock files only from build

Signed-off-by: Nastya Rusina <[email protected]>
* chore: support for StructuredDataSet Input/Output type

Signed-off-by: Carina Ursu <[email protected]>

* chore: add tests

Signed-off-by: Carina Ursu <[email protected]>

* chore: add package

Signed-off-by: Carina Ursu <[email protected]>

* chore: resolving local package issue

Signed-off-by: Carina Ursu <[email protected]>

* chore: yarn lock

Signed-off-by: Carina Ursu <[email protected]>

* chore: stories

Signed-off-by: Carina Ursu <[email protected]>

* chore: fix associative arrays in copy functionality

Signed-off-by: Carina Ursu <[email protected]>

* chore: fix scalar stories

Signed-off-by: Carina Ursu <[email protected]>

* chore: oops

Signed-off-by: Carina Ursu <[email protected]>

* chore: cleanup

Signed-off-by: Carina Ursu <[email protected]>

* chore: revert old viewer to original

Signed-off-by: Carina Ursu <[email protected]>

* chore: fix

Signed-off-by: Carina Ursu <[email protected]>

* chore: remove non-null assertion

Signed-off-by: Carina Ursu <[email protected]>

* chore: fix types

Signed-off-by: Carina Ursu <[email protected]>

* chore: cleanup

Signed-off-by: Carina Ursu <[email protected]>

* chore: fix tests

Signed-off-by: Carina Ursu <[email protected]>

* chore: fix test types

Signed-off-by: Carina Ursu <[email protected]>

* chore: cleanup

Signed-off-by: Carina Ursu <[email protected]>

* chore: cleanup

Signed-off-by: Carina Ursu <[email protected]>

* chore: cleanup

Signed-off-by: Carina Ursu <[email protected]>

* chore: cleanup

Signed-off-by: Carina Ursu <[email protected]>

Co-authored-by: Carina Ursu <[email protected]>
…scode setup properly (#458)

* chore: separate AppInfo
* chore: vscode properly understands @flyteconsole
* chore: add basics/locale entry
* test: add storybooks and tests
* test: fix istanbul test-coverage issue by binding babel versions

Signed-off-by: Nastya Rusina <[email protected]>
* ci: minimize babel presence

Signed-off-by: Nastya Rusina <[email protected]>
* fix: update node executions to display map tasks
* fix: update map task logs styles
* test: add/update unit tests
* fix: fix flickering and unnecessary re-renders

Signed-off-by: Olga Nad <[email protected]>
* ci: resolve docker build issues
* chore: remove unneeded changes

Signed-off-by: Nastya Rusina <[email protected]>
* chore: fix

Signed-off-by: Carina Ursu <[email protected]>

* chore: remove console

Signed-off-by: Carina Ursu <[email protected]>

* chore: add cherio o=to package

Signed-off-by: Carina Ursu <[email protected]>

* chore: add cherio o=to package

Signed-off-by: Carina Ursu <[email protected]>

* chore: fix start prod

Signed-off-by: Carina Ursu <[email protected]>

* chore: fix start prod

Signed-off-by: Carina Ursu <[email protected]>

* chore: cleanup

Signed-off-by: Carina Ursu <[email protected]>

* chore: cleanup

Signed-off-by: Carina Ursu <[email protected]>

Co-authored-by: Carina Ursu <[email protected]>
made the entities component become more generic that can support Workflow, Task, and others
added the inputs and outputs to task details page
added the versions table in task details page
added the version details page
added task details link in node side panel

Signed-off-by: eugenejahn <[email protected]>

Co-authored-by: Eugene Jahn <[email protected]>
* hotfix ci pipeline

Signed-off-by: Yuvraj <[email protected]>

* more changes

Signed-off-by: Yuvraj <[email protected]>

Co-authored-by: Yuvraj <[email protected]>
Copy link
Contributor

@olga-union olga-union left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks much better! Let's bring WorkflowGraph calls to the party in ExecutionTabContent and the structure should be solid!
Don't forget to checkout package files from this branch 😄

Signed-off-by: James <[email protected]>
Copy link
Contributor

@olga-union olga-union left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 🎉 🎉
There's still some clean-up to do, but no structural changes required. Let's get this PR merge-ready 🥳

jsonporter and others added 9 commits September 29, 2022 11:52
* progress

* Fixed

* Removed debug code

Signed-off-by: Jason Porter <[email protected]>

Signed-off-by: Jason Porter <[email protected]>
chore: enable deeplinks in development

Signed-off-by: Carina Ursu <[email protected]>

Signed-off-by: Carina Ursu <[email protected]>
Signed-off-by: James <[email protected]>
olga-union
olga-union previously approved these changes Sep 30, 2022
Copy link
Contributor

@olga-union olga-union left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@codecov
Copy link

codecov bot commented Sep 30, 2022

Codecov Report

Merging #596 (be571b2) into devmain (f8cb277) will decrease coverage by 5.84%.
The diff coverage is 22.37%.

@@             Coverage Diff             @@
##           devmain     #596      +/-   ##
===========================================
- Coverage    68.79%   62.95%   -5.85%     
===========================================
  Files          442      443       +1     
  Lines        10478    10478              
  Branches      1796     1799       +3     
===========================================
- Hits          7208     6596     -612     
- Misses        3270     3882     +612     
Impacted Files Coverage Δ
...Executions/ExecutionDetails/ExecutionNodeViews.tsx 29.26% <0.00%> (-68.21%) ⬇️
...ponents/Executions/Tables/nodeExecutionColumns.tsx 23.17% <0.00%> (-74.37%) ⬇️
...ns/ExecutionDetails/Timeline/ExecutionTimeline.tsx 22.53% <20.00%> (-1.33%) ⬇️
...mponents/Executions/Tables/NodeExecutionsTable.tsx 42.50% <21.05%> (-54.56%) ⬇️
...xecutions/ExecutionDetails/ExecutionTabContent.tsx 23.33% <23.33%> (ø)
.../components/Executions/Tables/NodeExecutionRow.tsx 30.00% <25.00%> (-70.00%) ⬇️
...nents/Executions/ExecutionDetails/ExecutionTab.tsx 64.28% <66.66%> (-6.49%) ⬇️
...ole/src/components/WorkflowGraph/WorkflowGraph.tsx 87.50% <100.00%> (+6.10%) ⬆️
...onsole/src/components/hooks/useConditionalQuery.ts 22.22% <0.00%> (-77.78%) ⬇️
.../src/components/Executions/nodeExecutionQueries.ts 18.66% <0.00%> (-71.34%) ⬇️
... and 46 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@olga-union olga-union changed the base branch from master to devmain September 30, 2022 22:25
@olga-union olga-union dismissed their stale review September 30, 2022 22:25

The base branch was changed.

@jsonporter jsonporter merged commit fcb3596 into devmain Oct 3, 2022
@jsonporter jsonporter deleted the james/executions-view branch October 3, 2022 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Preserve names when downloading files
10 participants