net dashboard: keep node summary information visible before diagnostics - #798
Closed
Patrick W. Healy (phealy) wants to merge 1 commit into
Conversation
Keep summary metadata, health and freshness visible independently of the expiring diagnostic tables. Gate tab contents and pagination until explicit collection; retain the overview after failure or expiry. Cover the real dialog lifecycle in Chromium. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: d2243398-6c36-4c3d-969e-7ed7bfb5b459
This was referenced Sep 17, 2026
This was referenced Sep 17, 2026
Contributor
Author
|
This PR was mistaken churn from splitting the lightweight-status work into unnecessarily small PRs. That was my mistake, not a requirement from the user. Its changes are preserved in #766 within the user-approved, consolidated 12-PR draft stack. Closing this superseded PR; the implementation is not being discarded, and nothing has been merged into main. |
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.
Based on #797. Render Node Info, current summary health badges and update ages immediately when a node is selected. Keep the info pane visible during loading, failure and expiry; gate peer/route/BPF tables, counts, validation and pagination behind valid detailed data. Current summary metadata wins over older diagnostic metadata, without altering exported full JSON. Show last received status age in the node table.
Selection, tab changes and expiry never request diagnostics. The loaded/overview transition unmounts memoized heavy tables on expiry. Memoize the node projection so the freshness clock does not repeatedly rebuild diagnostic maps.
Validation: 24 frontend unit tests; native Chromium regression for the actual dialog including unloaded tabs, metadata, health, explicit load/refresh, failure, expiry and cleanup; TypeScript; Vite production build; scoped make fmt. Draft layer under 1,000 additions+deletions.
Lightweight status draft stack
Base: #745. Each layer targets the preceding branch and remains draft.
#746 -> #747 -> #748 -> #750 -> #751 -> #752 -> #753 -> #754 -> #755 -> #756 -> #757 -> #758 -> #759 -> #760 -> #761 -> #762 -> #763 -> #764 -> #765 -> #766 -> #767 -> #768 -> #769 -> #770 -> #771 -> #772 -> #773 -> #774 -> #775 -> #776 -> #777 -> #778 -> #779 -> #780 -> #781 -> #782 -> #783 -> #784 -> #785 -> #786 -> #787 -> #788 -> #789 -> #790 -> #791 -> #792 -> #793 -> #794 -> #795 -> #796 -> #797 -> #798 -> #799