feat(inspector): sortable maintainer actions + run-publint-all#166
Merged
Conversation
- Add sort modes (Depth / Migration rate / Latest released) for maintainer action groups, persisted via the `action-sort` URL hash param. - Sort maintainer filter chips by the number of action groups each maintainer is associated with (desc), with alphabetical tie-break. - Show the consumer's version-update indicator and publish-time badge in each group header; pass `display-version=false` to reuse VersionWithUpdates without duplicating the version already rendered by DisplayPackageSpec. - Clicking a group's package spec now also sets `selectedNode` so the package is highlighted across the rest of the UI. - Add a "Run Publint for all packages" action that runs publint across the filtered, non-workspace, non-private packages with a filepath; visible only on dynamic backends with publint enabled, and hidden once every candidate has cached results.
commit: |
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
OptionSelectGroupand persisted in the URL hash asaction-sort. "Latest released" sorts by the consumer package's own publish time.DisplayVersionWithUpdateswith newdisplay-version=falseprop) and publish-time badge; clicking the package spec also setsselectedNodeso it's highlighted elsewhere.fetchPublintMessagesacross pending candidates with a(done/total)progress label, and hides itself once everything is cached.Test plan
action-sortquery param.publint: true, click "Run Publint for all packages" and verify progress, cached short-circuit, and that the button disappears once all candidates are publinted.