aboutsummaryrefslogtreecommitdiff
path: root/src/lib/CommandPalette/actions.ts
blob: acbc362913302728f9949649149e7ab0db42ef92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
export interface CommandPaletteAction {
  name: string;
  url: string;
  onClick?: () => void;
  preventDefault?: boolean;
  tags?: string[];
  actions?: CommandPaletteAction[];
}

export const defaultActions: CommandPaletteAction[] = [
  {
    name: 'Home',
    url: '/',
    tags: ['main', 'manga', 'anime', 'light', 'dashboard', 'start', 'begin', 'novels']
  },
  {
    name: 'Completed',
    url: '/completed',
    tags: ['finish', 'end', 'done', 'finish', 'end', 'done', 'anime', 'novels', 'manga']
  },
  {
    name: 'Subtitle Schedule',
    url: '/schedule',
    tags: ['anime', 'subs']
  },
  {
    name: 'hololive Schedule',
    url: '/hololive',
    tags: ['vtuber', 'youtube', 'virtual', 'twitch', 'stream']
  },
  {
    name: 'Character Birthdays',
    url: '/birthdays',
    tags: ['schedule', 'vtuber', 'date']
  },
  {
    name: 'New Releases',
    url: '/releases',
    tags: ['novels', 'manga', 'date', 'schedule', 'time']
  },
  {
    name: 'Settings',
    url: '/settings',
    tags: [
      'sync',
      'display',
      'hide',
      'panels',
      'motion',
      'accessibility',
      'notifications',
      'rss',
      'warning',
      'show',
      'links',
      'sort',
      'calculation',
      'cache',
      'clear',
      'debug',
      'language',
      'locale'
    ]
  },
  {
    name: 'My Profile',
    url: '/user',
    tags: ['user', 'me', 'settings']
  },
  {
    name: 'My Badge Wall',
    url: '/user?badges=1',
    tags: ['user', 'me', 'settings']
  }
];