Reorder remove to match

This commit is contained in:
David Heinemeier Hansson committed 2026-08-19 18:03:55 +02:00
1 parent b3ba358104
commit 3451719ca5
2 files changed
+25 -5

No files matched your search

+20
View File
@@ -289,6 +289,26 @@ assert(
&& defaultById['remove.browser.zen'].when === 'omarchy-pkg-present zen-browser-bin',
'menu still hides Remove rows for software that is not installed'
)
assertDeepEqual(
defaultItems
.filter(item => item.parent === 'remove')
.map(item => item.id),
[
'remove.package',
'remove.ai',
'remove.service',
'remove.development',
'remove.theme',
'remove.gaming',
'remove.browser',
'remove.webapp',
'remove.tui',
'remove.windows',
'remove.preinstalls',
'remove.security'
],
'menu orders Remove categories like their Install counterparts, followed by Remove-only categories'
)
assert(
defaultById['setup.security.passwordless-sudo'].action.includes('omarchy-sudo-passwordless'),
'menu places Passwordless Sudo under Setup > Security'