Skip to content

feat: 7043 compact policy import preview dialog - #7044

Merged
Pyatakov merged 3 commits into
developfrom
feat/policy-preview-modal-ux
Oct 7, 2026
Merged

Pyatakov merged 3 commits into
developfrom
feat/policy-preview-modal-ux

Conversation

@Pyatakov

@Pyatakov Pyatakov commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Description

Rework the policy import preview dialog so large policies are readable without a long scroll.

  • Show the policy name, version and description in a compact summary with tag, creator and roles in one row
  • Replace the import mode radios with an inline segmented control and inline "Version of" selector
  • Group schemas, tools, schema templates, tokens, formulas and similar policies into collapsible sections with counts and chip lists
  • Flag tools and schema templates that need attention and keep their sections open
  • Expand all sections while the quick search has a query, via a new queryChange output on content-search
  • Add a tooltip explaining original policy modification tracking
  • Keep a single scroll area in the dialog body

Loom: https://www.loom.com/share/322872dbb7bc46a192d7eabc43d778d6

Closes #7043

@Pyatakov Pyatakov self-assigned this Sep 30, 2026
@Pyatakov Pyatakov changed the title feat: compact policy import preview dialog feat: 7043 compact policy import preview dialog Sep 30, 2026
@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Test Results

 33 files   66 suites   3m 15s ⏱️
 35 tests  35 ✅ 0 💤 0 ❌
173 runs  173 ✅ 0 💤 0 ❌

Results for commit c7a9bb3.

♻️ This comment has been updated with latest results.

@Pyatakov
Pyatakov force-pushed the feat/policy-preview-modal-ux branch from 49a4055 to 5d489e6 Compare October 1, 2026 20:12
@Pyatakov
Pyatakov marked this pull request as ready for review October 6, 2026 18:59
@Pyatakov
Pyatakov requested review from a team as code owners October 6, 2026 19:00
Large policies made the import preview a long single-column scroll.
Show a compact summary, an inline import mode bar and collapsible
sections with counts, and keep a single scroll area in the dialog.

Signed-off-by: Alex Piatakov <alex.piatakov@hashgraph.com>
Swap the copy icon for a check mark for 1.5s after copying, matching
the policy configurator and schema editor.

Signed-off-by: Alex Piatakov <alex.piatakov@hashgraph.com>
@Pyatakov
Pyatakov force-pushed the feat/policy-preview-modal-ux branch from 5d489e6 to a8f94d9 Compare October 6, 2026 19:03
The similar policies list was not accurate enough to be useful. Also
pluralise the attention badge ("2 need attention").

Signed-off-by: Alex Piatakov <alex.piatakov@hashgraph.com>
@Pyatakov
Pyatakov merged commit 17017f2 into develop Oct 7, 2026
19 checks passed
@Pyatakov
Pyatakov deleted the feat/policy-preview-modal-ux branch October 7, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant