Repository navigation
Add category folder page to the launcher spine - #328
Merged
Merged
Conversation
Settings → Apps and icons → Categories gains a "Manage categories" action that opens a dialog listing all categories with Enable/Disable, Up/Down, and Remove (custom-only) buttons, plus an "Add category" button for custom entries. LauncherSettings grows addCustomCategory, setCategoryEnabled, moveCategory, and removeCategory; removeCategory cleans up any app-category assignments that referenced the deleted category. https://claude.ai/code/session_014SVjLmSTdqY3hSCrK59YFV
When app grouping is enabled and at least one app has been assigned to a category, a dedicated "Categories" page appears in the spine between the app library and the pinned page. It shows one card per category (name + app count); tapping a card expands it via the focus overlay to display a scrollable app stack filtered to that category. New key CATEGORY_FOLDER_KEY in CalmTheme; new ChapterPage.categoryFolder() factory; LauncherUiPreferences gains appGroupingEnabled and hasAnyCategoryAssignments so ChapterPagePlanner can decide presence without extra parameters; CardStackStateKey gains categoryFolder() for stable scroll-position keys. https://claude.ai/code/session_014SVjLmSTdqY3hSCrK59YFV
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
Implementation notes
CalmTheme.CATEGORY_FOLDER_KEYandChapterPage.categoryFolder()follow the same pattern as all other page typesLauncherUiPreferencesgainsappGroupingEnabled+hasAnyCategoryAssignments(bothfalseby default, so existing tests are unaffected) soChapterPagePlannercan gate the page without needing settings accessCardStackStateKey.categoryFolder()gives stable scroll-position keys keyed to category ids + app countsTest plan
https://claude.ai/code/session_014SVjLmSTdqY3hSCrK59YFV
Generated by Claude Code