Skip to content

Focus the UI and guard navigation during reconcile#2395

Draft
morgan-wowk wants to merge 1 commit into
mwowk/component-lineage-reconcile-canvasfrom
mwowk/component-lineage-reconcile-guard
Draft

Focus the UI and guard navigation during reconcile#2395
morgan-wowk wants to merge 1 commit into
mwowk/component-lineage-reconcile-canvasfrom
mwowk/component-lineage-reconcile-guard

Conversation

@morgan-wowk

Copy link
Copy Markdown

Description

Related Issue and Pull requests

Type of Change

  • Bug fix
  • New feature
  • Improvement
  • Cleanup/Refactor
  • Breaking change
  • Documentation update

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

Test Instructions

Additional Comments

@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

🎩 Preview

A preview build has been created at: mwowk/component-lineage-reconcile-guard/ae77162

morgan-wowk commented Jun 5, 2026

Copy link
Copy Markdown
Author

Keeps the user on task while reconciling:

- hides the editor menu bar (and its navigation escape hatches) plus the dock
  panels (reuses focus mode via the shared store, respecting the pages → shared
  dependency direction); the canvas, breadcrumbs and reconcile banner remain
- a useBlocker navigation guard intercepts any navigation that doesn't stay
  within the active reconcile session and shows a Tangle alert-dialog naming the
  destination with 'Return to reconcile' / 'Continue anyway'
- enableBeforeUnload covers refresh / tab close (browser-native)

Leaving via 'Continue anyway' exits reconcile mode and discards the staged,
unsaved change.
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