12 Commits

Author SHA1 Message Date
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
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
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
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
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
Maximilian Harz
bface9c397 Lower test coverage 2025-02-17 18:05:06 +01:00
Moriz Wahl
42e03a4296 linting 2025-02-03 21:47:57 +01:00
Moriz Wahl
a13339ac47 add coverage thrasholds 2025-02-03 21:47:03 +01:00
Moriz Wahl
0acadc8596 test setup file and jest-dom 2025-02-03 21:42:35 +01:00
Moriz Wahl
0cb4fd19a9 include vite.config 2025-02-03 21:20:16 +01:00
Moriz Wahl
1a2b2275e5 add simple unit test 2025-02-03 21:05:25 +01:00