1577 Commits

Author SHA1 Message Date
ab3c471b6d fix vulnerabilities 2025-03-14 13:42:41 +00:00
a0c20cd69c Merge branch 'main' of github.com:utopia-os/utopia-flex-map 2025-03-14 13:41:03 +00:00
6edf0fb7d3
Merge pull request #23 from utopia-os/backend-data-empty
feat(backend): backend data empty
2025-03-14 14:06:45 +01:00
669a73b55a
Merge branch 'main' into backend-data-empty 2025-03-14 13:57:47 +01:00
fecb275f16
Merge pull request #22 from utopia-os/docker-compose-backend
feat(docker): docker compose backend
2025-03-14 13:57:21 +01:00
2a3f14ef4e
Merge branch 'main' into docker-compose-backend 2025-03-14 13:50:09 +01:00
ad893ae71c
Merge pull request #21 from utopia-os/docker-compose-frontend
feat(docker): docker compose frontend
2025-03-14 13:49:54 +01:00
Max
0595e54a9b
Use defaultValue instead of selected (#187) 2025-03-13 18:27:56 +00:00
709f3bb2b1 Merge branch 'main' of github.com:utopia-os/utopia-flex-map 2025-03-13 08:00:44 +00:00
aec914c0bc
Merge branch 'main' into backend-data-empty 2025-03-12 15:46:31 +01:00
Anton Tranelis
4900d8ae6a
Merge pull request #24 from utopia-os/workflow-lint-pr-scope-frotnend-backend
refactor(workflow): workflow lint pr - new scope frontend and backend
2025-03-12 14:44:07 +00:00
2a3e785e18
workflow: lint pr - new scope frontend and backend 2025-03-10 16:48:56 +01:00
245d41816e
empty directus data dump
empty directus data dump + README.md explaining how to do so

also document how to push data
2025-03-10 16:45:21 +01:00
9944964e2e
docker-compose backend + dockerfile including sync extension
Includes a directus backend in the docker-compose file and the extension
`directus-sync` to allow the persisting of the directus configuration.
2025-03-10 16:37:09 +01:00
b39999fd65
clean docker-compose file 2025-03-10 16:08:25 +01:00
d37ec273ac
use cupcakearmy/static instead of flashspys/nginx-static
cupcakearmy's nginx has more configuraion options (you can override the
nginx config for example)
2025-03-10 16:08:03 +01:00
0f64f3200c
docker-compose for the frontend
Serve static files via nginx from dist folder in docker-compose
2025-03-10 16:02:43 +01:00
Anton Tranelis
d987ac816a
docs(docu): update README.md (#181)
* Update README.md

* Update README.md

fixed url
2025-03-06 11:02:55 +01:00
Max
a412895d5d
Simplify the ContextWrapper (#182)
Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
2025-03-05 23:42:02 +00:00
Anton Tranelis
9f631f156c
fix(source): fix avatar bug (#173)
* rollup - fail when typescript has warnings or errors

Currently this is detected when building the docu. Since the developer
rarely does that the problem is detected on github.
This change allows the developer to discover the error early by failing
the build.

* 3.0.75

* fix avatar disapeared when item is updated

* fixed linting

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-03-05 21:31:57 +00:00
Anton Tranelis
31f0dd7a81
fix(source): fixed attestation layout (#180)
* fixed attestation layout

* fixed for attestations on other map instances

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-03-05 21:26:16 +00:00
Max
77f596fd76
Remove unused file (#183) 2025-03-05 21:23:43 +00:00
Anton Tranelis
6a5bc0ade3
removed hardcoded asset api (#179) 2025-03-05 15:51:56 +01:00
60984241fa changed port back to 5174 2025-03-05 07:42:12 +00:00
0678506ed6
fix(workflow): unit tests workflow not running properly (#178)
* workflow: unit tests do not run properly

The pedicate-quantifier every seem not to mach properly

Problematic worklfow:
https://github.com/utopia-os/utopia-ui/actions/runs/13639312728/job/38125326624

The PR(https://github.com/utopia-os/utopia-ui/pull/172) did not execute,
but tsx files were changed.

* reduce coverage requirements

This was inherited frommaster
2025-03-05 00:54:15 +01:00
Anton Tranelis
54f464ef02
fix(source): removed tw-elements (#175)
* rollup - fail when typescript has warnings or errors

Currently this is detected when building the docu. Since the developer
rarely does that the problem is detected on github.
This change allows the developer to discover the error early by failing
the build.

* 3.0.75

* removed tw-elements

* removed tw-elements package

* found userType artefacts and removed it

* fixed linting

* 3.0.76

* adjust sidebar size and transition

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-03-04 23:35:10 +01:00
5c18ed2abd
fix types - components/templates (#172)
Fix more types - specifically in components/templates. This is done by
removing eslint-ignores and fixing them.
2025-03-03 19:58:04 +00:00
4041e9472a
refactor(source): css (#171)
* separate css into several files by topic, move all css into assets

Make separate files for all css topics like leaflet and move its into
the assets folder.

This way only one include from index.ts points to an index.tsx in assets
including all the css files.

* fix up compiling

* extract more css imports, unify imports in a css.tsx file

* separate external css & internal css

* renamed icons.css in marker-icons.css

---------

Co-authored-by: Anton Tranelis <mail@antontranelis.de>
2025-03-03 19:42:59 +01:00
Anton Tranelis
18e561b8b9
fix(source): adjust filter control (#170)
* rollup - fail when typescript has warnings or errors

Currently this is detected when building the docu. Since the developer
rarely does that the problem is detected on github.
This change allows the developer to discover the error early by failing
the build.

* adjust filter control to migrate wuerdekompass map to the latest code with modular profiles

* 3.0.65

* set version to 3.0.71 for npm release

* 3.0.72

* 3.0.73

* resolved merge conflict

* 3.0.74

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-03-01 10:04:25 +00:00
b98daf618b updated utopia-ui to 3.0.74 2025-02-28 20:00:35 +00:00
eb4b8788bb
feat(docu): generate coverage badge (#162)
* generate coverage badge

generate coverage badge in docs generation workflow in order to upload
it with the documentation

* include badge in readme, correct image name & json path

* job names, json path

* remove coverage branch from workflow
2025-02-28 19:56:03 +00:00
mahula
d9a54bf567
refactor(workflow): refine change check filters (#118)
* workflows: removeredundant change check filters

* docs workflow: refine file filter

* unit test workflow: refine file filter

* Revert "workflows: removeredundant change check filters"

This reverts commit 2477cd595e6f22437454c9eef654ef01cfca7ed8.
2025-02-28 10:38:24 +01:00
Anton Tranelis
42e3e95c1e
fix(source): fix linked items header (#165)
* rollup - fail when typescript has warnings or errors

Currently this is detected when building the docu. Since the developer
rarely does that the problem is detected on github.
This change allows the developer to discover the error early by failing
the build.

* updated packages, fixed vulnerabilities

* 3.0.65

* hide avatar if no item image

* fix linting

* 3.0.66

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-02-27 20:18:58 +00:00
Anton Tranelis
e045414118
fix(source): fixed AppShell type (#167)
* rollup - fail when typescript has warnings or errors

Currently this is detected when building the docu. Since the developer
rarely does that the problem is detected on github.
This change allows the developer to discover the error early by failing
the build.

* rebase

* removed userType from AppShell type defnitions

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-02-27 20:14:22 +00:00
Anton Tranelis
e74fc083ae
fix(source): cleanup exports (#168)
* rollup - fail when typescript has warnings or errors

Currently this is detected when building the docu. Since the developer
rarely does that the problem is detected on github.
This change allows the developer to discover the error early by failing
the build.

* removed unused components and exports

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-02-27 20:10:42 +00:00
f506509531 updated to utopia-ui 3.0.66 2025-02-27 08:26:54 +00:00
3aec205daa updated to utopia-ui 3.0.65 2025-02-27 08:07:32 +00:00
Anton Tranelis
7d16b2140a
fix(source): fix donation widget button (#153)
* fix donation widget button

* fixed linting

* fixed timing
2025-02-26 14:03:04 +01:00
Moriz Wahl
0169f1c8bc
remove select box component (#159) 2025-02-25 19:42:19 +00:00
Moriz Wahl
b22f62fe2c
unit test for combo box component (#157) 2025-02-25 19:24:25 +00:00
Moriz Wahl
c1eafc9a0f
feat(source): test text area input (#155)
* unit tests for text area input component
2025-02-25 20:21:06 +01:00
Max
1de44c3e1c
feat(release): improve typing of itemsApi (WIP) (#148)
* Improve typing of itemsApi

* Show error if name of new item cannot be determined

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
2025-02-25 08:39:09 +00:00
18030b8bc0
rollup - fail when typescript has warnings or errors (#154)
Currently this is detected when building the docu. Since the developer
rarely does that the problem is detected on github.
This change allows the developer to discover the error early by failing
the build.
2025-02-25 08:30:15 +00:00
9668f8d417
refactor(source): svg files & heroicons (#144)
* support for svg files

Support to load svg files and include them as bas64 encoded images in
the bundle.

* navbar svgs

* replace NavBar SVGs with heroicons

* layercontrol icons

* lint fix

* quest - questionmark

* plusbutton - plus

* linkeditem - elipse-vertical - link-slash

* contactinfo - envelope & phone

* avatar - arrow-up-tray

* ActionButton - link & plus

* StartEndView - calendar x2

* HeaderView - ellipse-vertical & pencil & trash

* SidebarControl - bars-3

* SearchControl - flag & magnifying-glass

* GratitudeControl - heart

* FilterControl - funnel

* AddButton - plus

* reduce test coverage requirements

* remove wrongfully commit dummy svg

* updated obsolete package.lock

* migrate more svgs from code to file, use hero icons where it seems applicable

* moved share icons to subfolder

* fixed layout

---------

Co-authored-by: Anton Tranelis <mail@antontranelis.de>
2025-02-24 14:58:31 +00:00
12fd624780
refactor(source): define more types (#149)
* define more types

* lint fixes

* update snapshot and reduce coverage

* revert role change, since it incompatible with directus
2025-02-22 16:09:38 +00:00
63e864ff81
fix delayed build (#150)
We noticed that the build was outdated and lagged behind 1 build.

Reason for this is rollup and its second config.
Solved by
https://github.com/rollup/rollup/issues/1666#issuecomment-1163091988

This could cause problems when types change
2025-02-22 15:54:34 +00:00
Max
1357a18b65
Don't crash when text field is not set (#147) 2025-02-22 15:49:50 +00:00
0ec0f13c74
refactor(source): define types and remove file-wide eslint disables (#133)
* types: define types and remove file-wide eslint disables

* reduce coverage requirement
2025-02-20 15:24:21 +00:00
Anton Tranelis
f8a0f36d54
docs(docu): update README.md (#143)
* Update README.md

* Update examples/1-basic-map/README.md

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-02-20 14:12:12 +00:00
Anton Tranelis
656fbb3ffc
refactor(source): get rid of item type (#142)
* started

* removed replaced itemType on all the places where it was used to identyfi the user profile layer

* removed unused property from NavBar

* removed unused property from AppShell

* removed userType from app state

* 3.0.60

* set version to 3.0.64 to publish package to include it in utopia-map

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-02-20 11:04:05 +00:00