-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
dash/20756-edit-mode-change-event #21100
Conversation
File size comparisonSizes for compiled+gzipped (bold) and compiled files.
|
Lighthouse reportdashboards-demo-minimal.json
|
Visual test results - No difference found |
Dashboard visual diffsNo differences found |
Benchmark report - Dashboardsbenchmarks/Dashboards/DataPool-CSV-constructor.bench.ts
See all
benchmarks/Dashboards/DataTable-loading-columns.bench.ts
See all
benchmarks/Dashboards/DataTable-loading-rows.bench.ts
See all
|
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.
- Maskiis missing steps: edit component -> click outside of the sidebar -> click cancel
2. IMO clicking outside of the dashboard's container should not trigger the popup
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.
Nice work! Are docs unclear on the fact that not all changes will trigger events, such as component (not chart) options such as title? Possible to add support for these as well?
PS. Really nice(!) that components are updated when fields are unfocused!
In what case did you observe this, @stitot? My point was that events are always emitted when confirming or cancelling changes, regardless of the option type. I can't reproduce this, it seems to work here too. |
Hm, it work fine now, @vazonik . When I tried last time only chart options, not component, triggered the event. All good! |
Added edit mode events. Changed the way components are updated in edit mode. See #20756.
Closes #20756
TO DO: