Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] AdGuard Widget and QoL Improvments #685

Merged
merged 65 commits into from
Jun 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
ac72ad2
:pushpin: Updates yarn.lock (#669)
Lissy93 May 21, 2022
c8010f5
Merge branch 'master' of github.com:Lissy93/dashy
Lissy93 May 27, 2022
2d49f1c
:sparkles: Adds domain name monitor widget
Lissy93 May 28, 2022
c520d83
:memo: Adds docs for domain name monitor widget
Lissy93 May 28, 2022
bc43caa
:goal_net: Catch errors caused by null config (#682)
Lissy93 May 28, 2022
1778498
:star2: Re-shuffle showcase order
Lissy93 May 28, 2022
c81e6c6
:memo: Adds copy to clipboard to troubleshooting guide (#681)
Lissy93 May 28, 2022
afdd342
:star2: Adds missing author attributions
Lissy93 May 28, 2022
73935ed
:star2: Adds @Brewhack's awesome dash (#680)
Lissy93 May 28, 2022
c4d48d6
:sparkles: AdGuard block percent widget (#493)
Lissy93 May 29, 2022
71f8715
:zap: Removed unused CSS
Lissy93 May 29, 2022
86435fc
:sparkles: AdGuard filter list widget (#493)
Lissy93 May 29, 2022
8af15f6
:zap: Only render non-zero values to chart
Lissy93 May 29, 2022
226d958
:sparkles: AdGuard top domains widget (#493)
Lissy93 May 29, 2022
b5e5b56
:sparkles: AdGuard DNS info widget (#493)
Lissy93 May 29, 2022
53292f2
:sparkles: Adds new AdGuard widgets to base
Lissy93 May 29, 2022
59505a0
:passport_control: Adds auth to AdGuard widgets
Lissy93 May 29, 2022
76f22b0
:zap: Show total query and block count
Lissy93 May 30, 2022
9a0afd7
:zap: Remove unused computed val
Lissy93 May 30, 2022
2df49eb
:memo: Adds docs for AdGuard widgets (#493)
Lissy93 May 30, 2022
5c45f4f
Merge branch 'master' of github.com:Lissy93/dashy into FEATURE/minor-…
Lissy93 May 30, 2022
cf00211
:zap: Removes obsolete always-true null check
Lissy93 May 30, 2022
052fcfa
:goal_net: Catch error, if clipboard not enabled (#681)
Lissy93 May 31, 2022
18776bd
Add CheckItemVisibility util templated from CheckSectionVisibility
pinarruiz Jun 1, 2022
04774c2
Add displayData on items
pinarruiz Jun 1, 2022
c33e03f
Use item visibility to filterTiles
pinarruiz Jun 1, 2022
cd72ff0
Add visible section items
pinarruiz Jun 1, 2022
3bc80cf
Add comment
pinarruiz Jun 1, 2022
d170668
Fix: remove duplicate code
pinarruiz Jun 1, 2022
f13d252
Add basic documentation
pinarruiz Jun 2, 2022
dfd3aab
Fix typo on item.displayData and section.displayData for keycloak
pinarruiz Jun 2, 2022
9944356
Expand section hideForKeycloakUsers and showForKeycloakUsers to add item
pinarruiz Jun 2, 2022
82b2543
Fix anchor link
pinarruiz Jun 2, 2022
f470919
Add displayData to section.item
pinarruiz Jun 2, 2022
d0e25df
Add contents urls
pinarruiz Jun 2, 2022
8650b8c
Remove unused properties and fix descriptions
pinarruiz Jun 2, 2022
d57138d
Update yarn.lock
pinarruiz Jun 3, 2022
d470f5b
🔁 Merge pull request #698 from pinarruiz/fix/update-yarn-lock
Lissy93 Jun 3, 2022
48a367f
Merge branch 'Lissy93:master' into feature/extend-visibility-items
pinarruiz Jun 3, 2022
ef786db
🔀 Merge pull request #691 from pinarruiz/feature/extend-visibility-items
Lissy93 Jun 3, 2022
659d850
:pushpin: Updates yarn.lock (#669)
Lissy93 May 21, 2022
c8acd6e
:sparkles: Adds domain name monitor widget
Lissy93 May 28, 2022
fea51a1
:memo: Adds docs for domain name monitor widget
Lissy93 May 28, 2022
83dcc37
:goal_net: Catch errors caused by null config (#682)
Lissy93 May 28, 2022
d0721ce
:star2: Re-shuffle showcase order
Lissy93 May 28, 2022
218a76d
:memo: Adds copy to clipboard to troubleshooting guide (#681)
Lissy93 May 28, 2022
51abcf0
:star2: Adds missing author attributions
Lissy93 May 28, 2022
b974b68
:star2: Adds @Brewhack's awesome dash (#680)
Lissy93 May 28, 2022
7b99e90
:sparkles: AdGuard block percent widget (#493)
Lissy93 May 29, 2022
3a65d12
:zap: Removed unused CSS
Lissy93 May 29, 2022
072ebbd
:sparkles: AdGuard filter list widget (#493)
Lissy93 May 29, 2022
1c252cc
:zap: Only render non-zero values to chart
Lissy93 May 29, 2022
dcd72e7
:sparkles: AdGuard top domains widget (#493)
Lissy93 May 29, 2022
577de74
:sparkles: AdGuard DNS info widget (#493)
Lissy93 May 29, 2022
b931d4e
:sparkles: Adds new AdGuard widgets to base
Lissy93 May 29, 2022
f7bba80
:passport_control: Adds auth to AdGuard widgets
Lissy93 May 29, 2022
c823a2e
:zap: Show total query and block count
Lissy93 May 30, 2022
5c896fd
:zap: Remove unused computed val
Lissy93 May 30, 2022
1ad8995
:memo: Adds docs for AdGuard widgets (#493)
Lissy93 May 30, 2022
972e3f7
:zap: Removes obsolete always-true null check
Lissy93 May 30, 2022
ac97be2
:goal_net: Catch error, if clipboard not enabled (#681)
Lissy93 May 31, 2022
6ad582b
:pushpin: Updates yarn.lock
Lissy93 Jun 4, 2022
86f0892
🙄 Resolves conflicts
Lissy93 Jun 4, 2022
36eccc2
📌 Updates yarn.lock
Lissy93 Jun 4, 2022
9575090
🔖 Bumps to 2.1.0 and updates changelog
Lissy93 Jun 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## ✨ 2.0.9 Adds Multi-Page Support [PR #685](https://github.com/Lissy93/dashy/pull/685)
- Adds Widgets for AdGuard

## ✨ 2.0.9 Adds Multi-Page Support [PR #663](https://github.com/Lissy93/dashy/pull/663)
- Fix KeyCloak API URL (#564)
- Fix guest has config access (#590)
Expand Down
19 changes: 2 additions & 17 deletions .github/LATEST_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,2 @@
## ✨ 2.0.9 Adds Multi-Page Support [PR #663](https://github.com/Lissy93/dashy/pull/663)
- Fix KeyCloak API URL (#564)
- Fix guest has config access (#590)
- Fix collapsible content in multi-page support (#626)
- Fix layout and item size buttons ( #629)
- Refactor make request in RSS widget (#632)
- Fix material-design-icons header in schema (#640)
- Add option to hide seconds in clock widget (#644)
- Fix pageInfo not being read in router (#645)
- Fix startingView not honored (#646)
- Fix Status Check default (#651)
- Add option to hide image in SportsScores Widget (#654)
- Add Adventure-basic theme (#655)
- Write docs for sub-items (#657)
- Add Font-Awesome displaying as square to troubleshooting guide (#659)
- Show expand / collapse in context menu (#660)
- Only deploy new release when relevant files have changed
## ✨ 2.0.9 Adds Multi-Page Support [PR #685](https://github.com/Lissy93/dashy/pull/685)
- Adds Widgets for AdGuard
21 changes: 14 additions & 7 deletions docs/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ Once authentication is enabled, so long as there is no valid token in cookie sto
With authentication setup, by default no access is allowed to your dashboard without first logging in with valid credentials. Guest mode can be enabled to allow for read-only access to a secured dashboard by any user, without the need to log in. A guest user cannot write any changes to the config file, but can apply modifications locally (stored in their browser). You can enable guest access, by setting `appConfig.auth.enableGuestAccess: true`.

### Granular Access
You can use the following properties to make certain sections only visible to some users, or hide sections from guests.
- `hideForUsers` - Section will be visible to all users, except for those specified in this list
- `showForUsers` - Section will be hidden from all users, except for those specified in this list
- `hideForGuests` - Section will be visible for logged in users, but not for guests
You can use the following properties to make certain sections or items only visible to some users, or hide sections and items from guests.
- `hideForUsers` - Section or Item will be visible to all users, except for those specified in this list
- `showForUsers` - Section or Item will be hidden from all users, except for those specified in this list
- `hideForGuests` - Section or Item will be visible for logged in users, but not for guests

For Example:

Expand All @@ -71,7 +71,9 @@ For Example:
displayData:
hideForGuests: true
items:
...
- title: Hide Me
displayData:
hideForUsers: [alicia, bob]
```

### Permissions
Expand Down Expand Up @@ -149,9 +151,9 @@ appConfig:
Note that if you are using Keycloak V 17 or older, you will also need to set `legacySupport: true` (also under `appConfig.auth.keycloak`). This is because the API endpoint was updated in later versions.

### 4. Add groups and roles (Optional)
Keycloak allows you to assign users roles and groups. You can use these values to configure who can access various sections in Dashy.
Keycloak allows you to assign users roles and groups. You can use these values to configure who can access various sections or items in Dashy.
Keycloak server administration and configuration is a deep topic; please refer to the [server admin guide](https://www.keycloak.org/docs/latest/server_admin/index.html#assigning-permissions-and-access-using-roles-and-groups) to see details about creating and assigning roles and groups.
Once you have groups or roles assigned to users you can configure access under each sections `displayData.showForKeycloakUser` and `displayData.hideForKeycloakUser`.
Once you have groups or roles assigned to users you can configure access under each section or item `displayData.showForKeycloakUser` and `displayData.hideForKeycloakUser`.
Both show and hide configurations accept a list of `groups` and `roles` that limit access. If a users data matches one or more items in these lists they will be allowed or excluded as defined.
```yaml
sections:
Expand All @@ -161,6 +163,11 @@ sections:
roles: ['canViewDevResources']
hideForKeycloakUsers:
groups: ['ProductTeam']
items:
- title: Not Visible for developers
displayData:
hideForKeycloakUsers:
groups: ['DevelopmentTeam']
```

Depending on how you're hosting Dashy and Keycloak, you may also need to set some HTTP headers, to prevent a CORS error. This would typically be the `Access-Control-Allow-Origin [URL-of Dashy]` on your Keycloak instance. See the [Setting Headers](https://github.com/Lissy93/dashy/blob/master/docs/management.md#setting-headers) guide in the management docs for more info.
Expand Down
27 changes: 22 additions & 5 deletions docs/configuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ The following file provides a reference of all supported configuration options.
- [`keycloak`](#appconfigauthkeycloak-optional) - Auth config for Keycloak
- [**`sections`**](#section) - List of sections
- [`displayData`](#sectiondisplaydata-optional) - Section display settings
- [`show/hideForKeycloakUsers`](#sectiondisplaydatahideforkeycloakusers-and-sectiondisplaydatashowforkeycloakusers) - Set user controls
- [`show/hideForKeycloakUsers`](#sectiondisplaydatahideforkeycloakusers-sectiondisplaydatashowforkeycloakusers-itemdisplaydatahideforkeycloakusers-and-itemdisplaydatashowforkeycloakusers) - Set user controls
- [`icon`](#sectionicon-and-sectionitemicon) - Icon for a section
- [`items`](#sectionitem) - List of items
- [`icon`](#sectionicon-and-sectionitemicon) - Icon for an item
- [`displayData`](#itemdisplaydata-optional) - Item display settings
- [`show/hideForKeycloakUsers`](#sectiondisplaydatahideforkeycloakusers-sectiondisplaydatashowforkeycloakusers-itemdisplaydatahideforkeycloakusers-and-itemdisplaydatashowforkeycloakusers) - Set user controls
- [`widgets`](#sectionwidget-optional) - List of widgets
- [**Notes**](#notes)
- [Editing Config through the UI](#editing-config-through-the-ui)
Expand Down Expand Up @@ -224,9 +226,24 @@ For more info, see the **[Authentication Docs](/docs/authentication.md)**
**`color`** | `string` | _Optional_ | An optional color for the text and font-awesome icon to be displayed in. Note that this will override the current theme and so may not display well
**`backgroundColor`** | `string` | _Optional_ | An optional background fill color for the that given item. Again, this will override the current theme and so might not display well against the background
**`provider`** | `string` | _Optional_ | The name of the provider for a given service, useful for when including hosted apps. In some themes, this is visible under the item name
**`displayData`** | `object` | _Optional_ | Meta-data to optionally overide display settings for a given item. See [`displayData`](#itemdisplaydata-optional)

**[⬆️ Back to Top](#configuring)**


### `item.displayData` _(optional)_

**Field** | **Type** | **Required**| **Description**
--- | --- | --- | ---
**`hideForUsers`** | `string[]` | _Optional_ | Current item will be visible to all users, except for those specified in this list
**`showForUsers`** | `string[]` | _Optional_ | Current item will be hidden from all users, except for those specified in this list
**`hideForGuests`** | `boolean` | _Optional_ | Current item will be visible for logged in users, but not for guests (see `appConfig.enableGuestAccess`). Defaults to `false`
**`hideForKeycloakUsers`** | `object` | _Optional_ | Current item will be visible to all keycloak users, except for those configured via these groups and roles. See `hideForKeycloakUsers`
**`showForKeycloakUsers`** | `object` | _Optional_ | Current item will be hidden from all keycloak users, except for those configured via these groups and roles. See `showForKeycloakUsers`

**[⬆️ Back to Top](#configuring)**


### `section.widget` _(optional)_

**Field** | **Type** | **Required**| **Description**
Expand Down Expand Up @@ -259,7 +276,7 @@ For more info, see the **[Authentication Docs](/docs/authentication.md)**
**`showForUsers`** | `string[]` | _Optional_ | Current section will be hidden from all users, except for those specified in this list
**`hideForGuests`** | `boolean` | _Optional_ | Current section will be visible for logged in users, but not for guests (see `appConfig.enableGuestAccess`). Defaults to `false`
**`hideForKeycloakUsers`** | `object` | _Optional_ | Current section will be visible to all keycloak users, except for those configured via these groups and roles. See `hideForKeycloakUsers`
**`showForKeycloakUsers`** | `object` | _Optional_ | Current section will be hidden from all keyclaok users, except for those configured via these groups and roles. See `showForKeycloakUsers`
**`showForKeycloakUsers`** | `object` | _Optional_ | Current section will be hidden from all keycloak users, except for those configured via these groups and roles. See `showForKeycloakUsers`

**[⬆️ Back to Top](#configuring)**

Expand All @@ -271,12 +288,12 @@ For more info, see the **[Authentication Docs](/docs/authentication.md)**

**[⬆️ Back to Top](#configuring)**

### `section.displayData.hideForKeycloakUsers` and `section.displayData.showForKeycloakUsers`
### `section.displayData.hideForKeycloakUsers`, `section.displayData.showForKeycloakUsers`, `item.displayData.hideForKeycloakUsers` and `item.displayData.showForKeycloakUsers`

**Field** | **Type** | **Required**| **Description**
--- |------------| --- | ---
**`groups`** | `string[]` | _Optional_ | Current Section will be hidden or shown based on the user having any of the groups in this list
**`roles`** | `string[]` | _Optional_ | Current Section will be hidden or shown based on the user having any of the roles in this list
**`groups`** | `string[]` | _Optional_ | Current Section or Item will be hidden or shown based on the user having any of the groups in this list
**`roles`** | `string[]` | _Optional_ | Current Section or Item will be hidden or shown based on the user having any of the roles in this list

**[⬆️ Back to Top](#configuring)**

Expand Down
2 changes: 2 additions & 0 deletions docs/privacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ Dashy supports [Widgets](/docs/widgets.md) for displaying dynamic content. Below
- [IP-API Privacy Policy](https://ip-api.com/docs/legal)
- **[IP Blacklist](/docs/widgets.md#ip-blacklist)**: `https://api.blacklistchecker.com`
- [Blacklist Checker Privacy Policy](https://blacklistchecker.com/privacy)
- **[Domain Monitor](/docs/widgets.md#domain-monitor)**: `http://api.whoapi.com`
- [WhoAPI Privacy Policy](https://whoapi.com/privacy-policy/)
- **[Crypto Watch List](/docs/widgets.md#crypto-watch-list)** and **[Token Price History](/docs/widgets.md#crypto-token-price-history)**: `https://api.coingecko.com`
- [CoinGecko Privacy Policy](https://www.coingecko.com/en/privacy)
- **[Wallet Balance](/docs/widgets.md#wallet-balance)**: `https://api.blockcypher.com/`
Expand Down
88 changes: 48 additions & 40 deletions docs/showcase.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,53 +10,78 @@
---

### Ratty222
> By [@ratty222](https://github.com/ratty222) <sup>[#384](https://github.com/Lissy93/dashy/discussions/384)</sup>
> By [@ratty222](https://github.com/ratty222) <sup>Re: [#384](https://github.com/Lissy93/dashy/discussions/384)</sup>

![screenshot-ratty222-dashy](https://user-images.githubusercontent.com/1862727/147582551-4c655d37-8bcc-4f95-ab41-164a9d0d6a07.png)

---

### Hugalafutro Dashy
> By [@hugalafutro](https://github.com/hugalafutro) <sup>[#505](https://github.com/Lissy93/dashy/discussions/505)</sup>
> By [@hugalafutro](https://github.com/hugalafutro) <sup>Re: [#505](https://github.com/Lissy93/dashy/discussions/505)</sup>

[![hugalafutro-dashy-screenshot](https://i.ibb.co/PDpLDKS/hugalafutro-dashy.gif)](https://i.ibb.co/PDpLDKS/hugalafutro-dashy.gif)

---

### Networking Services
> By [@Lissy93](https://github.com/lissy93)
### NAS Home Dashboard
> By [@cerealconyogurt](https://github.com/cerealconyogurt) <sup>Re: [#74](https://github.com/Lissy93/dashy/issues/74)</sup>

![screenshot-networking-services](https://github.com/raw/Lissy93/dashy/master/docs/showcase/2-networking-services-minimal-dark.png)
![screenshot-networking-services](https://github.com/raw/Lissy93/dashy/master/docs/showcase/6-nas-home-dashboard.png)

---

### Brewhack

> By [@brpeterso](https://github.com/brpeterso) <sup>Re: [#680](https://github.com/Lissy93/dashy/issues/680)</sup>

![screenshot-brewhack-dashboard](https://i.ibb.co/cNjzPT4/brewhack.png)

---

### The Private Dashboard

> By [@DylanBeMe](https://github.com/DylanBeMe) <sup>Re: [#419](https://github.com/Lissy93/dashy/issues/419)</sup>

![screenshot-private-dashboard](https://i.ibb.co/hKS483T/private-dashboard-Dylan-Be-Me.png)

---

### Homelab & VPS dashboard
> By [@shadowking001](https://github.com/shadowking001)
> By [@shadowking001](https://github.com/shadowking001) <sup>Re: [#86](https://github.com/Lissy93/dashy/issues/86)</sup>

![screenshot-shadowking001-dashy](https://github.com/raw/Lissy93/dashy/master/docs/showcase/8-shadowking001s-dashy.png)

---

### EVO Dashboard
### Raspberry PI Docker Dashboard

> By [@EVOTk](https://github.com/EVOTk)
> By [@henkiewie](https://github.com/henkiewie) <sup>Re: [#622](https://github.com/Lissy93/dashy/issues/622)</sup>

![screenshot-evo-dashboard](https://github.com/raw/Lissy93/dashy/master/docs/showcase/12-evo-dashboard.png)
> I use this dashboard every day. It now even includes a player for a radio stream which I configured with Logitech media server and icecast. I made an smaller version of the grafana dashboard to fit an iframe in kiosk mode, so it monitors the most important values of my RPI. The PI is in Argon m2 case and used as a NAS. The dashboard is a copy of the adventure theme with some changes saved in `/app/src/styles/user-defined-themes.scss`

![screenshot-henkiewie-dashy](https://i.ibb.co/jGzPm6b/henkiewie-dashy-showcase.png)

---

### The Private Dashboard
### First Week of Self-Hosting
> By [u//RickyCZ](https://www.reddit.com/user/RickyCZ) <sup>via [Reddit](https://www.reddit.com/r/selfhosted/comments/pose15/just_got_started_a_week_ago_selfhosting_is_very/)</sup>

> By [@DylanBeMe](https://github.com/DylanBeMe) <sup>[#419](https://github.com/Lissy93/dashy/issues/419)</sup>
![screenshot-week-of-self-hosting](https://github.com/raw/Lissy93/dashy/master/docs/showcase/11-ricky-cz.png)

---

### EVO Dashboard

> By [@EVOTk](https://github.com/EVOTk) <sup>Re: [#316](https://github.com/Lissy93/dashy/pull/316)</sup>

![screenshot-evo-dashboard](https://i.ibb.co/hKS483T/private-dashboard-Dylan-Be-Me.png)
![screenshot-evo-dashboard](https://raw.githubusercontent.com/Lissy93/dashy/master/docs/showcase/12-evo-dashboard.png)

---

### NAS Home Dashboard
> By [@cerealconyogurt](https://github.com/cerealconyogurt)
### Networking Services
> By [@Lissy93](https://github.com/lissy93)

![screenshot-networking-services](https://github.com/raw/Lissy93/dashy/master/docs/showcase/6-nas-home-dashboard.png)
![screenshot-networking-services](https://github.com/raw/Lissy93/dashy/master/docs/showcase/2-networking-services-minimal-dark.png)

---

Expand Down Expand Up @@ -108,16 +133,9 @@

---

### First Week of Self-Hosting
> By [u//RickyCZ](https://www.reddit.com/user/RickyCZ)

![screenshot-week-of-self-hosting](https://github.com/raw/Lissy93/dashy/master/docs/showcase/11-ricky-cz.png)

---

### HomeLAb 3.0

> By [@skoogee](https://github.com/skoogee) (http://zhrn.cc)
> By [@skoogee](https://github.com/skoogee) (http://zhrn.cc) <sup>[#279](https://github.com/Lissy93/dashy/issues/279)</sup>

> Dashy, is the most complete dashboard I ever tried, has all the features, and it sets itself apart from the rest. It is my default homepage now. I am thankful to the developer @Lissy93 for sharing such a wonderful creation.

Expand All @@ -126,19 +144,12 @@
---

### Ground Control
> By [@dtctek](https://github.com/dtctek)
> By [@dtctek](https://github.com/dtctek) <sup>Re: [#83](https://github.com/Lissy93/dashy/issues/83)</sup>

![screenshot-ground-control](https://user-images.githubusercontent.com/1862727/149821995-e9b41dab-186c-42e6-b5b3-e233259b241d.png)

---

### Morning Dashboard
> Displayed on my smart screen between 05:00 - 08:00, and includes all the info that I usually check before leaving for work

![screenshot-morning-dash](https://i.ibb.co/4Wx8zb7/morning-dashboard.png)

---

### Croco_Grievous
> By [u/Croco_Grievous](https://www.reddit.com/user/Croco_Grievous/) <sup>via [reddit](https://www.reddit.com/r/selfhosted/comments/t4xk3z/everything_started_with_pihole_on_a_raspberry_pi/)</sup>

Expand All @@ -154,20 +165,17 @@

---

### Raspberry PI Docker Dashboard

> By [@henkiewie](https://github.com/henkiewie) <sup>via [#622](https://github.com/Lissy93/dashy/issues/622)</sup>

> I use this dashboard every day. It now even includes a player for a radio stream which I configured with Logitech media server and icecast. I made an smaller version of the grafana dashboard to fit an iframe in kiosk mode, so it monitors the most important values of my RPI. The PI is in Argon m2 case and used as a NAS. The dashboard is a copy of the adventure theme with some changes saved in `/app/src/styles/user-defined-themes.scss`
### Stefantigro
> By [u/stefantigro](https://www.reddit.com/user/stefantigro/) <sup>via [reddit](https://www.reddit.com/r/selfhosted/comments/t5oril/been_selfhosting_close_to_half_a_year_now_all/)</sup>

![screenshot-henkiewie-dashy](https://i.ibb.co/jGzPm6b/henkiewie-dashy-showcase.png)
![screenshot-stefantigro-dashy](https://i.ibb.co/1Kb43Yy/dashy-stefantigro.png)

---

### Stefantigro
> By [u/stefantigro](https://www.reddit.com/user/stefantigro/) <sup>via [reddit](https://www.reddit.com/r/selfhosted/comments/t5oril/been_selfhosting_close_to_half_a_year_now_all/)</sup>
### Morning Dashboard
> Displayed on my smart screen between 05:00 - 08:00, and includes all the info that I usually check before leaving for work

![screenshot-stefantigro-dashy](https://i.ibb.co/1Kb43Yy/dashy-stefantigro.png)
![screenshot-morning-dash](https://i.ibb.co/4Wx8zb7/morning-dashboard.png)

---

Expand Down
12 changes: 12 additions & 0 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
- [Fixing Widget CORS Errors](#widget-cors-errors)
- [Weather Forecast Widget 401](#weather-forecast-widget-401)
- [Font Awesome Icons not Displaying](#font-awesome-icons-not-displaying)
- [Copy to Clipboard not Working](#copy-to-clipboard-not-working)
- [How-To Open Browser Console](#how-to-open-browser-console)
- [Git Contributions not Displaying](#git-contributions-not-displaying)

Expand Down Expand Up @@ -436,6 +437,17 @@ Finally, check the [browser console](#how-to-open-browser-console) for any error

---

## Copy to Clipboard not Working

If the copy to clipboard feature (either under Config --> Export, or Item --> Copy URL) isn't functioning as expected, first check the browser console. If you see `TypeError: Cannot read properties of undefined (reading 'writeText')` then this feature is not supported by your browser.
The most common reason for this, is if you not running the app over HTTPS. Copying to the clipboard requires the app to be running in a secure origin / aka have valid HTTPS cert. You can read more about this [here](https://stackoverflow.com/a/71876238/979052).

As a workaround, you could either:
- Highlight the text and copy / <kbd>Ctrl</kbd> + <kbd>C</kbd>
- Or setup SSL - [here's a guide](https://github.com/Lissy93/dashy/blob/master/docs/management.md#ssl-certificates) on doing so

---

## How-To Open Browser Console
When raising a bug, one crucial piece of info needed is the browser's console output. This will help the developer diagnose and fix the issue.

Expand Down
Loading