@geodienst/dashkit 0.2.0 → 0.3.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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Geodienst
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Geodienst
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,9 +1,26 @@
1
1
  # @geodienst/dashkit
2
2
 
3
- Angular components for map dashboards: a MapLibre map, filters, legend, lists, tables and dialogs, based on Angular Material.
4
- All components use the `gd-` selector prefix. [`src/public-api.ts`](https://github.com/geodienst/dashkit/blob/master/projects/geodienst/dashkit/src/public-api.ts) lists everything the package exports.
3
+ Building blocks for map dashboards: a map with markers, filters, a legend, lists, tables and dialogs.
5
4
 
6
- ## Installation
5
+ ## Create your own dashboard (no programming needed)
6
+
7
+ 1. Install the AI assistant [OpenCode](https://opencode.ai) and connect it to an AI provider when it asks. It works on your computer, so it can build the dashboard for you.
8
+ Other AI coding assistants (e.g. Claude Code) work too; a plain chat AI like ChatGPT in the browser isn't enough.
9
+ 2. Create an empty folder for your dashboard and open it in OpenCode.
10
+ 3. Paste this message:
11
+
12
+ > Make sure Git and Node 26 are installed, and install them if not. Then download <https://github.com/geodienst/dashkit> into this folder, read `dashkit/docs/create-dashboard/INSTRUCTIONS.md` and follow it. I want to create a dashboard.
13
+
14
+ Have ready: your data (e.g. a Google Sheet with coordinates), the texts you want to show, and a logo.
15
+ The AI asks you what the dashboard should show and builds it step by step. If something isn't possible yet, it tells you and suggests an alternative.
16
+
17
+ ## For developers
18
+
19
+ Everything below is for developers, and for the AI assistant that builds a dashboard for you. If you don't program, you can stop reading here.
20
+
21
+ Angular components based on Angular Material and MapLibre. All components use the `gd-` selector prefix. [`src/public-api.ts`](https://github.com/geodienst/dashkit/blob/master/projects/geodienst/dashkit/src/public-api.ts) lists everything the package exports.
22
+
23
+ ### Installation
7
24
 
8
25
  Requires Angular 22.3 or newer with Angular Material.
9
26
 
@@ -14,7 +31,7 @@ npm install @angular/material @angular/localize maplibre-gl
14
31
 
15
32
  npm installs the other peer dependencies automatically. The second line adds the ones the app uses directly (see *Setup*) to its own `package.json`.
16
33
 
17
- ## Setup
34
+ ### Setup
18
35
 
19
36
  `angular.json`, in the app's `build` options:
20
37
 
@@ -30,7 +47,7 @@ npm installs the other peer dependencies automatically. The second line adds the
30
47
  - `src/theme.scss` is the app's Angular Material theme. The components take all colors and fonts from it.
31
48
  - `main.ts` tells MapLibre where its worker is: `setWorkerUrl('maplibre/maplibre-gl-worker.mjs')` (from `maplibre-gl`).
32
49
 
33
- ## Translations
50
+ ### Translations
34
51
 
35
52
  The component texts are translated into de, fr, es, tr, bg and el. The package ships them as `locale/messages.<lang>.xlf`.
36
53
 
@@ -42,7 +59,7 @@ The component texts are translated into de, fr, es, tr, bg and el. The package s
42
59
  "de": ["node_modules/@geodienst/dashkit/locale/messages.de.xlf", "src/locale/messages.de.xlf"]
43
60
  ```
44
61
 
45
- ## Tests in the app
62
+ ### Tests in the app
46
63
 
47
64
  jsdom has no WebGL, so app tests replace the MapLibre components with stubs:
48
65
 
Binary file
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "license": "MIT",
4
4
  "repository": {
5
5
  "type": "git",
6
- "url": "https://github.com/geodienst/dashkit"
6
+ "url": "git+https://github.com/geodienst/dashkit.git"
7
7
  },
8
8
  "publishConfig": {
9
9
  "access": "public"
@@ -41,5 +41,5 @@
41
41
  "default": "./package.json"
42
42
  }
43
43
  },
44
- "version": "0.2.0"
44
+ "version": "0.3.0"
45
45
  }