Skip to content

Web console: make retention dialog clearer - #14793

Merged
vogievetsky merged 5 commits into
apache:masterfrom
vogievetsky:make_rules_ux_better
Aug 11, 2023
Merged

vogievetsky merged 5 commits into
apache:masterfrom
vogievetsky:make_rules_ux_better

Conversation

@vogievetsky

Copy link
Copy Markdown
Contributor

Small UX tweaks to the retention dialog around how the cluster default rules are presented

Form mode:

image

JSON mode:

image
  1. Render the default rules in the same way as the datasource rules just disabled
  2. when switching the the JSON view the defaults turn to read only JSON also to show, intuitively, that they are the "same type of thing"
  3. Added some explanatory text after the "Cluster defaults" label.

Comment thread web-console/src/dialogs/retention-dialog/retention-dialog.tsx Outdated
Co-authored-by: Suneet Saldanha <suneet@apache.org>

@suneet-s suneet-s left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 after CI. Thanks @vogievetsky !

@vogievetsky
vogievetsky merged commit b0c78ff into apache:master Aug 11, 2023
@vogievetsky
vogievetsky deleted the make_rules_ux_better branch August 11, 2023 16:43
@LakshSingla LakshSingla added this to the 28.0 milestone Oct 12, 2023
riovic918data pushed a commit to riovic918data/druid that referenced this pull request Jun 12, 2026
* make retention dialog clearer

* tweak

* another tweak

* Update web-console/src/dialogs/retention-dialog/retention-dialog.tsx

Co-authored-by: Suneet Saldanha <suneet@apache.org>

* update snapshot for copy

---------

Co-authored-by: Suneet Saldanha <suneet@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants