-
Notifications
You must be signed in to change notification settings - Fork 59
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: expand/collapse domain settings section #358
Conversation
Signed-off-by: Olga Nad <[email protected]>
…o fix-bar-chart-height Signed-off-by: Olga Nad <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #358 +/- ##
==========================================
+ Coverage 65.99% 66.01% +0.01%
==========================================
Files 402 402
Lines 8952 8962 +10
Branches 1574 1579 +5
==========================================
+ Hits 5908 5916 +8
- Misses 3044 3046 +2
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good.
Two comments:
- The easy way to see bar chart jumping - is applying filter to executions.
- It looks like you connected wrong Task issue in your PR description, it probably should be a flyteconsole #356 one?
@@ -69,6 +70,8 @@ describe('ProjectDashboard', () => { | |||
[sortQueryKeys.key]: executionSortFields.createdAt, | |||
}; | |||
|
|||
jest.spyOn(LocalCache, 'useLocalCache'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed? don't see where the function return or isCalled checked or mocked.
Looks like without it tests should also pass
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useLocalCache
was added to a child component DomainSettingsSection
and tests fail when parent tries to render a child
…o fix-bar-chart-height
Signed-off-by: Olga Nad <[email protected]>
paddingLeft: theme.spacing(1), | ||
paddingRight: theme.spacing(3), | ||
paddingTop: theme.spacing(1), | ||
minHeight: '135px', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added min height, so the chart is rendered inside the reserved space without any shifts of the content below it
# [0.50.0](http://github.com/lyft/flyteconsole/compare/v0.49.0...v0.50.0) (2022-04-08) ### Features * expand/collapse domain settings section ([#358](http://github.com/lyft/flyteconsole/issues/358)) ([fc048a6](http://github.com/lyft/flyteconsole/commit/fc048a668a89d44a3e4abd332e07274c83caa320))
🎉 This PR is included in version 0.50.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Signed-off-by: Olga Nad [email protected]
Type
Are all requirements met?
Complete description
BarChart
component to include title, so its styles are consistent across the app.BarChart
component used in the Timeline tab asTimelineChart
to avoid confusion with the above mentioned component.Domain Settings
title to match similar titles on the page.Tracking Issue
fixes flyteorg/flyte#356
Demos