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

feat(310): map task v1 visuals, supporting both old and new api #357

Merged
merged 3 commits into from
Apr 8, 2022

Conversation

anrusina
Copy link
Contributor

@anrusina anrusina commented Apr 7, 2022

Allow to support new MapTask structure, where individual logs are grouped by current phase status.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

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

Tracking Issue

fixes https://github.com/flyteorg/flyteconsole/issues/310

Complete description

Map tasks completed before Admin update have old look:
Screen Shot 2022-04-07 at 3 20 13 PM
Task completed after admin Update have new look:
Screen Shot 2022-04-07 at 1 41 57 PM

Added Storybook implementations:
Screen Shot 2022-04-07 at 1 44 04 PM
In storybook below you can see all possible data shown. Log items rendered as lighter black text - are the ones that don't yet have logs links assigned
Screen Shot 2022-04-07 at 1 40 05 PM

Signed-off-by: Nastya Rusina nastya@union.ai

Signed-off-by: Nastya Rusina <nastya@union.ai>
Signed-off-by: Nastya Rusina <nastya@union.ai>
@codecov
Copy link

codecov bot commented Apr 7, 2022

Codecov Report

Merging #357 (27d9838) into master (05592e3) will increase coverage by 0.00%.
The diff coverage is 70.93%.

@@           Coverage Diff           @@
##           master     #357   +/-   ##
=======================================
  Coverage   65.99%   65.99%           
=======================================
  Files         401      402    +1     
  Lines        8877     8952   +75     
  Branches     1543     1574   +31     
=======================================
+ Hits         5858     5908   +50     
- Misses       3019     3044   +25     
Impacted Files Coverage Δ
src/components/Entities/EntityDetailsHeader.tsx 0.00% <ø> (ø)
...utions/ExecutionDetails/Timeline/BarChart/utils.ts 95.74% <ø> (ø)
...ns/TaskExecutionsList/MapTaskExecutionListItem.tsx 39.47% <39.47%> (ø)
...xecutions/TaskExecutionsList/TaskExecutionLogs.tsx 95.23% <85.71%> (-4.77%) ⬇️
...ecutions/TaskExecutionsList/TaskExecutionsList.tsx 96.29% <88.88%> (-3.71%) ⬇️
...tions/ExecutionDetails/NodeExecutionTabs/index.tsx 69.23% <100.00%> (+1.66%) ⬆️
.../components/Executions/TaskExecutionsList/utils.ts 97.05% <100.00%> (+6.14%) ⬆️
...common/MapTaskExecutionsList/MapTaskStatusInfo.tsx 100.00% <100.00%> (ø)
src/flyteidl/index.ts 100.00% <100.00%> (ø)

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 05592e3...27d9838. Read the comment docs.

@anrusina anrusina marked this pull request as ready for review April 7, 2022 22:23
@anrusina anrusina requested review from olga-union, a team, ursucarina and jsonporter and removed request for a team April 7, 2022 22:23
Copy link
Contributor Author

@anrusina anrusina left a comment

Choose a reason for hiding this comment

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

Signed-off-by: Nastya Rusina <nastya@union.ai>
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.

🚢 🚢 🚢

@flyte-bot
Copy link
Collaborator

🎉 This PR is included in version 0.49.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.

[Mapping][TaskInfo] V.1 - Update Task details panel to include typed mapping tasks
3 participants