1669 Commits

Author SHA1 Message Date
Anton Tranelis
94fa6321ba
fix(lib): adjust UserControl and HeaderView (#293)
* fix(lib): resolve TypeScript unsafe assignment errors in UserControl and HeaderView

- Add ESLint disable for @typescript-eslint/no-unsafe-assignment in UserControl to align with other components
- Refactor avatar logic in UserControl to use explicit typing and conditional assignment
- Add alt attribute to avatar image in UserControl for better accessibility
- Fix image priority order in HeaderView to prioritize internal images over external ones
- Support both internal and external images with proper fallback in both components

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: remove unused ESLint disable and fix CI lint check

The explicit typing approach resolved the TypeScript unsafe assignment
errors without needing the ESLint disable rule.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* removed unused linting exception

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-08-14 11:27:11 +02:00
Anton Tranelis
34e45c6dea
feat(other): add development configuration files (#307)
* feat: add development configuration files

Add .gitignore and CLAUDE.md to standardize development environment:
- .gitignore: Exclude IDE files, build artifacts, and temporary files
- CLAUDE.md: Project documentation and development commands for AI tools

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* moved scripts to ./claude

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-14 11:16:19 +02:00
85b0f93ab7
feat(backend): selfhosted utopia map (#299)
* describe manual seed

* directus minimal seed & seed instructions

* use api config everywhere, default to localhost, ignore .env file, provide .env.dist

* fix lint

* backend readme: import dump instructions

* complete instructions for seeding

* update readme, fix merge conflict, typos
2025-08-14 09:00:23 +00:00
42086b9217
feat(backend): manual seed (#313)
* bind uploads folder to local harddrive

* updated backend README.md regarding permissions

* manual seed script

* seed branding utopia-logo

* describe manual seed

* simplify directus logo seed (only update one field)

---------

Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
2025-08-14 10:56:15 +02:00
6c7308ad38
feat(backend): make map URL configurable (#304)
* use api config everywhere, default to localhost, ignore .env file, provide .env.dist

* fix lint

* make mapUrl configurable

---------

Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
2025-08-14 10:43:30 +02:00
5c79633ea4
feat(backend): directus seed advanced (#306)
* directus minimal seed & seed instructions

* more seed data

* places-layer

---------

Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
2025-08-14 09:47:23 +02:00
aa13c44cba
delete map user_type as it is no longer required (#309) 2025-08-14 07:08:14 +00:00
cf80f35b5c
feat(backend): bind uploads folder to local harddrive (#312)
* bind uploads folder to local harddrive

* updated backend README.md regarding permissions
2025-08-14 08:40:25 +02:00
9b2ac9f74f
directus minimal seed & seed instructions (#305) 2025-08-13 23:14:29 +00:00
cfd7ca1a26
refactor(app): default backend: localhost (#303)
* use api config everywhere, default to localhost, ignore .env file, provide .env.dist

* fix lint
2025-08-13 23:12:39 +00:00
a778fcf971
backend readme: import dump instructions (#296) 2025-08-13 23:10:30 +00:00
fb78619fa9
define cors also for development (#302) 2025-08-14 00:25:40 +02:00
5a2d1ea856
changes on package-lock.json when running npm install (#301) 2025-08-13 20:58:11 +00:00
6f5ee59cc4
workflow: build docker (#311)
fix change detection variable
2025-08-13 20:54:57 +00:00
f7fafc6db9
fix the workflow matrix with a aggregating result (#317) 2025-08-13 22:52:03 +02:00
f4c1fe7e25
fix workflows to always execute all matrix jobs and check for requiredness later (#310)
revert change partially
2025-08-13 20:34:01 +00:00
188f8ad284
describe how to backup the database (#314) 2025-08-13 20:31:14 +00:00
6b57993d9f
directus collections used on production (#297) 2025-08-13 20:27:30 +00:00
d044143aa1
correctly bind and document postgress data folder bind (#298) 2025-08-12 11:10:19 +02:00
54b8d3e4f3
move docker compose to the correct directory and correct paths (#295) 2025-08-11 18:16:35 +00:00
05268fbc3d
pin correct directus version 11.7.2 (#294) 2025-08-11 20:13:01 +02:00
Anton Tranelis
4e6fb57042
fix(lib): critical vulnerability (#290)
* fix critical vulnerability

* fix same in app
2025-08-06 13:07:18 +00:00
Anton Tranelis
945e5b066a
feat(lib): add support for external images in items (#291)
* feat: add support for external images in items

Add image_external field to Item type and update HeaderView to prefer external images over internal ones when available.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: prettier formatting for external image feature

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-06 15:04:52 +02:00
Anton Tranelis
7e0d44dac8
fix(app): add close button to custom info modal (#275)
* add close button to custom info modal

* update workflow

* fixes workflow

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-07-16 20:57:21 +02:00
Max
1e7320b895
feat(app): qR invites (#267)
* Add component to show invite link (WIP)

* Show invite link with copy functionality and QR-Code, add tests

* Query secrets

* Update directus collections

* Add config and invite api

* Let vite resolve paths using tsconfig

* Redeem invite link when logged in or after logging in

* Redirect to inviting profile when redeeming

* Fix some logic with login and redeeming

* Use correct redeem flow

* Hide missing form error

* Add basic relations view

* Pass profile to redeem Api and adapt to changed redeem flow

* Remove unnecessary aliases in vite config

* Remove dead import

* gitignore mac specific file

* Remove lazy loading

* Fix linting

* add InviteApi import

* Change case of file name (tbd)

* Don't toast error if user profile was not loaded yet

* Fix casing

* avoid app crash when profile of a new item is opened

---------

Co-authored-by: Anton Tranelis <mail@antontranelis.de>
2025-07-11 13:37:05 +02:00
Anton Tranelis
855ef3de29
fix(lib): base layer config (#276)
* add close button to custom info modal

* added attribution

* fix build examples workflow

* fix pending tests

* Revert "add close button to custom info modal"

This reverts commit 835c661009abbdc5c095a6bc86bbd6890e080e5f.
2025-07-04 08:39:13 +02:00
Anton Tranelis
12aba6a67e
fix(lib): fix labels (#278)
* fix labels

* more lables

* and the rest of the lables

* updated snapshots

* fix linting
2025-07-04 08:36:11 +02:00
Anton Tranelis
045ec726eb
fix(lib): auto close update position toast (#277)
* add close button to custom info modal

* auto close update position toat

* Revert "add close button to custom info modal"

This reverts commit cf5b9a407effe0772ed622ce2369cf16e0b82175.

* fix: reset position for new items without text
2025-07-03 13:18:10 +02:00
Max
c92695eea7
fix(frontend): update directus collections (#269)
* Update directus collections

* item_secrets is not a collection we call via directus client

---------

Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
2025-07-03 07:21:31 +00:00
Anton Tranelis
729f97f38a
refactor(app): rename frontend directory (#273) 2025-07-01 16:51:46 +02:00
Anton Tranelis
712aa98ac2
refactor(other): repo setup (#271)
* direct library import

* running dev environment

* fix linting

* strickt null checks

* fix linting

* chunks

* fix jumping button

* don't exclude rollup-config from typechecks
2025-06-27 20:03:16 +02:00
Anton Tranelis
76d899dba2
fix(lib): fixed profile crash on browser translation (#270)
* fixed profile crash on browser translation

* fix linting
2025-06-26 20:36:16 +02:00
Max
13612c56aa
fix(frontend): lazy load components at top level, not inside another component (#265)
* Lazy load components at top level, not inside another component

* version

---------

Co-authored-by: Anton Tranelis <mail@antontranelis.de>
2025-06-23 07:08:49 +00:00
Anton Tranelis
1828f29cfb
fix(frontend): fixed gallery object on item update (#261)
* fixed gallery object on item update

* version
2025-06-18 13:19:01 +02:00
Anton Tranelis
d73e4886e8
fix(other): fixed lib README badges, moved map README, unpublished map changes, f… (#259)
* fixed lib README badges, moved map README, unpublished map changes, fixed vulnurability

* limit scope of rollups commonjs plugin
2025-06-15 10:29:39 +02:00
a723d4d3cf
move text files to the root directory where applicable (#258) 2025-06-13 09:48:41 +02:00
18d159a504
Merge pull request #245 from utopia-os/mono-repo
chore(other): mono repo
2025-06-13 09:14:43 +02:00
da634ba8c9
fixed related to mono-repo
issue templates

workflow: lint frontend

workflow: test lib

workflow - unit tests frontend

lib instead of frontend

missing name

workflow: lint examples

workflow: build lib

LICENSE

rename workflow build lib

docs lib

deploy docs

fix build example flow
2025-06-12 11:29:22 +02:00
82cc262218
include utopia-map 2025-06-12 10:54:23 +02:00
d32be08be8
move utopia-ui into subfolder lib 2025-06-12 10:46:01 +02:00
Anton Tranelis
55c39bef88
fix(source): select position on index page (#240)
* 3.0.97

* 3.0.98

* 3.0.99

* add select position to item menu on index page

* added tooltips to headermenu

* optimized toasts while updating item position
2025-06-11 13:04:04 +02:00
Anton Tranelis
a7a50af896
fix(source): fix link detection (#243)
* 3.0.97

* 3.0.98

* 3.0.99

* fixed markdown link detection

* Update src/Components/Map/Subcomponents/ItemPopupComponents/TextView.tsx

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

* css fix

* fix linting

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-06-11 12:38:19 +02:00
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
Max
483c3f0857
Disable typescript sourcemap to get a valid sourcemap (#232) 2025-06-09 09:57:36 +00:00