-
Notifications
You must be signed in to change notification settings - Fork 8.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
fix: updating dashboard - initial save button state is "disabled" #196137
fix: updating dashboard - initial save button state is "disabled" #196137
Conversation
Pinging @elastic/appex-sharedux (Team:SharedUX) |
packages/content-management/content_editor/src/components/inspector_flyout_content.test.tsx
Show resolved
Hide resolved
packages/content-management/content_editor/src/components/editor_flyout_content.tsx
Show resolved
Hide resolved
e08a3f6
to
906af8a
Compare
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.
works well, thank you!
💛 Build succeeded, but was flaky
Failed CI StepsTest FailuresMetrics [docs]Async chunks
History
|
Starting backport for target branches: 8.x |
…astic#196137) ## Summary This PR fixes [[Dashboard] User can click on update dashboard even without changing anything](elastic#187800) issue. ## Change - When the flyout is open, the initial state of the button is `disabled`. - When there is a change made, the `disabled` state is removed. ![Screenshot 2024-10-14 at 15 21 28](https://github.com/user-attachments/assets/7f4a6234-959b-4779-bb4b-3f8bc221b3f2) ![Screenshot 2024-10-14 at 15 21 55](https://github.com/user-attachments/assets/24349b06-d6ee-4749-8981-d192eda8fd9d) (cherry picked from commit 0ead257)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…sabled" (#196137) (#196661) # Backport This will backport the following commits from `main` to `8.x`: - [fix: updating dashboard - initial save button state is "disabled" (#196137)](#196137) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Paulina Shakirova","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-17T10:39:42Z","message":"fix: updating dashboard - initial save button state is \"disabled\" (#196137)\n\n## Summary\r\n\r\nThis PR fixes [[Dashboard] User can click on update dashboard even\r\nwithout changing\r\nanything](#187800) issue.\r\n\r\n## Change\r\n\r\n- When the flyout is open, the initial state of the button is\r\n`disabled`.\r\n- When there is a change made, the `disabled` state is removed.\r\n\r\n![Screenshot 2024-10-14 at 15 21\r\n28](https://github.com/user-attachments/assets/7f4a6234-959b-4779-bb4b-3f8bc221b3f2)\r\n\r\n![Screenshot 2024-10-14 at 15 21\r\n55](https://github.com/user-attachments/assets/24349b06-d6ee-4749-8981-d192eda8fd9d)","sha":"0ead257ff4912218775a70484ac5754b4b3baa31","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:SharedUX","backport:prev-minor"],"title":"fix: updating dashboard - initial save button state is \"disabled\"","number":196137,"url":"https://github.com/elastic/kibana/pull/196137","mergeCommit":{"message":"fix: updating dashboard - initial save button state is \"disabled\" (#196137)\n\n## Summary\r\n\r\nThis PR fixes [[Dashboard] User can click on update dashboard even\r\nwithout changing\r\nanything](#187800) issue.\r\n\r\n## Change\r\n\r\n- When the flyout is open, the initial state of the button is\r\n`disabled`.\r\n- When there is a change made, the `disabled` state is removed.\r\n\r\n![Screenshot 2024-10-14 at 15 21\r\n28](https://github.com/user-attachments/assets/7f4a6234-959b-4779-bb4b-3f8bc221b3f2)\r\n\r\n![Screenshot 2024-10-14 at 15 21\r\n55](https://github.com/user-attachments/assets/24349b06-d6ee-4749-8981-d192eda8fd9d)","sha":"0ead257ff4912218775a70484ac5754b4b3baa31"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196137","number":196137,"mergeCommit":{"message":"fix: updating dashboard - initial save button state is \"disabled\" (#196137)\n\n## Summary\r\n\r\nThis PR fixes [[Dashboard] User can click on update dashboard even\r\nwithout changing\r\nanything](#187800) issue.\r\n\r\n## Change\r\n\r\n- When the flyout is open, the initial state of the button is\r\n`disabled`.\r\n- When there is a change made, the `disabled` state is removed.\r\n\r\n![Screenshot 2024-10-14 at 15 21\r\n28](https://github.com/user-attachments/assets/7f4a6234-959b-4779-bb4b-3f8bc221b3f2)\r\n\r\n![Screenshot 2024-10-14 at 15 21\r\n55](https://github.com/user-attachments/assets/24349b06-d6ee-4749-8981-d192eda8fd9d)","sha":"0ead257ff4912218775a70484ac5754b4b3baa31"}}]}] BACKPORT--> Co-authored-by: Paulina Shakirova <[email protected]>
Summary
This PR fixes [Dashboard] User can click on update dashboard even without changing anything issue.
Change
disabled
.disabled
state is removed.