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

chore: separate nodeDetailsPanel + add story for taskExecutionsList #351

Merged
merged 2 commits into from
Apr 4, 2022

Conversation

anrusina
Copy link
Contributor

@anrusina anrusina commented Apr 2, 2022

This PR adds a storybook for TaskExecutionsList, as a start point to adding new treatment for MapTasks.
I also separated NodeDetailsPanel - so we can add more stories in a more simple way in future.

Type

  • Bug Fix
  • Feature
  • Chore
  • Plugin

Are all requirements met?

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

Complete description

I received a JSON dump for mapped task representation, we would need to update some Figma UIs to be on par with it.
While code is still not pushed to Admin - we can update UI and track all navigations using new storybook features.
The easiest way to do so - is using storybook with JSON dumps.
This PR adds storybook representation for TaskExecutionsList which currently shows default version in JSON dump for regular PytonTask. The MapTask plan to be implemented in next step.

Screen Shot 2022-04-01 at 4 56 43 PM

Screen Shot 2022-04-01 at 4 56 50 PM

Tracking Issue

https://github.com/flyteorg/flyteconsole/issues/310 - prepares code to easier implementation

Signed-off-by: Nastya Rusina [email protected]

@anrusina anrusina requested review from a team, jsonporter and olga-union and removed request for a team April 2, 2022 00:16
Signed-off-by: Nastya Rusina <[email protected]>
@codecov
Copy link

codecov bot commented Apr 2, 2022

Codecov Report

Merging #351 (f82c07f) into master (ce1f113) will increase coverage by 0.09%.
The diff coverage is 77.27%.

@@            Coverage Diff             @@
##           master     #351      +/-   ##
==========================================
+ Coverage   65.38%   65.48%   +0.09%     
==========================================
  Files         394      395       +1     
  Lines        8774     8784      +10     
  Branches     1519     1520       +1     
==========================================
+ Hits         5737     5752      +15     
+ Misses       3037     3032       -5     
Impacted Files Coverage Δ
src/components/common/styles.ts 100.00% <ø> (ø)
...tions/ExecutionDetails/NodeExecutionTabs/index.tsx 67.56% <67.56%> (ø)
...cutionDetails/NodeExecutionDetailsPanelContent.tsx 92.00% <76.92%> (+4.32%) ⬆️
...nDetails/NodeExecutionTabs/NodeExecutionInputs.tsx 75.00% <100.00%> (ø)
...Details/NodeExecutionTabs/NodeExecutionOutputs.tsx 75.00% <100.00%> (ø)
...ecutions/TaskExecutionsList/TaskExecutionsList.tsx 100.00% <100.00%> (ø)
...ions/TaskExecutionsList/TaskExecutionsListItem.tsx 100.00% <100.00%> (ø)
.../components/Executions/TaskExecutionsList/utils.ts 90.90% <100.00%> (ø)
src/components/common/PanelSection/index.tsx 100.00% <100.00%> (ø)
src/models/Common/types.ts 100.00% <100.00%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ce1f113...f82c07f. Read the comment docs.

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 good!

@anrusina anrusina merged commit cb3c69b into master Apr 4, 2022
@anrusina anrusina deleted the narusina/story_taskExecutionsList branch April 4, 2022 17:14
@anrusina anrusina requested a review from a team April 4, 2022 17:25
@flyte-bot
Copy link
Collaborator

🎉 This PR is included in version 0.48.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

3 participants