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!

πŸ“ Updated docs for workspace usage

Alicia Sykes6dd4678aa06a
diff --git a/docs/alternate-views.md b/docs/alternate-views.md
index 834302be..17158de9 100644
--- a/docs/alternate-views.md
+++ b/docs/alternate-views.md
@@ -23,9 +23,11 @@ This is the main page that you will land on when you first launch the applicatio
The workspace view displays your links in a sidebar on the left-hand side, and apps are launched inside an iframe without having to leave Dashy. This enables you to use all of your self-hosted apps from one place, and makes multi-tasking easy.
+The menu button at the top of the sidebar expands it to show app names and a search box. Apps you open are listed at the bottom of the sidebar, so you can switch back and forth, or close them. The page URL follows the app you're viewing, so you can bookmark or link to it, e.g. `/workspace?url=https://app-to-open/`.
+
You can specify a default app to be opened when you land on the workspace, by setting `appConfig.workspaceLandingUrl: https://app-to-open/`. If this app exists within your sections.items, then the corresponding section will also be expanded.
-You can also opt to keep previously opened websites/ apps open in the background, by setting `appConfig.enableMultiTasking: true`. This comes at the cost of performance, but does mean that your session with each app is preserved, enabling you to quickly switch between them.
+You can also opt to keep previously opened websites/ apps open in the background, by setting `appConfig.enableMultiTasking: true`. This comes at the cost of performance, but does mean that your session with each app is preserved, enabling you to quickly switch between them. Apps stay open until you close them from the open apps list.
<p align="center">
<b>Example of Workspace View</b><br>
diff --git a/docs/developing.md b/docs/developing.md
index ccb0da95..ddab59d7 100644
--- a/docs/developing.md
+++ b/docs/developing.md
@@ -281,10 +281,8 @@ Styleguides:
β”‚ β”‚ β”œβ”€β”€ Nav.vue # Navigation bar, includes a list of links
β”‚ β”‚ ╰── PageTitle.vue # Page title and sub-title, visible within the Header
β”‚ β”œβ”€β”€ Workspace # Components used for the multi-tasking/ Workspace view
-β”‚ β”‚ β”œβ”€β”€ MultiTaskingWeb.vue # When multi-tasking enabled, generates new iframe
β”‚ β”‚ β”œβ”€β”€ SideBar.vue # The left sidebar for the workspace view
β”‚ β”‚ β”œβ”€β”€ SideBarItem.vue # App item for the sidebar view
-β”‚ β”‚ β”œβ”€β”€ SideBarSection.vue # Collapsible collection of items within workspace sidebar
β”‚ β”‚ β”œβ”€β”€ WebContent.vue # Workspace iframe view, displays content of current app
β”‚ β”‚ ╰── WidgetView.vue # Workspace container for displaying widgets in main content
β”‚ β”œβ”€β”€ Widgets # Directory contains all custom widget components
diff --git a/docs/theming.md b/docs/theming.md
index 2f300b0f..a71aa8e0 100644
--- a/docs/theming.md
+++ b/docs/theming.md
@@ -197,6 +197,10 @@ You can target specific elements on the UI with these variables. All are optiona
- `--welcome-popup-text-color` - Text color for the welcome pop-up. Defaults to `--primary`
- `--side-bar-background` - Background color of the sidebar used in the workspace view. Defaults to `--background-darker`
- `--side-bar-color` - Color of icons and text within the sidebar. Defaults to `--primary`
+- `--side-bar-background-lighter` - Background of open sections and the search box in the sidebar. Defaults to `--background`
+- `--side-bar-item-background` - Background of sidebar items. Defaults to `--side-bar-background`
+- `--side-bar-item-color` - Color of sidebar items, and the active item's highlight. Defaults to `--side-bar-color`
+- `--workspace-web-content-background` - Background behind apps in the workspace view. Defaults to `--background`
- `--status-check-tooltip-background` - Background color for status check tooltips. Defaults to `--background-darker`
- `--status-check-tooltip-color` - Text color for the status check tooltips. Defaults to `--primary`
- `--code-editor-color` - Text color used within raw code editors. Defaults to `--black`
@@ -210,6 +214,8 @@ You can target specific elements on the UI with these variables. All are optiona
- `--outline-color` - Used to outline focused or selected elements
- `--curve-factor-navbar` - The border radius of the navbar. Usually this is greater than `--curve-factor`
- `--scroll-bar-width` - Width of horizontal and vertical scroll bars. E.g. `8px`
+- `--side-bar-width` - Width of the workspace sidebar. E.g. `3.5rem`
+- `--side-bar-width-expanded` - Width of the workspace sidebar when expanded. E.g. `14rem`
- `--item-group-padding` - Inner padding of sections, determines the width of outline. E.g. `5px`
- `--item-shadow` - Shadow for items. E.g. `1px 1px 2px #130f23`
- `--item-hover-shadow` - Shadow for items when hovered over. E.g. `1px 2px 4px #373737`