mirror of
https://github.com/lingble/twenty.git
synced 2025-11-01 13:17:57 +00:00
* ESLint rule: const naming Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev> * Refactor according to review Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev> * refactor: Reverts changes on `twenty-server` Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev> Co-authored-by: v1b3m <vibenjamin6@gmail.com> --------- Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev>
58 lines
1.2 KiB
TypeScript
58 lines
1.2 KiB
TypeScript
import {
|
|
IconBuildingSkyscraper,
|
|
IconCheckbox,
|
|
IconSettings,
|
|
IconTargetArrow,
|
|
IconUser,
|
|
} from '@/ui/display/icon';
|
|
|
|
import { Command, CommandType } from '../types/Command';
|
|
|
|
export const COMMAND_MENU_COMMANDS: Command[] = [
|
|
{
|
|
id: 'go-to-people',
|
|
to: '/objects/people',
|
|
label: 'Go to People',
|
|
type: CommandType.Navigate,
|
|
firstHotKey: 'G',
|
|
secondHotKey: 'P',
|
|
Icon: IconUser,
|
|
},
|
|
{
|
|
id: 'go-to-companies',
|
|
to: '/objects/companies',
|
|
label: 'Go to Companies',
|
|
type: CommandType.Navigate,
|
|
firstHotKey: 'G',
|
|
secondHotKey: 'C',
|
|
Icon: IconBuildingSkyscraper,
|
|
},
|
|
{
|
|
id: 'go-to-activities',
|
|
to: '/objects/opportunities',
|
|
label: 'Go to Opportunities',
|
|
type: CommandType.Navigate,
|
|
firstHotKey: 'G',
|
|
secondHotKey: 'O',
|
|
Icon: IconTargetArrow,
|
|
},
|
|
{
|
|
id: 'go-to-settings',
|
|
to: '/settings/profile',
|
|
label: 'Go to Settings',
|
|
type: CommandType.Navigate,
|
|
firstHotKey: 'G',
|
|
secondHotKey: 'S',
|
|
Icon: IconSettings,
|
|
},
|
|
{
|
|
id: 'go-to-tasks',
|
|
to: '/tasks',
|
|
label: 'Go to Tasks',
|
|
type: CommandType.Navigate,
|
|
firstHotKey: 'G',
|
|
secondHotKey: 'T',
|
|
Icon: IconCheckbox,
|
|
},
|
|
];
|