-
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
[Share] Cleanup share model UI and warning logic #196401
Conversation
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.
Some notes about changes...
packages/kbn-reporting/public/share/share_context_menu/register_pdf_png_modal_reporting.tsx
Show resolved
Hide resolved
x-pack/plugins/lens/public/app_plugin/csv_download_provider/csv_download_panel_content.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/lens/public/app_plugin/csv_download_provider/csv_download_provider.tsx
Show resolved
Hide resolved
x-pack/plugins/lens/public/app_plugin/csv_download_provider/csv_download_provider.tsx
Show resolved
Hide resolved
x-pack/plugins/lens/public/app_plugin/csv_download_provider/csv_download_provider.tsx
Show resolved
Hide resolved
@elastic/appex-sharedux & @elastic/platform-design are you okay with these chagnes? |
Changes seem fine to me. CCing @ryankeairns, as I recall him being involved with the share modal in the past (though I may be mis-remembering). There's some additional wording and UX tweaks that I might recommend now that I'm looking at this closer, but I can create a separate issue for that. This looks like an improvement regardless. Thanks, @nickofthyme! |
+1 what Michael said. Thanks for tidying this up, |
@MichaelMarcialis if your updates are pretty minor I could add them to this PR. Just lmk, I still need to update a few tests. |
x-pack/plugins/lens/public/app_plugin/csv_download_provider/csv_download_provider.tsx
Show resolved
Hide resolved
x-pack/plugins/lens/public/app_plugin/csv_download_provider/csv_download_provider.tsx
Show resolved
Hide resolved
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.
Glad to see the cleanup of warning logic and unused components! I left a few comments that might help even more.
Thanks, @nickofthyme! I'm stuck wrapping up a few other priorities and it looks like I might have a few additional recommendations beyond wording, so let's do a separate issue. Will CC you on it when I get it written up. |
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.
All good to me, thanks the cleanup
src/plugins/share/public/components/tabs/export/export_content.tsx
Outdated
Show resolved
Hide resolved
Starting backport for target branches: 8.x |
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Page load bundle
History
|
cleanup share modal UI with better context around warnings and styles (cherry picked from commit 67de924)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…7532) # Backport This will backport the following commits from `main` to `8.x`: - [[Share] Cleanup share model UI and warning logic (#196401)](#196401) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Nick Partridge","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-23T20:29:35Z","message":"[Share] Cleanup share model UI and warning logic (#196401)\n\ncleanup share modal UI with better context around warnings and styles","sha":"67de9246a7d0f718e7aa97d8edbf569597964ebf","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor"],"title":"[Share] Cleanup share model UI and warning logic","number":196401,"url":"https://github.com/elastic/kibana/pull/196401","mergeCommit":{"message":"[Share] Cleanup share model UI and warning logic (#196401)\n\ncleanup share modal UI with better context around warnings and styles","sha":"67de9246a7d0f718e7aa97d8edbf569597964ebf"}},"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/196401","number":196401,"mergeCommit":{"message":"[Share] Cleanup share model UI and warning logic (#196401)\n\ncleanup share modal UI with better context around warnings and styles","sha":"67de9246a7d0f718e7aa97d8edbf569597964ebf"}}]}] BACKPORT--> Co-authored-by: Nick Partridge <[email protected]>
Summary
This PR does a number of cleanup tasks relating to the share modal and tabs, particularly related to the
export
tab contents. Changes include:Export
tab contenthelpText
andgenerateExportButton
, now does not change based on selected option.Links
tabwarnings
below dirty warning messageisDisabled
andshowRadios
DownloadPanelContent
component.See PR comments for more details
New changes demo
Zight.Recording.2024-10-15.at.12.27.33.PM.mp4
Checklist