-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Gauge] Editing any single config property causes all other config properties to become undefined #5985
Closed
3 of 7 tasks
Labels
Milestone
Comments
Closed
7 tasks
ozyx
added a commit
that referenced
this issue
Nov 15, 2022
- Perform a deep merge of old and new properties on Create/Edit properties actions
15 tasks
Testing Instructions
|
shefalijoshi
pushed a commit
that referenced
this issue
Nov 15, 2022
* fix(#5985): deep merge on create/edit properties - Perform a deep merge of old and new properties on Create/Edit properties actions * refactor(e2e): improve selector in appActions * test(e2e): add tests for gauges - test creating a non-default gauge (checks only for console errors) - test updating a gauge (checks only for console errors) * fix(e2e): use pluginFixtures for gauge tests * fix(e2e): prevent fail if testNotes is undefined
Verified Fixed: Testathon 11/17/2022 |
jvigliotta
pushed a commit
that referenced
this issue
Nov 30, 2022
* Bump version to `2.1.3` (#5973) * Preserve Gauge configuration changes on create/edit (#5986) * fix(#5985): deep merge on create/edit properties - Perform a deep merge of old and new properties on Create/Edit properties actions * refactor(e2e): improve selector in appActions * test(e2e): add tests for gauges - test creating a non-default gauge (checks only for console errors) - test updating a gauge (checks only for console errors) * fix(e2e): use pluginFixtures for gauge tests * fix(e2e): prevent fail if testNotes is undefined * Make the tree key unique (#5989) Co-authored-by: Shefali Joshi <[email protected]>
shefalijoshi
added a commit
that referenced
this issue
Dec 12, 2022
* Update version for sprint 2.1.1 * Basic changes (very draft) for multiple y axis for plots * Generalize additional axes model handling * [Plot] Set yKey on each plot series (#5790) * Set yKey on each model * Add a test * Update yaxis to be independent of mctplot * Fix yAxis ticks * Fix yAxisModel label * Add multiple y axes option for overlay plot. UI changes to display 2 y-axes * Fix Chart bug * Bump version to `2.1.3` (#5973) * Preserve Gauge configuration changes on create/edit (#5986) * fix(#5985): deep merge on create/edit properties - Perform a deep merge of old and new properties on Create/Edit properties actions * refactor(e2e): improve selector in appActions * test(e2e): add tests for gauges - test creating a non-default gauge (checks only for console errors) - test updating a gauge (checks only for console errors) * fix(e2e): use pluginFixtures for gauge tests * fix(e2e): prevent fail if testNotes is undefined * Make the tree key unique (#5989) * Refactor iterating over all yAxis while drawing to the viewport * Refactor code to remove hardcoding of yAxisIds * style: auto-fix lint errors * Remove configurability of number of y axes. Use yAxisIds from Series to show/hide axes. Adds test for multiple y axis display * Add more tests for when only 1 axis needs to be displayed * Address code review comments: Move styles to computed properties Refactor yAxes rendering in MctPlot to also include main y axis. * Address review comments. Refactor plot configuration code for additiona y axes and reset the chart only for series that belong to the yaxis that has changed. * Fix bug where only the first series for a given yAxis was rendering * Refactor code to reuse method logic, move const and use cap case * Only draw highlights for the given yAxis * Only draw rectangles for the yAxis the series belongs to Co-authored-by: Khalid Adil <[email protected]> Co-authored-by: Jesse Mazzella <[email protected]> Co-authored-by: Jesse Mazzella <[email protected]>
ozyx
added a commit
that referenced
this issue
Dec 28, 2022
* Update version for sprint 2.1.1 * Basic changes (very draft) for multiple y axis for plots * Generalize additional axes model handling * [Plot] Set yKey on each plot series (#5790) * Set yKey on each model * Add a test * Update yaxis to be independent of mctplot * Fix yAxis ticks * Fix yAxisModel label * Add multiple y axes option for overlay plot. UI changes to display 2 y-axes * Fix Chart bug * Bump version to `2.1.3` (#5973) * Preserve Gauge configuration changes on create/edit (#5986) * fix(#5985): deep merge on create/edit properties - Perform a deep merge of old and new properties on Create/Edit properties actions * refactor(e2e): improve selector in appActions * test(e2e): add tests for gauges - test creating a non-default gauge (checks only for console errors) - test updating a gauge (checks only for console errors) * fix(e2e): use pluginFixtures for gauge tests * fix(e2e): prevent fail if testNotes is undefined * Make the tree key unique (#5989) * Refactor iterating over all yAxis while drawing to the viewport * Refactor code to remove hardcoding of yAxisIds * style: auto-fix lint errors * Remove configurability of number of y axes. Use yAxisIds from Series to show/hide axes. Adds test for multiple y axis display * Add more tests for when only 1 axis needs to be displayed * Address code review comments: Move styles to computed properties Refactor yAxes rendering in MctPlot to also include main y axis. * Address review comments. Refactor plot configuration code for additiona y axes and reset the chart only for series that belong to the yaxis that has changed. * Fix bug where only the first series for a given yAxis was rendering * Refactor code to reuse method logic, move const and use cap case * Only draw highlights for the given yAxis * Only draw rectangles for the yAxis the series belongs to Co-authored-by: Khalid Adil <[email protected]> Co-authored-by: Jesse Mazzella <[email protected]> Co-authored-by: Jesse Mazzella <[email protected]>
ozyx
added a commit
that referenced
this issue
Jan 20, 2023
* Update version for sprint 2.1.1 * Basic changes (very draft) for multiple y axis for plots * Generalize additional axes model handling * [Plot] Set yKey on each plot series (#5790) * Set yKey on each model * Add a test * Update yaxis to be independent of mctplot * Fix yAxis ticks * Fix yAxisModel label * Add multiple y axes option for overlay plot. UI changes to display 2 y-axes * Fix Chart bug * Bump version to `2.1.3` (#5973) * Preserve Gauge configuration changes on create/edit (#5986) * fix(#5985): deep merge on create/edit properties - Perform a deep merge of old and new properties on Create/Edit properties actions * refactor(e2e): improve selector in appActions * test(e2e): add tests for gauges - test creating a non-default gauge (checks only for console errors) - test updating a gauge (checks only for console errors) * fix(e2e): use pluginFixtures for gauge tests * fix(e2e): prevent fail if testNotes is undefined * Make the tree key unique (#5989) * Refactor iterating over all yAxis while drawing to the viewport * Refactor code to remove hardcoding of yAxisIds * style: auto-fix lint errors * Remove configurability of number of y axes. Use yAxisIds from Series to show/hide axes. Adds test for multiple y axis display * Add more tests for when only 1 axis needs to be displayed * Address code review comments: Move styles to computed properties Refactor yAxes rendering in MctPlot to also include main y axis. * Address review comments. Refactor plot configuration code for additiona y axes and reset the chart only for series that belong to the yaxis that has changed. * Fix bug where only the first series for a given yAxis was rendering * Refactor code to reuse method logic, move const and use cap case * Only draw highlights for the given yAxis * Only draw rectangles for the yAxis the series belongs to Co-authored-by: Khalid Adil <[email protected]> Co-authored-by: Jesse Mazzella <[email protected]> Co-authored-by: Jesse Mazzella <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
When editing config properties of a gauge, all other properties become undefined causing the Gauge to go into a bad state and break.
Expected vs Current Behavior
Configuration properties should not be lost, Gauge should not break on property edit
Steps to Reproduce
Environment
Impact Check List
Additional Information
The text was updated successfully, but these errors were encountered: