Repository navigation
revert(accounts): restore inline account filters (#7853) - #8120
Merged
Merged
Conversation
Revert 679a718 ("feat(accounts): compact account search and filters"), which moved the type / privacy / group filters behind a collapsed "More filters" panel on /admin/accounts. Polish on top of the revert: - Widen the privacy select (w-48) so "全部Privacy状态" / "All Privacy States" no longer truncates. - Narrow the search input to w-52 so all six controls fit on one row at 1440px. - Below sm, lay the filters out as a two-column grid that fills the width instead of fixed-width selects with a ragged edge.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
Reverts #7853 (commit 679a718). That PR moved the 类型 / 隐私 / 分组 filters on
/admin/accountsinto a collapsed "更多筛选" panel. This brings back the inline layout, where all five filters sit next to the search box, and fixes a few layout problems the old layout had.Changes
Revert of #7853
AccountTableFilters.spec.ts. It only tested the collapse panel.moreFilters/moreFiltersActivei18n keys (en, zh).lg:w-auto lg:flex-1class that feat(accounts): compact account search and filters #7853 added inAccountsView.vue.Layout fixes (
AccountTableFilters.vue)w-48, so "全部Privacy状态" / "All Privacy States" is no longer cut off.w-64tow-52, so all six controls fit on one row at 1440px. Before, the group select wrapped onto its own row.sm, the filters use a two-column grid that fills the width: search and group take a full row, the other four pair up. This replaces fixed-width selects that left a ragged right edge.Verification
vue-tsc: 0 errors.eslinton the changed component: passes.