mirror of
https://github.com/glanceapp/glance.git
synced 2025-06-22 02:41:23 +02:00
Document change detection widget
This commit is contained in:
parent
4206fb943d
commit
b58d3e2849
@ -19,6 +19,7 @@
|
|||||||
- [Repository](#repository)
|
- [Repository](#repository)
|
||||||
- [Bookmarks](#bookmarks)
|
- [Bookmarks](#bookmarks)
|
||||||
- [Calendar](#calendar)
|
- [Calendar](#calendar)
|
||||||
|
- [ChangeDetection.io](#changedetectionio)
|
||||||
- [Clock](#clock)
|
- [Clock](#clock)
|
||||||
- [Markets](#markets)
|
- [Markets](#markets)
|
||||||
- [Twitch Channels](#twitch-channels)
|
- [Twitch Channels](#twitch-channels)
|
||||||
@ -1109,6 +1110,53 @@ Whether to open the link in the same tab or a new one.
|
|||||||
|
|
||||||
Whether to hide the colored arrow on each link.
|
Whether to hide the colored arrow on each link.
|
||||||
|
|
||||||
|
### ChangeDetection.io
|
||||||
|
Display a list watches from changedetection.io.
|
||||||
|
|
||||||
|
Example
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- type: change-detection
|
||||||
|
instance-url: https://changedetection.mydomain.com/
|
||||||
|
token: ${CHANGE_DETECTION_TOKEN}
|
||||||
|
```
|
||||||
|
|
||||||
|
Preview:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
#### Properties
|
||||||
|
|
||||||
|
| Name | Type | Required | Default |
|
||||||
|
| ---- | ---- | -------- | ------- |
|
||||||
|
| instance-url | string | no | `https://www.changedetection.io` |
|
||||||
|
| token | string | no | |
|
||||||
|
| limit | integer | no | 10 |
|
||||||
|
| collapse-after | integer | no | 5 |
|
||||||
|
| watches | array of strings | no | |
|
||||||
|
|
||||||
|
##### `instance-url`
|
||||||
|
The URL pointing to your instance of `changedetection.io`.
|
||||||
|
|
||||||
|
##### `token`
|
||||||
|
The API access token which can be found in `SETTINGS > API`. Optionally, you can specify this using an environment variable with the syntax `${VARIABLE_NAME}`.
|
||||||
|
|
||||||
|
##### `limit`
|
||||||
|
The maximum number of watches to show.
|
||||||
|
|
||||||
|
##### `collapse-after`
|
||||||
|
How many watches are visible before the "SHOW MORE" button appears. Set to `-1` to never collapse.
|
||||||
|
|
||||||
|
##### `watches`
|
||||||
|
By default all of the configured watches will be shown. Optionally, you can specify a list of UUIDs for the specific watches you want to have listed:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- type: change-detection
|
||||||
|
watches:
|
||||||
|
- 1abca041-6d4f-4554-aa19-809147f538d3
|
||||||
|
- 705ed3e4-ea86-4d25-a064-822a6425be2c
|
||||||
|
```
|
||||||
|
|
||||||
### Clock
|
### Clock
|
||||||
Display a clock showing the current time and date. Optionally, also display the the time in other timezones.
|
Display a clock showing the current time and date. Optionally, also display the the time in other timezones.
|
||||||
|
|
||||||
|
BIN
docs/images/change-detection-widget-preview.png
Normal file
BIN
docs/images/change-detection-widget-preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
Loading…
x
Reference in New Issue
Block a user