@geodienst/dashkit 0.2.2 → 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/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
@@ -41,5 +41,5 @@
41
41
  "default": "./package.json"
42
42
  }
43
43
  },
44
- "version": "0.2.2"
44
+ "version": "0.3.0"
45
45
  }
Binary file