Skip to content

core: offer Reload in the read-only banner so the window picks up the change - #2265

Draft
HugoXK wants to merge 1 commit into
ThinkFlowLab:mainfrom
HugoXK:dev/2-readonly-banner-reload
Draft

HugoXK wants to merge 1 commit into
ThinkFlowLab:mainfrom
HugoXK:dev/2-readonly-banner-reload

Conversation

@HugoXK

@HugoXK HugoXK commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #2247

Owner: Dev2
Claim-Id: ae99f17f04c0438ca64d71ddcfa6f1e9
Branch: dev/2-readonly-banner-reload
Base: 03a1253
Tree: f49adb785114bdf40eb3e419a58658eeff2aedb4
Verified commit: 8fda22e
Pushed head: 8fda22e

Scope — the read-only sidebar banner (wide and rail forms) carries a Reload control outside the live region, and the client can ask for a fresh state answer that is applied even when the revision is unchanged, so a window that has become writable picks the change up without a page reload.

Files

  • core/src/client/sidebar.js — the button in both banner forms
  • core/src/client/sources.js, core/src/client/index.js — the fresh request and its in-flight guard
  • core/test/client-reload-state.test.js, core/test/sidebar-readonly-reload.test.js — the new cases
  • docs/subsystems/core-client.md, changelog.d/2247-readonly-banner-reload.fixed.md
  • core/client.js, patches/ds-bot/** — the generated bundle and mirrors

Readings attached at the final tip; this draft reserves the issue and requests no review.

@HugoXK
HugoXK force-pushed the dev/2-readonly-banner-reload branch from cc34ba4 to 8fda22e Compare November 3, 2026 04:51
@github-actions github-actions Bot added the risk:T1 Risk tier T1 (client, tests, generated files), set by the controller from the diff label Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:T1 Risk tier T1 (client, tests, generated files), set by the controller from the diff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

core: the read-only banner says to close the other window but the window has no way to reload and pick that up

1 participant