Skip to content

Add CATEGORIES slot to PageSlot and include assignments in change token - #329

Merged
BarMal merged 4 commits into
masterfrom
feature/category-change-token
Jun 13, 2026
Merged

BarMal merged 4 commits into
masterfrom
feature/category-change-token

Conversation

@BarMal

@BarMal BarMal commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • PageSlot.CATEGORIES added to the enum and inserted between APPS and PINNED in DEFAULT_ORDER, so the category folder page is correctly classified by PageArranger, appears in the Settings → Pages drag-to-reorder carousel, and gets labels in PageLayoutPreviewModel
  • launcherChangeToken() now includes appCategoryAssignments() so auto-categorise and per-app category changes immediately trigger a re-render — the folder page appears/disappears live without restarting the launcher

Test plan

  • After running auto-categorise with grouping on, the Categories page appears in the spine immediately (no restart)
  • Settings → Pages carousel shows a "Categories" tile between Apps and Pinned
  • Dragging the Categories tile reorders it; the launcher respects the new position
  • Clearing all assignments (e.g. via Settings) causes the Categories page to disappear live

https://claude.ai/code/session_014SVjLmSTdqY3hSCrK59YFV


Generated by Claude Code

claude added 4 commits June 13, 2026 16:16
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
PageSlot.CATEGORIES joins the enum and DEFAULT_ORDER (between APPS and
PINNED), so the category folder page is correctly classified by
PageArranger, participates in user-configurable page ordering via the
Settings → Pages carousel, and gets a label/short-label in
PageLayoutPreviewModel.

launcherChangeToken() now includes appCategoryAssignments() so running
auto-categorise or assigning a category from a long-press immediately
triggers a re-render, making the folder page appear/disappear without
restarting the launcher.

https://claude.ai/code/session_014SVjLmSTdqY3hSCrK59YFV
@BarMal
BarMal merged commit 9d74f67 into master Jun 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants