Repository navigation
fix: restore bucket statistics display - #315
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The recreated cell component replaces the bucket link during refreshes or column updates, causing keyboard users to lose focus; a stable shared component is needed to preserve the link node.
1 open issue
What changed in this PR
Restores concise bucket statistics in Browser and bucket settings lists while keeping account usage parsing available for compatibility.
Changes:
- Displays bucket names and complete object-count and size values without scanner details.
- Removes scanner-specific presentation components and their tests.
- Updates regression coverage to verify complete statistics and the absence of scanner text on both list surfaces.
| File | Description |
|---|---|
tests/lib/bucket-usage-value.test.ts |
Removes tests for deleted scanner presentation components. |
tests/hooks/use-permissions-refresh.test.ts |
Replaces scanner assertions with concise statistics checks. |
components/buckets/usage-value.tsx |
Deletes scanner-aware usage, status, and notice components. |
components/buckets/name-cell.tsx |
Deletes the shared scanner-aware name cell. |
components/buckets/list.tsx |
Renders simple bucket links and complete statistics in settings lists. |
app/(dashboard)/browser/page.tsx |
Applies the same concise presentation to Browser. |
Review effort: Balanced
Member
Author
|
Addressed the review feedback in commit
The scanner status and progress presentation remains removed. |
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.

Description
Restore the bucket list presentation to the previous concise design.
objectsandsizevalues.--when a bucket has no statistics.The account usage parser remains available for data compatibility, while the list surfaces no longer render scanner progress.
Type of Change
Testing
All 1232 tests passed. TypeScript, ESLint and Prettier checks passed.
Checklist
Screenshots
Controlled static fixture captures show the visual rollback. The former progress-enhanced settings list is shown before the change, and the updated bucket list keeps the name-only column and uses
--for missing statistics after the change.Before
After
Related Issues
Closes #