Repository navigation
feat: consistent sorting for spaces and resources - #3432
Merged
Merged
Conversation
AlexAndBear
requested review from
JammingBen
and
a lite review from Copilot
September 23, 2026 08:19
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Synchronize table and tile sort fields and provide a user-facing accessible label for Status.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
Open (1)
What changed in this PR
Adds sortable Status columns for spaces, ordering enabled spaces before disabled ones in files and admin settings.
Changes:
- Adds shared status sorting based on
disabled. - Enables sorting for space tables only.
- Adds unit tests and updates snapshots.
| File | Summary |
|---|---|
packages/web-pkg/tests/unit/composables/sort/useSort.spec.ts |
Tests enabled/disabled status ordering. |
packages/web-pkg/tests/unit/components/FilesList/ResourceTable.spec.ts |
Tests sortable status behavior by resource type. |
packages/web-pkg/src/helpers/ui/resourceTable.ts |
Defines shared status sorting; the control needs a user-facing accessible label. |
packages/web-pkg/src/components/FilesList/ResourceTable.vue |
Enables status sorting for spaces only. |
packages/web-app-files/tests/unit/views/spaces/__snapshots__/Projects.spec.ts.snap |
Updates the files spaces snapshot. |
packages/web-app-files/src/views/spaces/Projects.vue |
Adds status sorting; table-to-tile sort fields need synchronization. |
packages/web-app-admin-settings/tests/unit/components/Spaces/__snapshots__/SpacesList.spec.ts.snap |
Updates the admin spaces snapshot. |
packages/web-app-admin-settings/src/components/Spaces/SpacesList.vue |
Adds status sorting to admin spaces. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
AlexAndBear
marked this pull request as draft
September 23, 2026 08:29
AlexAndBear
marked this pull request as ready for review
September 23, 2026 08:53
JammingBen
approved these changes
Sep 23, 2026
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
Makes spaces sortable by status (enabled / disabled) and makes the sort options for spaces and resources consistent.
resourceTableSortFields,spaceTableSortFields, chosen by resource type) and tiles (resourceTilesSortFields,spaceTilesSortFields)The
sortFieldsexport ofweb-pkgis deprecated in favor ofresourceTilesSortFieldsandspaceTilesSortFields.Related Issue
How Has This Been Tested?
Types of changes