mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-22 18:30:09 +00:00
Add setting for default start page
This commit is contained in:
parent
228cd08a3e
commit
a6f1649e24
4 changed files with 16 additions and 1 deletions
|
|
@ -35,6 +35,7 @@ export const DEFAULT_GLOBAL_CONFIG: GlobalConfigState = {
|
|||
`,
|
||||
isOverlayIndicatorEnabled: false,
|
||||
customTheme: 'default',
|
||||
defaultStartPage: 0,
|
||||
},
|
||||
shortSyntax: {
|
||||
isEnableProject: true,
|
||||
|
|
|
|||
|
|
@ -165,5 +165,17 @@ export const MISC_SETTINGS_FORM_CFG: ConfigFormSection<MiscConfig> = {
|
|||
})),
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'defaultStartPage',
|
||||
type: 'select',
|
||||
defaultValue: 0,
|
||||
templateOptions: {
|
||||
label: T.GCF.MISC.DEFAULT_PROJECT /* TODO: add a label */,
|
||||
options: [
|
||||
{ label: T.G.TODAY_TAG_TITLE, value: 0 },
|
||||
{ label: T.G.INBOX_PROJECT_TITLE, value: 1 },
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ export type MiscConfig = Readonly<{
|
|||
isTrayShowCurrentCountdown?: boolean;
|
||||
isOverlayIndicatorEnabled?: boolean;
|
||||
customTheme?: string;
|
||||
defaultStartPage?: number;
|
||||
unsplashApiKey?: string | null;
|
||||
}>;
|
||||
|
||||
|
|
|
|||
|
|
@ -392,7 +392,8 @@
|
|||
"isShowTipLonger": false,
|
||||
"taskNotesTpl": "**How can I best achieve it now?**\n\n**What do I want?**\n\n**Why do I want it?**\n",
|
||||
"isOverlayIndicatorEnabled": false,
|
||||
"customTheme": "default"
|
||||
"customTheme": "default",
|
||||
"defaultStartPage": 0
|
||||
},
|
||||
"shortSyntax": {
|
||||
"isEnableProject": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue