Skip to content

FIX: remove sidebar filter #32485

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 28, 2025
Merged

FIX: remove sidebar filter #32485

merged 2 commits into from
Apr 28, 2025

Conversation

lis2
Copy link
Contributor

@lis2 lis2 commented Apr 28, 2025

Remove sidebar filter in favour of search.

In addition:

  • Search was moved up just below Dashboard;
  • Do not perform search when filter is empty;
  • Display "no results".

Screenshot 2025-04-28 at 12 37 38 pm
Screenshot 2025-04-28 at 12 37 59 pm
Screenshot 2025-04-28 at 12 38 12 pm

@github-actions github-actions bot added the i18n PRs which update English locale files or i18n related code label Apr 28, 2025
@lis2 lis2 requested a review from martin-brennan April 28, 2025 05:06
Remove sidebar filter in favour of search.

In addition:
- Search was moved up just below Dashboard;
- Do not perform search when filter is empty;
- Display "no results".
@lis2 lis2 force-pushed the remove-admin-sidebar-filter branch from c5cd260 to e3d3a9d Compare April 28, 2025 05:15
@@ -91,7 +101,9 @@ export default class AdminSearch extends Component {
changeSearchTerm(event) {
this.searchResults = [];
this.filter = event.target.value;
this.runSearch();
if (this.filter.length > 0) {
this.runSearch();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not directly related to this PR but I don't think we are debouncing search at all.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lis2 lis2 merged commit e3b35ff into main Apr 28, 2025
15 checks passed
@lis2 lis2 deleted the remove-admin-sidebar-filter branch April 28, 2025 07:57
lis2 added a commit that referenced this pull request Apr 29, 2025
In this PR we hide search input.

#32485

However, search input is much more intuitive. Therefore, input was brought back and opens modal on click. In addition, search link was removed.
lis2 added a commit that referenced this pull request Apr 29, 2025
In this PR we hide search input.

#32485

However, search input is much more intuitive. Therefore, input was brought back and opens modal on click. In addition, search link was removed.
lis2 added a commit that referenced this pull request Apr 29, 2025
In this PR we hide search input.

#32485

However, search input is much more intuitive. Therefore, input was brought back and opens modal on click. In addition, search link was removed.
lis2 added a commit that referenced this pull request Apr 29, 2025
In this PR we hide search input.

#32485

However, search input is much more intuitive. Therefore, input was brought back and opens modal on click. In addition, search link was removed.
lis2 added a commit that referenced this pull request Apr 29, 2025
In this PR we hide search input.

#32485

However, search input is much more intuitive. Therefore, input was brought back and opens modal on click. In addition, search link was removed.
lis2 added a commit that referenced this pull request Apr 29, 2025
In this PR we hide search input.

#32485

However, search input is much more intuitive. Therefore, input was brought back and opens modal on click. In addition, search link was removed.
lis2 added a commit that referenced this pull request Apr 30, 2025
In this PR we hide search input.

#32485

However, search input is much more intuitive. Therefore, input was brought back and opens modal on click. In addition, search link was removed.
lis2 added a commit that referenced this pull request May 1, 2025
In this PR we hide search input.

#32485

However, search input is much more intuitive. Therefore, input was brought back and opens modal on click. In addition, search link was removed.
lis2 added a commit that referenced this pull request May 1, 2025
In this PR we hide search input.

#32485

However, search input is much more intuitive. Therefore, input was
brought back and opens modal on click. In addition, search link was
removed.
lis2 added a commit that referenced this pull request May 21, 2025
In this PR, filter was removed and replaced by search.

#32485

However, moderator should still be able to filter sidebar. Also, plugins like `doc-category` should have filterable sidebar.
lis2 added a commit that referenced this pull request May 21, 2025
In this PR, filter was removed and replaced by search.

#32485

However, moderator should still be able to filter sidebar. Also, plugins like `doc-category` should have filterable sidebar.
lis2 added a commit that referenced this pull request May 21, 2025
In this PR, filter was removed and replaced by search.

#32485

However, moderator should still be able to filter sidebar. Also, plugins like `doc-category` should have filterable sidebar.
lis2 added a commit that referenced this pull request May 21, 2025
In this PR, filter was removed and replaced by search.

#32485

However, moderator should still be able to filter sidebar. Also, plugins like `doc-category` should have filterable sidebar.
lis2 added a commit that referenced this pull request May 22, 2025
In this PR, filter was removed and replaced by search.

#32485

However, moderator should still be able to filter sidebar. Also, plugins like doc-category should have filterable sidebar.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n PRs which update English locale files or i18n related code
Development

Successfully merging this pull request may close these issues.

2 participants