Files
Folo/apps/desktop/layer/renderer/src/modules/command/command-manager.ts
T
Innei 75a0520faa feat: enhance subscription command handling and shortcuts
- Added new subscription commands for switching between tabs, improving user navigation.
- Updated hotkeys for switching views to utilize the new commands, enhancing user experience.
- Refactored command manager to include subscription commands, ensuring better integration.
- Updated localization for new shortcuts to provide clear user guidance.

This update aims to streamline subscription navigation and improve overall usability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-12 21:58:16 +08:00

23 lines
937 B
TypeScript

import { useRegisterEntryCommands } from "./commands/entry"
import { useRegisterEntryRenderCommand } from "./commands/entry-render"
import { useRegisterGlobalCommands } from "./commands/global"
import { useRegisterIntegrationCommands } from "./commands/integration"
import { useRegisterLayoutCommands } from "./commands/layout"
import { useRegisterListCommands } from "./commands/list"
import { useRegisterSettingsCommands } from "./commands/settings"
import { useRegisterSubscriptionCommands } from "./commands/subscription"
import { useRegisterTimelineCommand } from "./commands/timeline"
export const FollowCommandManager = () => {
useRegisterSettingsCommands()
useRegisterListCommands()
useRegisterEntryCommands()
useRegisterIntegrationCommands()
useRegisterGlobalCommands()
useRegisterLayoutCommands()
useRegisterTimelineCommand()
useRegisterEntryRenderCommand()
useRegisterSubscriptionCommands()
return null
}