feat(settings): add option to hide category names in the notes list#1929
Open
MiMoHo wants to merge 1 commit into
Open
feat(settings): add option to hide category names in the notes list#1929MiMoHo wants to merge 1 commit into
MiMoHo wants to merge 1 commit into
Conversation
The All notes view shows each note's category as a second line, which reads Uncategorized on every single row for people who do not use categories at all. Add the user setting showCategoryInList with a switch in the app settings. The default keeps the current behavior of showing the category names. Fixes nextcloud#1888 Assisted-by: Claude Code:claude-fable-5 AI-assistant: Claude Code 2.1.187 (Claude Fable 5) Signed-off-by: MiMoHo <37556964+MiMoHo@users.noreply.github.com>
7803f24 to
85316f3
Compare
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.
Summary
The "All notes" view shows each note's category as a second line. For people who do not use categories at all, every single row reads Uncategorized, which adds noise without information (see #1888).
This adds a user setting "Show category names in the list of all notes" (
showCategoryInList) with a switch in the app settings.Fixes #1888
Testing
Verified in the browser (Chromium and WebKit): labels are shown by default, the switch hides and restores them live without a reload, and the choice is persisted per user.
🤖 AI (if applicable)
I reviewed and tested the changes myself.