Repository navigation
fix(builder): keep in-page navigation lists visible while a route loads - #1576
Merged
Merged
Conversation
Settings channels/integrations accordion, the Analytics side rail and the ecommerce settings side list each link to sibling routes. The workspace-wide pending boundary treated those clicks as page changes and covered the whole page, including the list itself, with a skeleton. Each list is now marked data-local-navigation-pending so the boundary ignores it, and shows a LinkPendingSpinner (useLinkStatus) on the clicked entry. Co-Authored-By: Claude Opus 5.5 <[email protected]>
hello-jackytruong
referenced
this pull request
in hello-jackytruong/ChatWorkAI
Nov 22, 2026
…ds (#1576) Settings channels/integrations accordion, the Analytics side rail and the ecommerce settings side list each link to sibling routes. The workspace-wide pending boundary treated those clicks as page changes and covered the whole page, including the list itself, with a skeleton. Each list is now marked data-local-navigation-pending so the boundary ignores it, and shows a LinkPendingSpinner (useLinkStatus) on the clicked entry. Co-authored-by: Deathgiver <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #1574. Three in-page navigation lists link to sibling routes, and the workspace-wide pending boundary treated those clicks as page changes. The whole page, including the list itself, was covered by a skeleton:
RouteAccordionShell). For example, clicking Messenger / Instagram / TikTok on/settings/channels/whatsapp.AnalyticsNav).EcommerceSettingsSidebar).Changes
LinkPendingSpinnerincomponents/navigation-pending.tsx: rendered inside a<Link>, it shows a small spinner while that link's navigation is pending (useLinkStatus).data-local-navigation-pending, so the workspace-wide boundary ignores its links. The clicked entry shows the spinner instead, and the list, tab strip and inbox cards stay in place.blocktoflexso the spinner sits on the same line as the label.I checked every workspace layout for sub-navigation. All other tab strips (Flows/Tags, Keywords, Coupons, Products, Appointment calendars, Mini-apps, Minigames, Messenger/Instagram/WhatsApp settings) use
AppTab, which already handles this.Public API
Exempt from invariant 23: this is UI-only plumbing (navigation loading state).
Test plan
pnpm lintpnpm --filter builder check-typesvitest runinapps/builder: 1028 files pass/settings/channels/whatsapp→ click Messenger: the list stays and a spinner shows on the Messenger row🤖 Generated with Claude Code