feat: add explicit note organization setting

This commit is contained in:
lucaronin
2026-04-10 13:52:39 +02:00
parent 0e1d98a217
commit 7bc74432ac
20 changed files with 341 additions and 49 deletions

View File

@@ -201,6 +201,12 @@ describe('useCommandRegistry', () => {
expect(findCommand(result.current, 'archive-note')?.shortcut).toBeUndefined()
})
it('omits Inbox navigation when the explicit workflow is disabled', () => {
const config = makeConfig({ showInbox: false })
const { result } = renderHook(() => useCommandRegistry(config))
expect(findCommand(result.current, 'go-inbox')).toBeUndefined()
})
it('includes Give Feedback in the Settings group when available', () => {
const onOpenFeedback = vi.fn()
const config = makeConfig({ onOpenFeedback })