684 Commits

Author SHA1 Message Date
Anton Tranelis
6327ae7788
fix(source): fix index plus button (#239)
* 3.0.97

* 3.0.98

* 3.0.99

* fix index plus icon

* fix linting
2025-06-11 10:59:24 +02:00
Anton Tranelis
ab304d4251
fix(source): gallery lightbox fix (#238)
* 3.0.97

* 3.0.98

* 3.0.99

* fix lightbox z-index
2025-06-11 08:13:16 +00:00
Anton Tranelis
df834855da
fix(source): gallery png support (#237)
* 3.0.97

* 3.0.98

* 3.0.99

* png support for gallery

* Use actual file types; throw error when using unsupported file type

---------

Co-authored-by: Maximilian Harz <maxharz@gmail.com>
2025-06-11 10:10:10 +02:00
Max
05f65291f4
feat(source): gallery form (#233)
Implements image upload to gallery.
2025-06-10 14:26:10 +02:00
Anton Tranelis
afdf589b1e
fix(source): fix marker icon update issue (#235)
* 3.0.97

* fix marker icon issue on update group
2025-06-10 13:43:35 +02:00
2c50d66edc
feat(source): tip tap version 2 (#231)
* tip tap version 2

* youtube

* menu-bar

* refactorng layout

* fixed flex layout

* fixed flex layout

* a lot of ui fixes

* optimizing flex layout & styling inputs

* markdown styling

* fix linting

* updated snapshots

* layout optimization

* flex layout optimizations, text editor fine tuning and markdown rendering

* updated snapshots

---------

Co-authored-by: Anton Tranelis <mail@antontranelis.de>
Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
2025-06-10 08:46:33 +00:00
Anton Tranelis
5927ba8c16
fix(source): fixed edit item form init process (#234)
* fixed edit item form init process

* fix linting
2025-06-10 10:27:05 +02:00
5dd0191d79
feat(source): lazy loading (#229)
* optimized build for lazy loading

* 3.0.95

* loading map overlay component

* 3.0.96

* loading screen for dynamic imports

* replace RichTextEditor with TextAreaInput (dummy)

* reduce changeset

---------

Co-authored-by: Anton Tranelis <mail@antontranelis.de>
2025-06-04 13:12:57 +00:00
c82084576a
refactor(source): text-view (#227)
* refactor text-view

* lint fix
2025-06-03 10:09:19 +02:00
Anton Tranelis
ed9906ae2f
fix(source): enhancing layer control (#223)
* 3.0.82

* version number

* 3.0.84

* 3.0.85

* 3.0.86

* 3.0.87

* 3.0.88

* url layer parameter

* layer control customizing

* 3.0.89

* 3.0.90

* 3.0.91

* typing

* 3.0.92

* fixing bug and imports

* 3.0.93

* fixing bug on profile-item-create caused by PR 185
2025-05-23 10:04:34 +02:00
Max
82b1f39141
refactor(source): refactor Layer and its subcomponents, replacing cloneElement by context (#185)
* Refactor Layer and its subcomponents, replacing cloneElement by context

* Add showcase for PopupButton template component

* Templateify exported elements (WIP)

* Remove unused file

* Export templateified PopupStartEndInput

* Fix template component type

* Change folder structure

* Lower test coverage

* changed export name

* Refactor PopupForm and PopupView

* More refactoring

* Add provider for PopupFormContext

* Fix popupform title

* Add comments

* Use correct ItemFormPopup for new items

* Fix linting

* Reduce coverage

* Change tailwind prefix

* Fix type

---------

Co-authored-by: Anton Tranelis <mail@antontranelis.de>
Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
2025-05-22 20:14:42 +02:00
Anton Tranelis
06252fb0b5
refactor(source): zoom control (#221)
* 3.0.82

* version number

* 3.0.84

* 3.0.85

* 3.0.86

* optional zoom control
2025-05-22 12:06:30 +02:00
Anton Tranelis
67e8dfe7c1
refactor(source): dynamic marker icons (#219)
* 3.0.82

* version number

* 3.0.84

* 3.0.85

* 3.0.86

* loading svgs from backend

* bugfixing and icon ajustments

* correct type import

* updated examples

* bugfix

* bugfix

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-05-21 09:37:16 +02:00
Anton Tranelis
204444f42d
fix(source): fix searchbar layout bug (#220)
* 3.0.82

* version number

* 3.0.84

* 3.0.85

* 3.0.86

* fix layout bug in searchbar
2025-05-17 10:11:43 +02:00
Anton Tranelis
5f5fbe6a13
fix(source): icons (#216)
* 3.0.82

* version number

* 3.0.84

* 3.0.85

* suitcase & offer icon
2025-05-09 11:57:04 +02:00
Anton Tranelis
924195ce9f
fix(source): fix gallery (#213)
* 3.0.82

* version number

* fix gallery bug
2025-05-06 09:31:36 +00:00
Anton Tranelis
4d0ffdffc6
fix(source): new marker icons (#214)
* 3.0.82

* version number

* steps-icon
2025-05-06 09:28:28 +00:00
Anton Tranelis
cc9fb9376d
fix(source): fix popup tip (#215)
* 3.0.82

* version number

* fix popup tip radius
2025-05-06 11:26:17 +02:00
Anton Tranelis
9e6bcf1846
fix(source): update tailwind and daisyui (#196)
* removed daisy from config

* removed tw-elements artefact

* removed comments from tailwind config

* removed safelist

* migrated to tailwind4 and daisyui5

* deleted tailwind.config.js which is not eeded anymore

* 3.0.79

* version number

* fixed broken layouts

* more fixing

* more layout fixing

* tested theming

* small fixes

* adapt snapshots to changes

* package.json: add unit test update script

* more ui refactoring & theme controller

* ui improvements

* package-lock.json

* fix linting

* fixed tabs

* fix linting

* fixed typing

---------

Co-authored-by: mahula <lenzmath@posteo.de>
2025-04-25 16:03:42 +02:00
Anton Tranelis
67a5e6e22d
docs(docu): improved documentation (#169)
* 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.

* cleand up types of UtopiaMap and UtopiaMapInner

* documented UtopiaMap, Tags, Tag and  Permissions

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-04-21 23:21:11 +00:00
Anton Tranelis
e68ca0817a
test(source): linkItem() tested (#211)
* linkItem() tested

* set line coverage to 1
2025-04-21 23:19:01 +00:00
Anton Tranelis
edb0172a8e
feat(source): initialized donation widget (#194)
* initialized donation widget

* opencollective api calls

* form element and styling

* fix linting

* removed unused import

* 3.0.79

* get opencollectiva api key from app state

* linting
2025-04-17 14:47:31 +02:00
Anton Tranelis
7fdc41d679
refactor(source): reperation to merge map and landingpage (#209)
* adjustments to allow merge of map with landingpage

* 3.0.79

* 3.0.80

* version

* removed unused imports
2025-04-15 20:27:21 +00:00
Anton Tranelis
4fc9516715
fix(source): external svg theming (#192)
* allow include of external svgs without breaking theming

* 3.0.77

* 3.0.78

* fixed LocateControl and added react-inlinesvg to external dependencies

* theming toast close button

* fixed typing

* theming search resuts

* theming search resuts

* theming search resuts

* theming donation widget

* theming donation widget

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-03-19 23:28:04 +00:00
Anton Tranelis
8b7cff2b32
fix(source): fix bug in ItemFormPopup (#191)
* fix bug in ItemFormPopup

* removed logging

* removed more logging
2025-03-19 23:07:43 +00:00
Max
0595e54a9b
Use defaultValue instead of selected (#187) 2025-03-13 18:27:56 +00: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
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
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
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
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
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
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
27e4282624
types for all auth related things (#135) 2025-02-20 09:45:58 +00:00
e2beb712bf
refactor(source): export point type (#138)
* bind the local utopia-ui lib

To ensure the examples still work with the latest utopia-ui, it is now
bound to the current code and does no longer depend on publishing the
library first

* replaced number by uuid as item ids in examples

* remove link mechanic from workflow

* also build utopia-ui

* fix example2

for some reason this stopped working on maaster.

* export geojson point to remove this external dependency

By exporting this type another package is not needed. This is especially
important, since there are different Point definitions which are
partially incompatible.

---------

Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
Co-authored-by: Anton Tranelis <mail@antontranelis.de>
2025-02-19 14:44:56 +00:00