You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep tab href in sync with address-bar mode across navigation
Threads the active mode into ldh:AddTabNavBarListItem so newly created tabs
carry the current ?mode= in their @href, and updates the matching tab's @href
on every RDFDocumentLoad so it stays in lockstep with the pushed history
state. Tab click and close handlers now derive the navigation target from the
anchor's @href (parsed query string) instead of the bare data-uri, so the
preserved mode rides through to ldh:DocumentNavigate via the new query-params
parameter. Server-side layout.xsl wraps the first tab's @href in
ldh:href(..., ldh:build-query(ac:mode(root()))) so the initial render is
already mode-aware. Drops the now-redundant ixsl:contains(., 'dataset.uri')
guard from ldh:RenderTab since every tab li carries data-uri unconditionally.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
<!-- keep the matching tab's @href in lockstep with the address bar -->
829
+
<!-- $uri may carry a query string (e.g. /employees/8/?mode=X) when handlers fall back to $uri = $href for local URLs; data-uri is bare, so strip query before comparing -->
0 commit comments