Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:arrows_counterclockwise: Rebased from master

Alicia Sykese78bd07ced1d
diff --cc src/components/LinkItems/Item.vue
index dcc9ce49,645ccdaf..6a602396
--- a/src/components/LinkItems/Item.vue
+++ b/src/components/LinkItems/Item.vue
@@@ -50,10 -48,13 +50,16 @@@ import router from '@/router'
import Icon from '@/components/LinkItems/ItemIcon.vue';
import ItemOpenMethodIcon from '@/components/LinkItems/ItemOpenMethodIcon';
import StatusIndicator from '@/components/LinkItems/StatusIndicator';
+import EditItem from '@/components/InteractiveEditor/EditItem';
import ContextMenu from '@/components/LinkItems/ContextMenu';
+import StoreKeys from '@/utils/StoreMutations';
- import { localStorageKeys, serviceEndpoints, modalNames } from '@/utils/defaults';
++import { targetValidator } from '@/utils/ConfigHelpers';
+ import {
+ localStorageKeys,
+ serviceEndpoints,
++ modalNames,
+ openingMethod as defaultOpeningMethod,
+ } from '@/utils/defaults';
-import { targetValidator } from '@/utils/ConfigHelpers';
export default {
name: 'Item',
diff --cc src/utils/ConfigSchema.json
index 707dc060,8612ae2f..d842575f
--- a/src/utils/ConfigSchema.json
+++ b/src/utils/ConfigSchema.json
@@@ -75,25 -76,19 +75,39 @@@
"default": "default",
"description": "Which page to load by default, and on the base page or domain root. You can still switch to different views from within the UI"
},
+ "defaultOpeningMethod": {
++ "title": "Default Opening Method",
++ "type": "string",
+ "enum": [
+ "newtab",
+ "sametab",
+ "parent",
+ "top",
+ "modal",
+ "workspace"
+ ],
+ "default": "newtab",
+ "description": "The default opening method for items. Only used if no item.target is specified"
+ },
+ "statusCheck": {
+ "title": "Enable Status Checks",
+ "type": "boolean",
+ "default": false,
+ "description": "Displays an online/ offline status for each of your services"
+ },
+ "statusCheckInterval": {
+ "title": "Status Check Interval",
+ "type": "number",
+ "default": 0,
+ "description": "How often to recheck statuses. If set to 0, status will only be checked on page load"
+ },
+ "language": {
+ "title": "Language",
+ "type": "string",
+ "description": "The ISO code of your desired language, must have translations present, check docs for more info"
+ },
"theme": {
+ "title": "Theme",
"type": "string",
"default": "callisto",
"description": "A theme to be applied by default on first load",