Skip to content

Conversation

@XFox111
Copy link
Owner

@XFox111 XFox111 commented Dec 19, 2025

Description

Added ability to hide/unhide collections.

  • Hidden collections will not be displayed in the list, unless "Show hidden" filter is toggled on
  • Hide/unhide button is located in collection's three-dot menu (under "Edit collection" menu option)
  • "Show hidden" filter is off by default
  • When "Show hidden" filter is on, hidden collections will have an icon before their titles to indicate that they are hidden

Resolves: #211

@XFox111 XFox111 added this to the Patch Tuesday. January 2025 milestone Dec 19, 2025
@XFox111 XFox111 self-assigned this Dec 19, 2025
Copilot AI review requested due to automatic review settings December 19, 2025 21:11
@XFox111 XFox111 added enhancement New feature or request user-interface javascript Pull requests that update javascript code labels Dec 19, 2025
@XFox111 XFox111 linked an issue Dec 19, 2025 that may be closed by this pull request
1 task
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements a feature to hide and unhide collections, allowing users to declutter their collection list while retaining access to hidden items through a toggle filter. The implementation adds a new optional hidden boolean property to the collection model, integrates hide/unhide actions into the collection menu, and provides filtering UI in the searchbar.

  • Added hidden property to CollectionItem model
  • Implemented hide/unhide toggle in collection three-dot menu with visual feedback
  • Added "Show hidden" filter checkbox in the filter menu (off by default to hide hidden collections)

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
models/CollectionModels.ts Added optional hidden boolean property to CollectionItem type
entrypoints/sidepanel/utils/filterCollections.ts Updated filtering logic to exclude hidden collections unless showHidden is true; added showHidden to filter type
entrypoints/sidepanel/layouts/collections/CollectionListView.tsx Added showHidden state management and wired it into filter callbacks
entrypoints/sidepanel/layouts/collections/SearchBar.tsx Updated props to pass showHidden state to FilterCollectionsButton
entrypoints/sidepanel/layouts/collections/FilterCollectionsButton.tsx Added "Show hidden" checkbox to filter menu with icon; updated callback signature to handle showHidden state
entrypoints/sidepanel/components/collections/CollectionMoreButton.tsx Added hide/unhide menu item with conditional icon and label based on current hidden state
entrypoints/sidepanel/components/collections/CollectionHeader.tsx Added eye-off icon indicator for hidden collections in the title area
locales/en.yml Added English translations for hide/unhide actions and show hidden filter
locales/es.yml Added Spanish translations
locales/it.yml Added Italian translations
locales/pl.yml Added Polish translations
locales/pt_BR.yml Added Brazilian Portuguese translations
locales/ru.yml Added Russian translations
locales/uk.yml Added Ukrainian translations
locales/zh_CN.yml Added Simplified Chinese translations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@XFox111
Copy link
Owner Author

XFox111 commented Dec 20, 2025

@lpoirothattermann hey! I've made the changes. Can you check if this is what you wanted?
Just download an artifact for your browser and follow sideloading instructions (note, that if you use Firefox, you'll need to edit id in manifest.json, otherwise it may mess with your data)

@lpoirothattermann
Copy link

@XFox111 hey! lgtm, thanks for the development, just tested it and it works great!

@XFox111 XFox111 merged commit 49444de into next Dec 20, 2025
4 checks passed
@XFox111 XFox111 deleted the hidden-collections branch December 20, 2025 12:23
@XFox111 XFox111 mentioned this pull request Jan 3, 2026
5 tasks
XFox111 added a commit that referenced this pull request Jan 3, 2026
* feat: add ability to hide collections #211 (#213)

* feat: add ability to hide collections #211

* fix: hide/unhide collection label is swapped

* fix: missing useCallback dependency

* fix: add selected tabs to existing collection adds all tabs in current window #215 (#216)

* fix: add selected tabs to existing collection adds all tabs in current window #215

* fix: force selected tabs only for adding tabs to groups

* feat: compact collection view (#214)

* feat: compact collection view #201

* loc: compact view localization

* fix(loc): missing "color" translation in edit dialog

* feat: add ability to edit saved tabs (#218)

* feat: adds option to edit saved tabs #217

* loc: translations for #217

* build(deps): Bump the react group with 2 updates (#221)

Bumps the react group with 2 updates: [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom).


Updates `react` from 19.2.1 to 19.2.3
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.2.3/packages/react)

Updates `react-dom` from 19.2.1 to 19.2.3
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.2.3/packages/react-dom)

---
updated-dependencies:
- dependency-name: react
  dependency-version: 19.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: react
- dependency-name: react-dom
  dependency-version: 19.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: react
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): Bump the deps group with 4 updates (#220)

Bumps the deps group with 4 updates: [@fluentui/react-components](https://github.com/microsoft/fluentui), [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js), [eslint](https://github.com/eslint/eslint) and [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint).


Updates `@fluentui/react-components` from 9.72.8 to 9.72.9
- [Release notes](https://github.com/microsoft/fluentui/releases)
- [Commits](https://github.com/microsoft/fluentui/compare/@fluentui/react-components_v9.72.8...@fluentui/react-components_v9.72.9)

Updates `@eslint/js` from 9.39.1 to 9.39.2
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/commits/v9.39.2/packages/js)

Updates `eslint` from 9.39.1 to 9.39.2
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v9.39.1...v9.39.2)

Updates `typescript-eslint` from 8.49.0 to 8.51.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.51.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: "@fluentui/react-components"
  dependency-version: 9.72.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: "@eslint/js"
  dependency-version: 9.39.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: eslint
  dependency-version: 9.39.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: typescript-eslint
  dependency-version: 8.51.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: deps
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump version from 3.2.3 to 3.3.0

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request javascript Pull requests that update javascript code user-interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add "Archive" feature

3 participants