Keep apps menu alphabetically sorted

This commit is contained in:
David Heinemeier Hansson
2026-07-23 16:32:31 -07:00
parent 5d83402e75
commit 7798ed34b1
2 changed files with 21 additions and 0 deletions
+5
View File
@@ -109,6 +109,11 @@ assert(
'app library fallback icon index includes device icons'
)
assert(
/if \(active === "apps"\) \{[\s\S]*?rows\.sort\(function\(a, b\)/.test(menuQml),
'apps menu enforces alphabetical display order after provider refreshes'
)
const iconSourceMatch = appLibraryQml.match(/function iconSource\(icon\) \{([\s\S]*?)\n \}/)
assert(iconSourceMatch, 'app library iconSource function exists')
assert(