63 Commits

Author SHA1 Message Date
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
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
924195ce9f
fix(source): fix gallery (#213)
* 3.0.82

* version number

* fix gallery bug
2025-05-06 09:31:36 +00: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
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
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
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
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
Max
1357a18b65
Don't crash when text field is not set (#147) 2025-02-22 15:49:50 +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
Maximilian Harz
aa616ed295 Refactor background style 2025-02-17 18:07:00 +01:00
Maximilian Harz
f71929b4d8 Fix paranthesis in ActionsButton 2025-02-17 18:07:00 +01:00
Maximilian Harz
5835a71588 Type item.gallery 2025-02-17 18:05:06 +01:00
Maximilian Harz
990f837aaf Use radash.get to support deep properties in ProfileTextView 2025-02-17 18:05:06 +01:00
Maximilian Harz
9511dc0408 Use .image as avatar 2025-02-17 18:05:06 +01:00
Maximilian Harz
7f4594ad53 Fix functionality of ProfileTextView 2025-02-17 18:03:30 +01:00
Maximilian Harz
4316387ecb Improve typing of items, remove getValue 2025-02-17 18:03:25 +01:00
79ca17aa3f fix types import path 2025-02-10 11:39:07 +00:00
a450128b72 reorganized types 2025-02-09 20:32:41 +00:00
ad4ef14014 Merge branch 'main' into gallery-component 2025-02-02 21:51:19 +00:00
04e806cbdc fix linting 2025-02-02 21:37:39 +00:00
0e6959331a fixed some linting 2025-02-02 19:24:13 +00:00
5ffe44de2c implemented gallery widget 2025-01-08 00:31:58 +00:00
c4a8c14fcb Merge branch 'main' into gallery-component 2025-01-07 16:53:51 +00:00
7be57a5658 init gallery component 2025-01-04 15:24:40 +00:00
20e8203b26
make NavBar typesafe
removed obsolete eslint disables

fixed a type problem

another type problem

type check
2024-12-19 12:17:51 +01:00
3014cf682f option to make textarea input required or optional 2024-11-29 18:05:26 +01:00
002f606953
fix AssetsApi any 2024-11-24 04:20:26 +01:00
3872a052b6
separated types, eslint rule for importing types
- Separated types and moved them into the proper ./types folder defined
in the tsconfig.json.
- Defined a new folder alias `#types`.
- New eslint rule to enforce `import type` when a type is imported.
- Removed Geometry Class and used manual Point types from `geojson`
2024-11-24 04:11:32 +01:00
ae9a15b50c make icon and text inline 2024-11-22 18:22:27 +01:00
5835baa94c markdown hint 2024-11-22 16:56:48 +01:00
1923e180d4 e-mail and phone validation in group-subheader component 2024-11-22 13:27:15 +01:00
594784e77a fix removing custom profile image bug 2024-11-22 13:25:41 +01:00
antontranelis
f4e71050a5
Merge branch 'main' into lint-security 2024-11-18 09:28:52 +01:00
antontranelis
4031cd25ca
Merge pull request #33 from utopia-os/lint-promise
feat(other): lint promise
2024-11-18 09:12:20 +01:00
5a7bdfe7f7
lint fixes 2024-11-11 17:02:21 +01:00
34435e8272
lint-security fixes 2024-11-11 16:45:01 +01:00
782b0fc700
fix errors 2024-11-11 15:45:25 +01:00
7f6b08a13f
missing fix 2024-11-08 19:37:14 +01:00
fefc015b70
lint fixes 2024-11-08 19:36:35 +01:00
cc4971e2d0 updated 2024-11-08 10:34:06 +01:00
8af866acf4 merged main 2024-11-08 10:27:10 +01:00
7ddd125289 fix email hint 2024-11-08 09:01:46 +01:00
1245d8f3b0 advanced share buttons and copy to clipboard 2024-11-08 08:56:36 +01:00
842d1d4bab
lint fixes 2024-11-07 17:04:14 +01:00
388ae9ef6a
lint fixes 2024-11-07 16:56:26 +01:00
2bc5b95151 added protocoll to share url 2024-11-07 08:16:32 +01:00
f8f7f485a4 slug share workaround 2024-11-07 08:07:13 +01:00
660b4231b6 fix share base url 2024-11-06 20:24:01 +01:00
f296ddd606 implemented flex profiles 2024-11-06 20:11:17 +01:00