Skip to content

fix: sort app grid icons by name#31

Merged
max-tet merged 1 commit into
mainfrom
fix/sort-app-grid-by-name
Jun 12, 2026
Merged

fix: sort app grid icons by name#31
max-tet merged 1 commit into
mainfrom
fix/sort-app-grid-by-name

Conversation

@ClaydeCode

Copy link
Copy Markdown
Contributor

Problem

App icons on the home grid had no defined order and jumped around. Apps arrive in arbitrary backend order via both the HTTP refresh (/core/protected/apps) and the apps_update websocket message, and the set_apps mutation stored that order verbatim.

Fix

Sort apps by name (localeCompare) inside the set_apps Vuex mutation, so every consumer sees a stable, name-ordered list regardless of update source.

Testing

  • Added a unit test asserting set_apps sorts by name (case-insensitive via localeCompare)
  • Full suite: 19/19 passing
  • ESLint: clean

🤖 Generated with Claude Code

Apps arrived in arbitrary backend order via both HTTP refresh and the
apps_update websocket message, so icons on the home grid had no stable
order and jumped around on every update. Sort in the set_apps mutation
so all consumers see a stable, name-ordered list.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@max-tet max-tet merged commit 89cf094 into main Jun 12, 2026
2 checks passed
@max-tet max-tet deleted the fix/sort-app-grid-by-name branch June 12, 2026 15:11
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