Skip to content

fix(ui): add cancel navigation to resource and SQL editors - #1763

Open
Gordex2014 wants to merge 5 commits into
mainfrom
bugfix/1723-editor-navigation-r2
Open

Gordex2014 wants to merge 5 commits into
mainfrom
bugfix/1723-editor-navigation-r2

Conversation

@Gordex2014

@Gordex2014 Gordex2014 commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Creating a SearchParameter currently provides no Cancel action or back link. Add consistent Cancel navigation to standalone resource, SearchParameter, CompartmentDefinition, ViewDefinition, SQL Query, and SQL View editors, preserving the opening page and guarding unsaved edits. Keep Delete unavailable for new drafts until a saved resource is confirmed. SQL Export links carry the return destination.

This is a separate follow-up to #1745 on the same editor code. Its commits remain included until #1745 merges; the #1723 changes leave the Resources modal unchanged.

Closes #1723.

Validation

Build, 138 JavaScript unit tests, 31 targeted browser tests, and four modal compatibility checks passed. After syncing the corrected base, all-targets UI Clippy, formatting, the affected accordion test, and six SQL navigation tests also passed.

Visual evidence

Before and after — All surfaces · Desktop · Light

Evidence expires October 9, 2026 at 22:20 UTC. Resources modal and SQL Export screenshots are excluded.

@Gordex2014
Gordex2014 changed the base branch from bugfix/1720-repeating-element-labels to main October 3, 2026 01:12
@Gordex2014 Gordex2014 closed this Oct 3, 2026
@Gordex2014 Gordex2014 reopened this Oct 3, 2026
@codecov

codecov Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.48454% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
crates/ui/src/lib.rs 99.54% 1 Missing ⚠️
crates/ui/src/navigation.rs 99.31% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

…vigation-r2

# Conflicts:
#	crates/ui/assets/editor.js
#	crates/ui/src/sql_export.rs
#	crates/ui/templates/pages/sql-library.html
#	crates/ui/templates/pages/sql-view-definitions.html

This branch has not been deployed

No deployments
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.

ui(editor): no way to cancel when creating a new Search Parameter (no Cancel button or back link)

2 participants