@signalk/app-dock 1.1.0-beta.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,6 +13,8 @@ A macOS-style app dock for switching between Signal K webapps on touch screens.
|
|
|
13
13
|
- **Autostart** -- optionally load a default app immediately on open
|
|
14
14
|
- **keep-alive or destroy** iframe lifecycle
|
|
15
15
|
- **Night/day mode toggle** -- optional sun/moon button that flips `environment.mode` via a PUT handler
|
|
16
|
+
- **Fullscreen toggle** -- optional button that hides browser chrome via the Fullscreen API; feature-detected, so hidden on devices without API support (notably iPadOS Safari -- use Add to Home Screen there)
|
|
17
|
+
- **Installable as an app** -- ships a web app manifest and apple-touch-icon so iOS, Android, and desktop browsers can install the dock to the home screen and launch it in standalone mode (no browser chrome). Works over plain HTTP -- no SSL required
|
|
16
18
|
- **Active dot indicator**, label tooltip, haptic feedback
|
|
17
19
|
- **Embedded config panel** in the admin UI with webapp discovery, drag-to-reorder, and live preview
|
|
18
20
|
|
|
@@ -59,15 +61,16 @@ Open **Plugin Config > App Dock** in the admin UI. The embedded configurator pro
|
|
|
59
61
|
|
|
60
62
|
### Settings
|
|
61
63
|
|
|
62
|
-
| Setting
|
|
63
|
-
|
|
|
64
|
-
| `position`
|
|
65
|
-
| `iframeMode`
|
|
66
|
-
| `iconSize`
|
|
67
|
-
| `magnification`
|
|
68
|
-
| `magnificationScale`
|
|
69
|
-
| `showNightModeButton`
|
|
70
|
-
| `
|
|
64
|
+
| Setting | Default | Description |
|
|
65
|
+
| ---------------------- | ------------ | ------------------------------------------------------------------------------------------------ |
|
|
66
|
+
| `position` | `bottom` | Dock edge: `bottom`, `top`, `left`, `right` |
|
|
67
|
+
| `iframeMode` | `keep-alive` | `keep-alive` loads each app once and hides/shows (faster, more RAM); `destroy` reloads each time |
|
|
68
|
+
| `iconSize` | `56` | Base icon size in px |
|
|
69
|
+
| `magnification` | `true` | Enable macOS-style magnification effect |
|
|
70
|
+
| `magnificationScale` | `1.7` | Max icon scale (1.0-2.5) |
|
|
71
|
+
| `showNightModeButton` | `true` | Show sun/moon button in dock; PUT-writes `environment.mode` |
|
|
72
|
+
| `showFullscreenButton` | `false` | Show fullscreen toggle in dock; hidden automatically where the Fullscreen API is unavailable |
|
|
73
|
+
| `showExitButton` | `false` | Show X button that returns to the Signal K admin UI |
|
|
71
74
|
|
|
72
75
|
## Development
|
|
73
76
|
|
package/package.json
CHANGED