Compare commits

..

110 Commits

Author SHA1 Message Date
Renovate Bot
547231194e Update dependency zod to v3.24.3
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 2m31s
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m57s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Failing after 52s
Build Nginx-based docker image / build-static-assets (push) Failing after 59s
2025-04-19 02:05:29 +00:00
Renovate Bot
7e87120e6b Update dependency next to v15.3.1
All checks were successful
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 2m55s
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 2m37s
Check usage of free licenses / build-static-assets (pull_request) Successful in 3m46s
Build Nginx-based docker image / build-static-assets (push) Successful in 34m27s
2025-04-18 02:03:58 +00:00
Renovate Bot
72078f9e92 Update dependency @types/node to v22.14.1
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Build Nginx-based docker image / build-static-assets (push) Successful in 37m53s
Add copyright notice / copyright_notice (pull_request) Successful in 4m18s
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m35s
Check usage of free licenses / build-static-assets (push) Successful in 2m40s
Playwright Tests / test (push) Has been skipped
2025-04-12 02:04:37 +00:00
Renovate Bot
03be408a5a Update dependency next to v15.3.0
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 4m52s
Check usage of free licenses / build-static-assets (pull_request) Successful in 4m52s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 3m4s
Build Nginx-based docker image / build-static-assets (push) Successful in 23m45s
2025-04-10 02:05:02 +00:00
Renovate Bot
334bc4dd60 Update dependency node to v23.11.0
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 3m39s
Check usage of free licenses / build-static-assets (pull_request) Successful in 4m37s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m25s
Build Nginx-based docker image / build-static-assets (push) Successful in 9m18s
2025-04-06 02:05:29 +00:00
Renovate Bot
479ce993b6 Update dependency typescript to v5.8.3
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 2m54s
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m26s
Check usage of free licenses / build-static-assets (push) Successful in 2m28s
Playwright Tests / test (push) Has been skipped
Build Nginx-based docker image / build-static-assets (push) Successful in 38m57s
2025-04-05 02:05:23 +00:00
Renovate Bot
4f41a84912 Update dependency @types/node to v22.14.0
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 1m56s
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m26s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 3m37s
Build Nginx-based docker image / build-static-assets (push) Successful in 21m58s
2025-04-04 02:06:43 +00:00
Renovate Bot
a920a5017e Update dependency @types/react-dom to v18.3.6
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m46s
Add copyright notice / copyright_notice (pull_request) Successful in 4m34s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 3m25s
Build Nginx-based docker image / build-static-assets (push) Failing after 51m16s
2025-04-03 02:04:58 +00:00
Renovate Bot
9045b04874 Update dependency primereact to v10.9.4
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 3m22s
Add copyright notice / copyright_notice (pull_request) Successful in 3m29s
Check usage of free licenses / build-static-assets (push) Failing after 39s
Playwright Tests / test (push) Has been skipped
Build Nginx-based docker image / build-static-assets (push) Failing after 17m49s
2025-04-01 02:04:38 +00:00
Renovate Bot
b8d1489115 Update dependency @types/node to v22.13.14
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 4m48s
Check usage of free licenses / build-static-assets (pull_request) Successful in 3m20s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 10m35s
Build Nginx-based docker image / build-static-assets (push) Successful in 46m29s
2025-03-28 03:08:59 +00:00
Renovate Bot
a77f8b33de Update dependency next to v15.2.4
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 1m49s
Check usage of free licenses / build-static-assets (pull_request) Successful in 54s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Failing after 8m5s
Build Nginx-based docker image / build-static-assets (push) Failing after 8m16s
2025-03-27 03:06:24 +00:00
Renovate Bot
b3ac60c385 Update dependency @types/react to v18.3.20
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 4m7s
Check usage of free licenses / build-static-assets (pull_request) Successful in 5m16s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 2m33s
Build Nginx-based docker image / build-static-assets (push) Successful in 34m7s
2025-03-26 03:05:57 +00:00
Renovate Bot
c44c2dedd6 Update dependency @types/node to v22.13.13
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 5m5s
Check usage of free licenses / build-static-assets (pull_request) Successful in 6m29s
Check usage of free licenses / build-static-assets (push) Successful in 2m4s
Playwright Tests / test (push) Has been skipped
Build Nginx-based docker image / build-static-assets (push) Successful in 57m45s
2025-03-25 03:05:41 +00:00
Renovate Bot
48b72f0501 Update dependency @types/node to v22.13.11
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 58s
Add copyright notice / copyright_notice (pull_request) Successful in 1m23s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 47s
Build Nginx-based docker image / build-static-assets (push) Successful in 11m58s
2025-03-22 03:04:40 +00:00
Renovate Bot
6cfdf1f93b Update dependency node to v23.10.0
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 5m30s
Check usage of free licenses / build-static-assets (pull_request) Successful in 5m44s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 3m12s
Build Nginx-based docker image / build-static-assets (push) Successful in 15m31s
2025-03-21 03:05:28 +00:00
Renovate Bot
0e17a2ac22 Update dependency @types/react to v18.3.19
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m45s
Add copyright notice / copyright_notice (pull_request) Successful in 2m51s
Check usage of free licenses / build-static-assets (push) Successful in 3m4s
Playwright Tests / test (push) Has been skipped
Build Nginx-based docker image / build-static-assets (push) Successful in 43m1s
2025-03-20 03:04:45 +00:00
Renovate Bot
f512872f16 Update dependency next to v15.2.3
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m28s
Add copyright notice / copyright_notice (pull_request) Successful in 3m39s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m56s
Build Nginx-based docker image / build-static-assets (push) Successful in 29m46s
2025-03-19 03:04:25 +00:00
Renovate Bot
6cde7a9023 Update dependency @playwright/test to v1.51.1
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 2m54s
Check usage of free licenses / build-static-assets (pull_request) Successful in 4m7s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 4m48s
Build Nginx-based docker image / build-static-assets (push) Successful in 20m55s
2025-03-18 03:04:57 +00:00
Renovate Bot
f5cdb559cf Update pnpm to v9.15.9
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m24s
Add copyright notice / copyright_notice (pull_request) Successful in 5m41s
Playwright Tests / test (push) Has been skipped
Build Nginx-based docker image / build-static-assets (push) Failing after 48s
Check usage of free licenses / build-static-assets (push) Successful in 2m32s
2025-03-14 03:08:04 +00:00
Renovate Bot
e7dea7bf94 Update dependency primereact to v10.9.3
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 4m44s
Add copyright notice / copyright_notice (pull_request) Successful in 6m57s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m58s
Build Nginx-based docker image / build-static-assets (push) Successful in 40m5s
2025-03-13 03:07:37 +00:00
Renovate Bot
63a258c39d Update dependency next to v15.2.2
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 6m7s
Add copyright notice / copyright_notice (pull_request) Successful in 8m11s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Failing after 7m58s
Build Nginx-based docker image / build-static-assets (push) Successful in 56m59s
2025-03-12 03:06:52 +00:00
Renovate Bot
ce46cd9b25 Update dependency @types/node to v22.13.10
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 4m10s
Add copyright notice / copyright_notice (pull_request) Successful in 5m19s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 9m36s
Build Nginx-based docker image / build-static-assets (push) Successful in 1h4m21s
2025-03-11 03:06:08 +00:00
Renovate Bot
6dd213709e Update dependency autoprefixer to v10.4.21
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 2m14s
Check usage of free licenses / build-static-assets (pull_request) Successful in 3m55s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 3m51s
Build Nginx-based docker image / build-static-assets (push) Successful in 44m14s
2025-03-09 16:44:26 +00:00
9d90f4b073 Merge pull request 'Update dependency @playwright/test to v1.51.0' (#212) from renovate/playwright-test-1.x-lockfile into main
Some checks failed
Playwright Tests / test (push) Has been skipped
Build Nginx-based docker image / build-static-assets (push) Failing after 2m8s
Check usage of free licenses / build-static-assets (push) Successful in 18m21s
Reviewed-on: #212
2025-03-09 00:24:50 +00:00
Renovate Bot
7eb5ff8392 Update dependency @playwright/test to v1.51.0
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m58s
Add copyright notice / copyright_notice (pull_request) Successful in 2m53s
Build Nginx-based docker image / build-static-assets (push) Successful in 14m38s
2025-03-08 03:04:29 +00:00
Renovate Bot
73b42d4850 Update pnpm to v9.15.7
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m41s
Add copyright notice / copyright_notice (pull_request) Successful in 2m12s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m42s
Build Nginx-based docker image / build-static-assets (push) Successful in 21m27s
2025-03-07 03:06:20 +00:00
Renovate Bot
aae8e2191d Update dependency node to v23.9.0
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m49s
Add copyright notice / copyright_notice (pull_request) Successful in 2m42s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m38s
Build Nginx-based docker image / build-static-assets (push) Successful in 20m38s
2025-03-06 03:10:40 +00:00
Renovate Bot
54b7e118f8 Update dependency next to v15.2.1
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 3m18s
Check usage of free licenses / build-static-assets (pull_request) Successful in 3m13s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m51s
Build Nginx-based docker image / build-static-assets (push) Successful in 32m47s
2025-03-05 03:08:39 +00:00
Renovate Bot
17e1869c9f Update dependency @types/node to v22.13.9
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 2m12s
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m41s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 5m0s
Build Nginx-based docker image / build-static-assets (push) Successful in 45m2s
2025-03-04 03:07:14 +00:00
Renovate Bot
31f480c74e Update pnpm to v9.15.6
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 7m8s
Add copyright notice / copyright_notice (pull_request) Successful in 8m14s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m56s
Build Nginx-based docker image / build-static-assets (push) Successful in 46m26s
2025-03-03 03:08:58 +00:00
Renovate Bot
4c03b428b4 Update dependency postcss to v8.5.3
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 8m6s
Add copyright notice / copyright_notice (pull_request) Successful in 11m31s
Build Nginx-based docker image / build-static-assets (push) Failing after 41s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 6m57s
2025-03-02 03:08:04 +00:00
Renovate Bot
cda483d6f7 Update dependency typescript to v5.8.2
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 4m2s
Check usage of free licenses / build-static-assets (pull_request) Successful in 3m50s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 8m47s
Build Nginx-based docker image / build-static-assets (push) Successful in 1h5m6s
2025-03-01 03:08:48 +00:00
Renovate Bot
cffb4e1c4a Update dependency uuid to v11.1.0
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m54s
Add copyright notice / copyright_notice (pull_request) Successful in 8m17s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 8m8s
Build Nginx-based docker image / build-static-assets (push) Successful in 58m12s
2025-02-20 03:12:42 +00:00
Renovate Bot
fa904b5de2 Update dependency node to v23.8.0
All checks were successful
Check usage of free licenses / build-static-assets (push) Successful in 3m21s
Build Nginx-based docker image / build-static-assets (push) Successful in 43m12s
Playwright Tests / test (push) Has been skipped
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 3m53s
Add copyright notice / copyright_notice (pull_request) Successful in 4m55s
2025-02-19 03:11:38 +00:00
Renovate Bot
cff2c5ddc2 Update pnpm to v9.15.5
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 6m2s
Check usage of free licenses / build-static-assets (pull_request) Successful in 5m9s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 7m43s
Build Nginx-based docker image / build-static-assets (push) Successful in 51m39s
2025-02-18 03:11:39 +00:00
Renovate Bot
6ed957c4e5 Update dependency zod to v3.24.2
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 4m48s
Check usage of free licenses / build-static-assets (pull_request) Successful in 4m48s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 3m56s
Build Nginx-based docker image / build-static-assets (push) Failing after 29m13s
2025-02-17 03:12:57 +00:00
Renovate Bot
38d75ce80d Update dependency @types/node to v22.13.4
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 3m18s
Add copyright notice / copyright_notice (pull_request) Successful in 4m52s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 2m20s
Build Nginx-based docker image / build-static-assets (push) Failing after 17m35s
2025-02-16 03:13:18 +00:00
Renovate Bot
61077bb11e Update dependency next to v15.1.7
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 2m53s
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m27s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 39s
Build Nginx-based docker image / build-static-assets (push) Failing after 5m21s
2025-02-12 03:08:42 +00:00
Renovate Bot
95e4949e1d Update dependency postcss to v8.5.2
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m29s
Add copyright notice / copyright_notice (pull_request) Successful in 2m12s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 3m16s
Build Nginx-based docker image / build-static-assets (push) Failing after 6m10s
2025-02-11 03:05:44 +00:00
Renovate Bot
c77a1cfbba Update dependency @types/node to v22.13.1
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 2m0s
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m12s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 3m11s
Build Nginx-based docker image / build-static-assets (push) Failing after 45m29s
2025-02-04 03:06:50 +00:00
Renovate Bot
dc499893b3 Update dependency @types/node to v22.13.0
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 5m57s
Add copyright notice / copyright_notice (pull_request) Successful in 6m51s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m12s
Build Nginx-based docker image / build-static-assets (push) Failing after 3m28s
2025-02-02 03:08:54 +00:00
Renovate Bot
c835744663 Update dependency @playwright/test to v1.50.1
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m25s
Add copyright notice / copyright_notice (pull_request) Successful in 2m29s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 6m18s
Build Nginx-based docker image / build-static-assets (push) Failing after 30m57s
2025-02-01 03:06:39 +00:00
Renovate Bot
3892e5c885 Update dependency node to v23.7.0
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 57s
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m14s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m46s
Build Nginx-based docker image / build-static-assets (push) Failing after 19m8s
2025-01-31 03:03:44 +00:00
Renovate Bot
d8bc79e755 Update dependency @types/node to v22.12.0
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 3m59s
Add copyright notice / copyright_notice (pull_request) Successful in 4m52s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 5m54s
Build Nginx-based docker image / build-static-assets (push) Successful in 28m14s
2025-01-28 03:07:42 +00:00
Renovate Bot
4b219e922d Update dependency primereact to v10.9.2
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m49s
Add copyright notice / copyright_notice (pull_request) Successful in 4m0s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 3m47s
Build Nginx-based docker image / build-static-assets (push) Failing after 40m5s
2025-01-27 03:05:52 +00:00
9a2ce5b654 Merge pull request 'Simulations life cycle improvements' (#191) from mark-expired-simulations into main
All checks were successful
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 19s
Build Nginx-based docker image / build-static-assets (push) Successful in 3m47s
Reviewed-on: #191
2025-01-26 13:07:58 +00:00
0d1c46a349 Fix redundant class definitions
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 1m27s
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m53s
Build Nginx-based docker image / build-static-assets (push) Successful in 6m0s
2025-01-26 13:47:17 +01:00
157401bae5 Display a toast message after successfully creating a simulation
All checks were successful
Build Nginx-based docker image / build-static-assets (push) Successful in 2m52s
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 25s
Check usage of free licenses / build-static-assets (pull_request) Successful in 49s
2025-01-26 13:33:35 +01:00
bf7e871a1b Display a button to create new simulations 2025-01-26 13:21:23 +01:00
e597b4fc00 Mark expired rows with red background 2025-01-26 13:09:31 +01:00
53a2752964 Remove references to unsupported dark theme 2025-01-26 13:06:29 +01:00
1184a529cf Display an icon indicating whether a simulation is still valid 2025-01-26 13:05:32 +01:00
Renovate Bot
58962e2f48 Update dependency next to v15.1.6
Some checks failed
Add copyright notice / copyright_notice (pull_request) Successful in 5m33s
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 6m4s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 2m5s
Build Nginx-based docker image / build-static-assets (push) Failing after 2m56s
2025-01-25 03:10:32 +00:00
Renovate Bot
b8f878a77a Update dependency @playwright/test to v1.50.0
Some checks failed
Playwright Tests / test (push) Has been skipped
Build Nginx-based docker image / build-static-assets (push) Failing after 4m47s
Check usage of free licenses / build-static-assets (push) Successful in 5m28s
2025-01-24 03:58:22 +00:00
Renovate Bot
2c28b80e23 Update dependency @types/node to v22.10.10
Some checks failed
Add copyright notice / copyright_notice (pull_request) Successful in 1m45s
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m30s
Check usage of free licenses / build-static-assets (push) Successful in 7m10s
Playwright Tests / test (push) Has been skipped
Build Nginx-based docker image / build-static-assets (push) Has been cancelled
2025-01-24 03:07:25 +00:00
Renovate Bot
2b550aa60c Update dependency node to v23.6.1
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 1m59s
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m45s
Check usage of free licenses / build-static-assets (push) Failing after 8s
Playwright Tests / test (push) Has been skipped
Build Nginx-based docker image / build-static-assets (push) Failing after 26s
2025-01-22 03:04:42 +00:00
Renovate Bot
c691359356 Update dependency postcss to v8.5.1
All checks were successful
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m50s
Build Nginx-based docker image / build-static-assets (push) Successful in 30m20s
2025-01-16 04:07:16 +00:00
Renovate Bot
4e5202bdba Update dependency @types/node to v22.10.7
Some checks failed
Build Nginx-based docker image / build-static-assets (push) Has been cancelled
Add copyright notice / copyright_notice (pull_request) Successful in 2m22s
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m36s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 4m51s
2025-01-16 03:07:47 +00:00
Renovate Bot
cdf688e8af Update pnpm to v9.15.4
All checks were successful
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 50s
Build Nginx-based docker image / build-static-assets (push) Successful in 10m18s
2025-01-14 03:21:43 +00:00
Renovate Bot
46a686f578 Update dependency @types/node to v22.10.6
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m51s
Add copyright notice / copyright_notice (pull_request) Successful in 6m1s
Playwright Tests / test (push) Has been skipped
Build Nginx-based docker image / build-static-assets (push) Has been cancelled
Check usage of free licenses / build-static-assets (push) Has been cancelled
2025-01-14 03:05:07 +00:00
5c2249621d Merge pull request 'Update copyright assignment to cover 2025 and include all contributors' (#180) from copyright-2025 into main
All checks were successful
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m15s
Build Nginx-based docker image / build-static-assets (push) Successful in 6m34s
Reviewed-on: #180
2025-01-13 20:43:00 +00:00
501bb3a81a Update copyright assignment to cover 2025 and include all contributors
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m12s
Add copyright notice / copyright_notice (pull_request) Successful in 1m32s
Build Nginx-based docker image / build-static-assets (push) Successful in 6m2s
2025-01-13 21:36:52 +01:00
69f6fcbebe Merge pull request 'Define a button to reset the affinities of all groups' (#179) from reset-all-affinities into main
All checks were successful
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m28s
Build Nginx-based docker image / build-static-assets (push) Successful in 5m40s
Reviewed-on: #179
2025-01-13 20:31:56 +00:00
5d7c71b9ab Define a button to reset the affinities of all groups
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 26s
Add copyright notice / copyright_notice (pull_request) Successful in 29s
Build Nginx-based docker image / build-static-assets (push) Successful in 2m27s
2025-01-13 21:29:24 +01:00
0c05cf7661 Merge pull request 'Prevent duplicate groups in the tree list' (#178) from fix-dup-groups into main
All checks were successful
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 22s
Build Nginx-based docker image / build-static-assets (push) Successful in 3m11s
Reviewed-on: #178
2025-01-12 22:17:27 +00:00
f0e6ff9425 Prevent duplicate groups in the tree list
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 30s
Add copyright notice / copyright_notice (pull_request) Successful in 32s
Build Nginx-based docker image / build-static-assets (push) Successful in 2m33s
2025-01-12 23:14:50 +01:00
20bd7f5983 Merge pull request 'Update dependency @tailwindcss/forms to v0.5.10' (#172) from renovate/tailwindcss-forms-0.x-lockfile into main
All checks were successful
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 17s
Build Nginx-based docker image / build-static-assets (push) Successful in 4m6s
Reviewed-on: #172
2025-01-12 21:47:37 +00:00
52902ff2ba Merge pull request 'Define a button to load the default affinities of a group' (#177) from affinity-reset into main
All checks were successful
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m29s
Build Nginx-based docker image / build-static-assets (push) Successful in 5m42s
Reviewed-on: #177
2025-01-12 21:27:56 +00:00
c233cb60de Define a button to load the default affinities of a group
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 2m0s
Check usage of free licenses / build-static-assets (pull_request) Successful in 3m18s
Build Nginx-based docker image / build-static-assets (push) Successful in 7m19s
2025-01-12 20:54:41 +01:00
Renovate Bot
44ba54db95 Update dependency @tailwindcss/forms to v0.5.10
All checks were successful
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m20s
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 2m26s
Build Nginx-based docker image / build-static-assets (push) Successful in 4m45s
2025-01-11 03:11:24 +00:00
Renovate Bot
be4f9caec7 Update dependency uuid to v11.0.5
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 5m1s
Check usage of free licenses / build-static-assets (pull_request) Successful in 4m4s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m34s
Build Nginx-based docker image / build-static-assets (push) Successful in 17m51s
2025-01-10 03:05:58 +00:00
Renovate Bot
190118a0d1 Update dependency node to v23.6.0
All checks were successful
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 4m29s
Build Nginx-based docker image / build-static-assets (push) Successful in 21m6s
2025-01-09 04:13:52 +00:00
Renovate Bot
862d1f85af Update dependency typescript to v5.7.3
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 7m16s
Add copyright notice / copyright_notice (pull_request) Successful in 8m50s
Playwright Tests / test (push) Has been skipped
Build Nginx-based docker image / build-static-assets (push) Has been cancelled
Check usage of free licenses / build-static-assets (push) Has been cancelled
2025-01-09 03:05:58 +00:00
Renovate Bot
42d2b7091b Update dependency next to v15.1.4
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 5m36s
Check usage of free licenses / build-static-assets (pull_request) Successful in 4m28s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 36s
Build Nginx-based docker image / build-static-assets (push) Successful in 5m3s
2025-01-08 03:04:40 +00:00
Renovate Bot
7024a9ca11 Update pnpm to v9.15.3
Some checks failed
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 4m10s
Build Nginx-based docker image / build-static-assets (push) Failing after 11m49s
2025-01-06 03:52:48 +00:00
Renovate Bot
5951440efb Update dependency uuid to v11.0.4
Some checks failed
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m42s
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 9m39s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 5m11s
Build Nginx-based docker image / build-static-assets (push) Has been cancelled
2025-01-06 03:05:06 +00:00
Renovate Bot
2cdf8aca58 Update dependency @types/node to v22.10.5
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 13m17s
Check usage of free licenses / build-static-assets (pull_request) Successful in 10m41s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 3m26s
Build Nginx-based docker image / build-static-assets (push) Successful in 14m12s
2025-01-04 03:05:49 +00:00
Renovate Bot
82ebaea275 Update dependency primereact to v10.9.1
All checks were successful
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m28s
Build Nginx-based docker image / build-static-assets (push) Successful in 16m17s
2025-01-03 03:28:21 +00:00
Renovate Bot
ff406c35ec Update dependency @types/node to v22.10.4
Some checks are pending
Check usage of free licenses / build-static-assets (pull_request) Successful in 6m6s
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 7m40s
Build Nginx-based docker image / build-static-assets (push) Waiting to run
Check usage of free licenses / build-static-assets (push) Waiting to run
Playwright Tests / test (push) Waiting to run
2025-01-03 03:05:07 +00:00
Renovate Bot
23901834bc Update dependency @types/node to v22.10.3
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m22s
Add copyright notice / copyright_notice (pull_request) Successful in 2m16s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 24s
Build Nginx-based docker image / build-static-assets (push) Successful in 4m28s
2025-01-01 03:04:48 +00:00
f8a6f4d245 Merge pull request 'Push to the remote registry only on the main branch' (#165) from push-only-main into main
All checks were successful
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 35s
Build Nginx-based docker image / build-static-assets (push) Successful in 4m29s
Reviewed-on: #165
2024-12-29 12:22:27 +00:00
5dabecc9ed Update job name to be consistent with other jobs
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 49s
Add copyright notice / copyright_notice (pull_request) Successful in 1m6s
Build Nginx-based docker image / build-static-assets (push) Successful in 3m13s
2024-12-29 13:16:46 +01:00
b3dc01bbb5 Build nginx image on all branches
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 43s
Add copyright notice / copyright_notice (pull_request) Successful in 50s
Build Nginx-based docker image / build-static-assets (push) Has been cancelled
2024-12-29 13:14:32 +01:00
2ded8676f4 Push to the remote registry only on the main branch 2024-12-29 13:13:44 +01:00
1db83a6004 Merge pull request 'Optimize image builds by caching intermediate layers' (#164) from fix-docker-build into main
All checks were successful
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 24s
Build Nginx-based docker image / build-static-assets (push) Successful in 4m1s
Reviewed-on: #164
2024-12-29 12:11:51 +00:00
1269a1a56f Run docker images only on the main branch
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 31s
Check usage of free licenses / build-static-assets (pull_request) Successful in 48s
2024-12-29 13:10:58 +01:00
3e0fb208e2 Fix stage name and add additional stage
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 32s
Add copyright notice / copyright_notice (pull_request) Successful in 49s
Build Nginx-based docker image / build-static-assets (push) Successful in 1m38s
2024-12-29 11:37:11 +01:00
0594bf9456 Build and cache the intermediate stages
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 53s
Add copyright notice / copyright_notice (pull_request) Successful in 1m3s
Build Nginx-based docker image / build-static-assets (push) Failing after 1m5s
2024-12-29 11:34:12 +01:00
36c9acee51 Fix location of cache-from in Docker build
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 31s
Add copyright notice / copyright_notice (pull_request) Successful in 36s
Build Nginx-based docker image / build-static-assets (push) Failing after 3m33s
2024-12-29 11:28:36 +01:00
Renovate Bot
b799a052a8 Update pnpm to v9.15.2
Some checks failed
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m24s
Build Nginx-based docker image / build-static-assets (push) Failing after 1m26s
2024-12-29 01:15:16 +00:00
Renovate Bot
7a402d81b9 Update dependency next to v15.1.3
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 3m52s
Check usage of free licenses / build-static-assets (pull_request) Successful in 4m15s
Playwright Tests / test (push) Has been skipped
Build Nginx-based docker image / build-static-assets (push) Has been cancelled
Check usage of free licenses / build-static-assets (push) Has been cancelled
2024-12-29 01:10:17 +00:00
c540828463 Merge pull request 'Fix build issue with types returned by the Slider component' (#162) from fix-build into main
Some checks failed
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 36s
Build Nginx-based docker image / build-static-assets (push) Failing after 1m40s
Reviewed-on: #162
2024-12-28 19:28:06 +00:00
a6b678c6ae Fix build issue with types returned by the Slider component
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 33s
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m31s
2024-12-28 20:23:35 +01:00
6d35009593 Merge pull request 'Allow configuring affinity between groups' (#161) from group-affinities into main
Some checks failed
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 33s
Build Nginx-based docker image / build-static-assets (push) Failing after 2m20s
Reviewed-on: #161
2024-12-28 18:56:17 +00:00
dc735f1a2c Add copyright notice
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 43s
Add copyright notice / copyright_notice (pull_request) Successful in 47s
2024-12-28 18:53:59 +00:00
c49acf8ab6 Merge remote-tracking branch 'origin/main' into group-affinities
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 39s
Add copyright notice / copyright_notice (pull_request) Successful in 32s
2024-12-28 16:49:46 +01:00
52fb808d45 Define a dialog to configure the affinities between groups
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Failing after 34s
Add copyright notice / copyright_notice (pull_request) Failing after 34s
2024-12-28 14:18:14 +01:00
d307ff6927 Update status of the parent component 2024-12-28 13:04:01 +01:00
b7e2bbb46f Initial approach to configure affinities between groups 2024-12-28 13:00:24 +01:00
3f38a9191f Merge pull request 'Define a health endpoint for docker compose' (#160) from health-check-endpoint into main
Some checks failed
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 27s
Build Nginx-based docker image / build-static-assets (push) Failing after 1m22s
Reviewed-on: #160
2024-12-28 10:51:18 +00:00
07476221c3 Add copyright notice
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 32s
Add copyright notice / copyright_notice (pull_request) Successful in 34s
2024-12-28 10:46:08 +00:00
b1339e2ce9 Define a health endpoint for docker compose
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 22s
Check usage of free licenses / build-static-assets (pull_request) Successful in 35s
2024-12-28 11:45:22 +01:00
ff73133e05 Define a health endpoint for docker compose 2024-12-28 11:42:22 +01:00
70b023acac Merge pull request 'Update dependency next to v15.1.2' (#134) from renovate/next-15.x into main
All checks were successful
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 16s
Build Nginx-based docker image / build-static-assets (push) Successful in 3m12s
Reviewed-on: #134
2024-12-21 10:08:30 +00:00
Renovate Bot
42d02306eb Update dependency next to v15.1.2
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 2m19s
Check usage of free licenses / build-static-assets (pull_request) Successful in 29s
2024-12-21 01:07:14 +00:00
Renovate Bot
632a2f9815 Update dependency @types/react to v18.3.18
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m17s
Add copyright notice / copyright_notice (pull_request) Successful in 2m33s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 1m10s
Build Nginx-based docker image / build-static-assets (push) Successful in 4m13s
2024-12-21 01:07:01 +00:00
Renovate Bot
e536fd1cd1 Update dependency node to v23.5.0
All checks were successful
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 55s
Build Nginx-based docker image / build-static-assets (push) Successful in 5m26s
2024-12-20 01:15:00 +00:00
Renovate Bot
6dcc87a2c2 Update pnpm to v9.15.1
Some checks failed
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 4m13s
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m55s
Playwright Tests / test (push) Has been skipped
Build Nginx-based docker image / build-static-assets (push) Has been cancelled
Check usage of free licenses / build-static-assets (push) Has been cancelled
2024-12-20 01:06:51 +00:00
Renovate Bot
96c45ee175 Update dependency tailwindcss to v3.4.17
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 3m32s
Check usage of free licenses / build-static-assets (pull_request) Successful in 24s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 26s
Build Nginx-based docker image / build-static-assets (push) Successful in 3m13s
2024-12-18 01:06:06 +00:00
Renovate Bot
fac573c69d Update dependency @types/react to v18.3.17
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 2m27s
Add copyright notice / copyright_notice (pull_request) Successful in 3m14s
Playwright Tests / test (push) Has been skipped
Check usage of free licenses / build-static-assets (push) Successful in 3m59s
Build Nginx-based docker image / build-static-assets (push) Successful in 10m24s
2024-12-17 01:06:27 +00:00
53 changed files with 628 additions and 448 deletions

View File

@ -1,8 +1,6 @@
name: Build Nginx-based docker image name: Build Nginx-based docker image
on: on:
push: push:
branches:
- main
concurrency: concurrency:
group: ${{ github.ref }} group: ${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
@ -25,12 +23,31 @@ jobs:
username: ${{ secrets.PRIVATE_REGISTRY_USERNAME }} username: ${{ secrets.PRIVATE_REGISTRY_USERNAME }}
password: ${{ secrets.PRIVATE_REGISTRY_TOKEN }} password: ${{ secrets.PRIVATE_REGISTRY_TOKEN }}
- name: Build and push - name: Build and push intermediate stages (deps)
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: . context: .
push: ${{ github.event_name != 'pull_request' }} target: deps
tags: | push: ${{ github.ref == 'refs/heads/main' }}
${{ secrets.PRIVATE_REGISTRY_HOST }}/${{ env.GITHUB_REPOSITORY }}:latest tags: ${{ secrets.PRIVATE_REGISTRY_HOST }}/${{ env.GITHUB_REPOSITORY }}:deps
cache-from: type=registry,ref=user/app:latest cache-from: type=registry,ref=${{ secrets.PRIVATE_REGISTRY_HOST }}/${{ env.GITHUB_REPOSITORY }}:deps
cache-to: type=inline
- name: Build and push intermediate stages (builder)
uses: docker/build-push-action@v6
with:
context: .
target: builder
push: ${{ github.ref == 'refs/heads/main' }}
tags: ${{ secrets.PRIVATE_REGISTRY_HOST }}/${{ env.GITHUB_REPOSITORY }}:builder
cache-from: type=registry,ref=${{ secrets.PRIVATE_REGISTRY_HOST }}/${{ env.GITHUB_REPOSITORY }}:builder
cache-to: type=inline
- name: Build and push (final)
uses: docker/build-push-action@v6
with:
context: .
push: ${{ github.ref == 'refs/heads/main' }}
tags: ${{ secrets.PRIVATE_REGISTRY_HOST }}/${{ env.GITHUB_REPOSITORY }}:latest
cache-from: type=registry,ref=${{ secrets.PRIVATE_REGISTRY_HOST }}/${{ env.GITHUB_REPOSITORY }}:latest
cache-to: type=inline cache-to: type=inline

View File

@ -16,7 +16,7 @@ jobs:
ref: ${{ github.head_ref }} ref: ${{ github.head_ref }}
- uses: VinnyBabuManjaly/copyright-action@v1.0.0 - uses: VinnyBabuManjaly/copyright-action@v1.0.0
with: with:
CopyrightString: '/* Copyright (C) 2024 Manuel Bustillo*/\n\n' CopyrightString: '/* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/\n\n'
FileType: '.tsx, .jsx, .ts' FileType: '.tsx, .jsx, .ts'
Path: 'app/, config/, db/' Path: 'app/, config/, db/'
IgnorePath: 'testfolder1/a/, testfolder3' IgnorePath: 'testfolder1/a/, testfolder3'

2
.nvmrc
View File

@ -1 +1 @@
23.4.0 23.11.0

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client' 'use client'

View File

@ -1,9 +1,12 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client'; 'use client';
import { AbstractApi, } from '@/app/api/abstract-api'; import { AbstractApi, } from '@/app/api/abstract-api';
import { Group, GroupSerializer } from '@/app/lib/group';
import { Guest, GuestSerializer } from '@/app/lib/guest'; import { Guest, GuestSerializer } from '@/app/lib/guest';
import { getCsrfToken, getSlug } from '@/app/lib/utils';
import AffinitiesFormDialog from '@/app/ui/components/affinities-form-dialog';
import { classNames } from '@/app/ui/components/button'; import { classNames } from '@/app/ui/components/button';
import GroupFormDialog from '@/app/ui/components/group-form-dialog'; import GroupFormDialog from '@/app/ui/components/group-form-dialog';
import GuestFormDialog from '@/app/ui/components/guest-form-dialog'; import GuestFormDialog from '@/app/ui/components/guest-form-dialog';
@ -12,7 +15,6 @@ import SkeletonTable from '@/app/ui/guests/skeleton-row';
import GuestsTable from '@/app/ui/guests/table'; import GuestsTable from '@/app/ui/guests/table';
import { TabPanel, TabView } from 'primereact/tabview'; import { TabPanel, TabView } from 'primereact/tabview';
import { Suspense, useState } from 'react'; import { Suspense, useState } from 'react';
import { Group, GroupSerializer } from '@/app/lib/group';
export default function Page() { export default function Page() {
@ -30,10 +32,22 @@ export default function Page() {
}); });
} }
function resetAffinities() {
fetch(`/api/${getSlug()}/groups/affinities/reset`, {
method: 'POST',
headers: {
'Accept': 'application/json',
'X-CSRF-TOKEN': getCsrfToken(),
}
})
}
const [groupsLoaded, setGroupsLoaded] = useState(false); const [groupsLoaded, setGroupsLoaded] = useState(false);
const [groups, setGroups] = useState<Array<Group>>([]); const [groups, setGroups] = useState<Array<Group>>([]);
const [groupBeingEdited, setGroupBeingEdited] = useState<Group | undefined>(undefined); const [groupBeingEdited, setGroupBeingEdited] = useState<Group | undefined>(undefined);
const [groupAffinitiesBeingEditted, setGroupAffinitiesBeingEditted] = useState<Group | undefined>(undefined);
const [guestsLoaded, setGuestsLoaded] = useState(false); const [guestsLoaded, setGuestsLoaded] = useState(false);
const [guests, setGuests] = useState<Array<Guest>>([]); const [guests, setGuests] = useState<Array<Guest>>([]);
const [guestBeingEdited, setGuestBeingEdited] = useState<Guest | undefined>(undefined); const [guestBeingEdited, setGuestBeingEdited] = useState<Guest | undefined>(undefined);
@ -67,7 +81,11 @@ export default function Page() {
<TabPanel header="Groups" leftIcon="pi pi-sitemap mx-2"> <TabPanel header="Groups" leftIcon="pi pi-sitemap mx-2">
<div className="flex flex-col w-full items-center justify-between"> <div className="flex flex-col w-full items-center justify-between">
<button onClick={() => setGroupBeingEdited({})} className={classNames('primary')}>Add new</button> <div>
<button onClick={() => setGroupBeingEdited({})} className={classNames('primary')}>Add new</button>
<button onClick={resetAffinities} className={classNames('yellow')}>Reset affinities</button>
</div>
<GroupFormDialog <GroupFormDialog
key={groupBeingEdited?.id} key={groupBeingEdited?.id}
groups={groups} groups={groups}
@ -77,22 +95,23 @@ export default function Page() {
onHide={() => { setGroupBeingEdited(undefined) }} onHide={() => { setGroupBeingEdited(undefined) }}
/> />
<AffinitiesFormDialog
groups={groups}
group={groupAffinitiesBeingEditted}
visible={groupAffinitiesBeingEditted !== undefined}
onHide={() => { setGroupAffinitiesBeingEditted(undefined) }}
/>
<Suspense fallback={<SkeletonTable />}> <Suspense fallback={<SkeletonTable />}>
<GroupsTable <GroupsTable
groups={groups} groups={groups}
onUpdate={refreshGroups} onUpdate={refreshGroups}
onEdit={(group) => setGroupBeingEdited(group)} onEdit={(group) => setGroupBeingEdited(group)}
onEditAffinities={(group) => setGroupAffinitiesBeingEditted(group)}
/> />
</Suspense> </Suspense>
</div> </div>
</ TabPanel> </ TabPanel>
<TabPanel header="Affinities" leftIcon="pi pi-heart mx-2">
<div className="flex flex-col w-full items-center justify-between">
<Suspense fallback={<SkeletonTable />}>
<GroupsAffinityTable groups = {groups}/>
</Suspense>
</div>
</TabPanel>
</ TabView> </ TabView>
</div> </div>

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import SideNav from '@/app/ui/dashboard/sidenav'; import SideNav from '@/app/ui/dashboard/sidenav';

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client' 'use client'

View File

@ -1,16 +1,42 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client'; 'use client';
import { AbstractApi } from '@/app/api/abstract-api';
import { TableSimulation, TableSimulationSerializer } from '@/app/lib/tableSimulation';
import Arrangement from '@/app/ui/arrangements/arrangement'; import Arrangement from '@/app/ui/arrangements/arrangement';
import React, { useState } from 'react';
import ArrangementsTable from '@/app/ui/arrangements/arrangements-table'; import ArrangementsTable from '@/app/ui/arrangements/arrangements-table';
import { classNames } from '@/app/ui/components/button';
import { Toast } from 'primereact/toast';
import React, { useRef, useState } from 'react';
export default function Page() { export default function Page() {
const toast = useRef<Toast>(null);
const show = () => {
toast.current?.show({
severity: 'success',
summary: 'Simulation created',
detail: 'Table distributions will be calculated shortly, please come back in some minutes'
});
};
const [currentArrangement, setCurrentArrangement] = useState<string | null>(null); const [currentArrangement, setCurrentArrangement] = useState<string | null>(null);
function createSimulation() {
const api = new AbstractApi<TableSimulation>();
const serializer = new TableSimulationSerializer();
api.create(serializer, new TableSimulation(), show);
}
return ( return (
<> <>
<div className="flex flex-col w-full items-center justify-between">
<Toast ref={toast} />
<button onClick={createSimulation} className={classNames('primary')}>Add new</button>
</div>
<ArrangementsTable onArrangementSelected={setCurrentArrangement} /> <ArrangementsTable onArrangementSelected={setCurrentArrangement} />
{currentArrangement && <Arrangement key={currentArrangement} id={currentArrangement} />} {currentArrangement && <Arrangement key={currentArrangement} id={currentArrangement} />}
</> </>

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client'; 'use client';

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import { Entity } from '@/app/lib/definitions'; import { Entity } from '@/app/lib/definitions';
import { getCsrfToken, getSlug } from '@/app/lib/utils'; import { getCsrfToken, getSlug } from '@/app/lib/utils';

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import { asArray, getCsrfToken, getSlug } from '@/app/lib/utils'; import { asArray, getCsrfToken, getSlug } from '@/app/lib/utils';
import { Captcha, StructuredErrors, User } from '@/app/lib/definitions'; import { Captcha, StructuredErrors, User } from '@/app/lib/definitions';

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import { data } from "autoprefixer"; import { data } from "autoprefixer";
import { getCsrfToken } from "../lib/utils"; import { getCsrfToken } from "../lib/utils";

7
app/api/health/route.ts Normal file
View File

@ -0,0 +1,7 @@
/* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import { NextResponse } from "next/server";
export function GET() {
return NextResponse.json({});
}

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import { TableArrangement } from '@/app/lib/definitions'; import { TableArrangement } from '@/app/lib/definitions';
import { getSlug } from '../lib/utils'; import { getSlug } from '../lib/utils';
@ -12,6 +12,7 @@ export function loadTableSimulations(onLoad?: (tableSimulations: TableArrangemen
id: record.id, id: record.id,
name: record.name, name: record.name,
discomfort: record.discomfort, discomfort: record.discomfort,
valid: record.valid,
}); });
})); }));
}, (error) => { }, (error) => {

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import '@/app/ui/global.css' import '@/app/ui/global.css'

5
app/lib/affinities.tsx Normal file
View File

@ -0,0 +1,5 @@
/* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
export class Affinities {
[key:string]: number;
}

View File

@ -1,31 +0,0 @@
import { Entity } from "./definitions";
export class Affinity implements Entity {
id?: string;
groupId: string;
affinities: { [key: string]: number };
constructor(id: string, groupId: string, affinities: { [key: string]: number }) {
this.id = id;
this.groupId = groupId;
this.affinities = affinities;
}
}
export class AffinitySerializer {
fromJson(json: any): Affinity {
return new Affinity(json.id, json.groupId, json.affinities);
}
toJson(affinity: Affinity): any {
return {
id: affinity.id,
groupId: affinity.groupId,
affinities: affinity.affinities
};
}
apiPath(): string {
return 'affinities';
}
}

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import { AttendanceSummary } from "./group"; import { AttendanceSummary } from "./group";
import { Guest } from "./guest"; import { Guest } from "./guest";
@ -12,7 +12,8 @@ export type TableArrangement = {
number: number; number: number;
name: string; name: string;
guests?: Guest[]; guests?: Guest[];
discomfort?: number discomfort?: number;
valid?: boolean;
} }
export type User = { export type User = {

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import { Serializable } from "../api/abstract-api"; import { Serializable } from "../api/abstract-api";
import { Entity } from "./definitions"; import { Entity } from "./definitions";

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import { Entity } from "./definitions"; import { Entity } from "./definitions";

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import { Serializable } from "../api/abstract-api"; import { Serializable } from "../api/abstract-api";
import { Entity } from "./definitions"; import { Entity } from "./definitions";

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import { Serializable } from "../api/abstract-api"; import { Serializable } from "../api/abstract-api";
import { Entity } from "./definitions"; import { Entity } from "./definitions";
@ -19,12 +19,12 @@ export type Table = {
} }
export class TableSimulation implements Entity { export class TableSimulation implements Entity {
id: string; id?: string;
tables: Table[]; tables: Table[];
constructor(id: string, tables: Table[]) { constructor(id?: string, tables?: Table[]) {
this.id = id; this.id = id;
this.tables = tables; this.tables = tables || [];
} }
} }

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
export const getCsrfToken = () => { export const getCsrfToken = () => {
return document.cookie return document.cookie

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import * as HeroIcon from '@heroicons/react/24/outline' import * as HeroIcon from '@heroicons/react/24/outline'
import { ComponentProps } from 'react' import { ComponentProps } from 'react'

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client'; 'use client';

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client' 'use client'
@ -7,42 +7,57 @@ import { TableArrangement } from '@/app/lib/definitions';
import { classNames } from "../components/button"; import { classNames } from "../components/button";
import TableOfContents from "../components/table-of-contents"; import TableOfContents from "../components/table-of-contents";
import { loadTableSimulations } from "@/app/api/tableSimulations"; import { loadTableSimulations } from "@/app/api/tableSimulations";
import { ArchiveBoxXMarkIcon, CheckBadgeIcon } from "@heroicons/react/24/outline";
import { Tooltip } from "primereact/tooltip";
import clsx from "clsx";
export default function ArrangementsTable ({onArrangementSelected}: {onArrangementSelected: (arrangementId: string) => void}) { export default function ArrangementsTable({ onArrangementSelected }: { onArrangementSelected: (arrangementId: string) => void }) {
const [arrangements, setArrangements] = useState<Array<TableArrangement>>([]); const [arrangements, setArrangements] = useState<Array<TableArrangement>>([]);
const [arrangementsLoaded, setArrangementsLoaded] = useState(false); const [arrangementsLoaded, setArrangementsLoaded] = useState(false);
function refreshSimulations() { function refreshSimulations() {
loadTableSimulations((arrangements) => { loadTableSimulations((arrangements) => {
setArrangements(arrangements); setArrangements(arrangements);
setArrangementsLoaded(true); setArrangementsLoaded(true);
}); });
} }
function arrangementClicked(e: React.MouseEvent<HTMLElement>) { function arrangementClicked(e: React.MouseEvent<HTMLElement>) {
onArrangementSelected(e.currentTarget.getAttribute('data-arrangement-id') || ''); onArrangementSelected(e.currentTarget.getAttribute('data-arrangement-id') || '');
} }
!arrangementsLoaded && refreshSimulations(); !arrangementsLoaded && refreshSimulations();
return( return (
<TableOfContents <TableOfContents
headers={['Name', 'Discomfort', 'Actions']} headers={['Name', 'Discomfort', 'Actions', 'Status']}
caption='Simulations' caption='Simulations'
elements={arrangements} elements={arrangements}
rowRender={(arrangement) => ( rowRender={(arrangement) => (
<tr key={arrangement.id} className="bg-white border-b odd:bg-white odd:dark:bg-gray-900 even:bg-gray-50 even:dark:bg-gray-800"> <tr key={arrangement.id} className={clsx("border-b", {
<th scope="row" className="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white"> "bg-white odd:bg-white even:bg-gray-50": arrangement.valid,
{arrangement.name} "bg-red-50 odd:bg-red-50 even:bg-red-100": !arrangement.valid
</th> })}>
<td className="px-6 py-4"> <th scope="row" className="px-6 py-4 font-medium text-gray-900 whitespace-nowrap">
{arrangement.discomfort} {arrangement.name}
</td> </th>
<td> <td className="px-6 py-4">
<button data-arrangement-id={arrangement.id} onClick={arrangementClicked} className={classNames('primary')}>Load</button> {arrangement.discomfort}
</td> </td>
</tr> <td>
)} <button data-arrangement-id={arrangement.id} onClick={arrangementClicked} className={classNames('primary')}>Load</button>
/> </td>
); <td>
<Tooltip target=".tooltip-status" />
{
arrangement.valid ?
<CheckBadgeIcon className='size-6 tooltip-status' data-pr-position="right" data-pr-tooltip="Simulation is valid" /> :
<ArchiveBoxXMarkIcon className='size-6 tooltip-status' data-pr-position="right" data-pr-tooltip="Simulation is expired due to attendance or affinity changes" />
}
</td>
</tr>
)}
/>
);
} }

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import clsx from 'clsx'; import clsx from 'clsx';

View File

@ -0,0 +1,82 @@
/* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client';
import { Affinities } from '@/app/lib/affinities';
import { Group } from '@/app/lib/group';
import { getCsrfToken, getSlug } from '@/app/lib/utils';
import { classNames } from '@/app/ui/components/button';
import { Dialog } from 'primereact/dialog';
import { useEffect, useState } from 'react';
import AffinitySlider from './form/affinitySlider';
export default function AffinitiesFormDialog({ groups, group, visible, onHide }: {
groups: Group[],
group?: Group,
visible: boolean,
onHide: () => void,
}) {
const [affinities, setAffinities] = useState<Affinities>({});
const [isLoadingAffinities, setIsLoadingAffinities] = useState(true);
useEffect(() => {
setIsLoadingAffinities(true);
if (group?.id === undefined) {
setAffinities({});
setIsLoadingAffinities(false)
} else {
fetch(`/api/${getSlug()}/groups/${group?.id}/affinities`)
.then((response) => response.json())
.then((data) => {
setAffinities(data);
setIsLoadingAffinities(false)
});
}
}, [group]);
function submitAffinities() {
const formattedAffinities = Object.entries(affinities).map(([groupId, affinity]) => ({ group_id: groupId, affinity: affinity }));
fetch(`/api/${getSlug()}/groups/${group?.id}/affinities/bulk_update`, {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'X-CSRF-TOKEN': getCsrfToken(),
},
body: JSON.stringify({ affinities: formattedAffinities })
}).then(() => {
onHide();
});
}
function resetAffinities() {
fetch(`/api/${getSlug()}/groups/${group?.id}/affinities/default`, {
method: 'GET',
headers: {
'Accept': 'application/json',
}
}).then((response) => response.json())
.then(setAffinities);
}
return (
<Dialog header="Update affinities" visible={visible} style={{ width: '60vw' }} onHide={onHide}>
{!isLoadingAffinities && <div className="card justify-evenly py-5 bg-gray-200 flex flex-col">
<span className="text-center p-4">Describe the affinity with the rest of the groups</span>
{
groups.filter((currentGroup) => currentGroup.id !== group?.id).map((group) =>
<div key={group.id} className="flex flex-row hover:bg-gray-300 px-3 py-2 items-center">
<span className="w-1/3 text-right px-4">{group.name}</span>
<AffinitySlider value={group.id && affinities[group.id] || 1} onChange={(value) => setAffinities({ ...affinities, [group.id || "default"]: value })} />
</div>)
}
<div className="flex justify-center">
<button className={classNames('gray')} onClick={resetAffinities} >Reset</button>
<button className={classNames('primary')} onClick={submitAffinities} >Update</button>
</div>
</div>
}
</Dialog>
);
}

View File

@ -1,14 +1,15 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import clsx from "clsx"; import clsx from "clsx";
type ButtonColor = 'primary' | 'blue' | 'green' | 'red' | 'yellow'; type ButtonColor = 'primary' | 'blue' | 'green' | 'red' | 'yellow' | 'gray';
export function classNames(type: ButtonColor) { export function classNames(type: ButtonColor) {
return (clsx("text-white py-1 px-2 mx-1 rounded disabled:opacity-50 disabled:cursor-not-allowed", { return (clsx("text-white py-1 px-2 mx-1 rounded disabled:opacity-50 disabled:cursor-not-allowed", {
'bg-blue-400 hover:bg-blue-600': type === 'primary' || type === 'blue', 'bg-blue-400 hover:bg-blue-600': type === 'primary' || type === 'blue',
'bg-green-500 hover:bg-green-600': type === 'green', 'bg-green-500 hover:bg-green-600': type === 'green',
'bg-red-500 hover:bg-red-600': type === 'red', 'bg-red-500 hover:bg-red-600': type === 'red',
'bg-yellow-500 hover:bg-yellow-700': type === 'yellow' 'bg-yellow-500 hover:bg-yellow-700': type === 'yellow',
'bg-gray-500 hover:bg-gray-700': type === 'gray'
})) }))
} }

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import clsx from "clsx" import clsx from "clsx"
import { Icon } from "../../types"; import { Icon } from "../../types";

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client'; 'use client';

View File

@ -0,0 +1,40 @@
/* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import { Slider } from 'primereact/slider';
export default function AffinitySlider({ value, onChange }: { value: number, onChange: (value: number) => void }) {
const toNumber = (value : number | [number, number]) => {
if(value instanceof Array) {
return value[0];
}
return value;
}
const label = (value: number) => {
if (value < 0.2) {
return 'Nemesis';
} else if (value < 0.5) {
return 'Enemies';
} else if (value < 0.9) {
return 'Bad vibes';
} else if (value < 1.1) {
return 'Neutral';
} else if (value < 1.5) {
return 'Good vibes';
} else if (value < 1.8) {
return 'Good friends';
} else {
return 'Besties';
}
}
return (
<>
<Slider value={value} min={0} max={2} step={.1} onChange={(e) => onChange(toNumber(e.value))} className='w-80 bg-gray-400' />
<span className="px-4 w-1/5">
{label(value)}
</span>
</>
)
}

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import React, { useState } from 'react'; import React, { useState } from 'react';

View File

@ -1,19 +1,18 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client'; 'use client';
import { AbstractApi } from '@/app/api/abstract-api';
import { Group, GroupSerializer } from '@/app/lib/group';
import { classNames } from '@/app/ui/components/button'; import { classNames } from '@/app/ui/components/button';
import { Dialog } from 'primereact/dialog';
import { ColorPicker } from 'primereact/colorpicker'; import { ColorPicker } from 'primereact/colorpicker';
import { Dialog } from 'primereact/dialog';
import { Dropdown } from 'primereact/dropdown'; import { Dropdown } from 'primereact/dropdown';
import { FloatLabel } from 'primereact/floatlabel'; import { FloatLabel } from 'primereact/floatlabel';
import { InputText } from 'primereact/inputtext'; import { InputText } from 'primereact/inputtext';
import { useState } from 'react'; import { useState } from 'react';
import { Group, GroupSerializer } from '@/app/lib/group';
import { ApiError } from 'next/dist/server/api-utils';
import { AbstractApi } from '@/app/api/abstract-api';
export default function GroupFormDialog({groups, onCreate, onHide, group, visible }: { export default function GroupFormDialog({ groups, onCreate, onHide, group, visible }: {
groups: Group[], groups: Group[],
onCreate?: () => void, onCreate?: () => void,
onHide: () => void, onHide: () => void,

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client'; 'use client';

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client'; 'use client';

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client'; 'use client';

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
export default function TableOfContents<Type>({ headers, caption, elements, rowRender }: { headers: string[], caption: string, elements: Type[], rowRender: (element: Type) => JSX.Element }) { export default function TableOfContents<Type>({ headers, caption, elements, rowRender }: { headers: string[], caption: string, elements: Type[], rowRender: (element: Type) => JSX.Element }) {
return ( return (

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import { Guest } from "@/app/lib/guest"; import { Guest } from "@/app/lib/guest";
import { Table as TableType } from "@/app/lib/tableSimulation"; import { Table as TableType } from "@/app/lib/tableSimulation";

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import { GlobalSummary as Summary} from '@/app/lib/definitions'; import { GlobalSummary as Summary} from '@/app/lib/definitions';
import { MainCard, SecondaryCard } from '../components/dashboard-cards'; import { MainCard, SecondaryCard } from '../components/dashboard-cards';

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
export default function Loading() { export default function Loading() {
return <div>Loading...</div>; return <div>Loading...</div>;

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client' 'use client'

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client'; 'use client';

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client' 'use client'

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import { Inter, Lusitana, Gloria_Hallelujah} from 'next/font/google'; import { Inter, Lusitana, Gloria_Hallelujah} from 'next/font/google';

View File

@ -1,11 +0,0 @@
'use client'
import { Group } from "@/app/lib/group"
export default function Affinities({groups, affinities}: {groups: Group[], affinities: {[key: string]: number}[]}) {
return (
<>
</>
)
}

View File

@ -1,18 +1,19 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client'; 'use client';
import { AbstractApi } from '@/app/api/abstract-api'; import { AbstractApi } from '@/app/api/abstract-api';
import { Group, GroupSerializer } from '@/app/lib/group'; import { Group, GroupSerializer } from '@/app/lib/group';
import { PencilIcon, TrashIcon } from '@heroicons/react/24/outline'; import { AdjustmentsHorizontalIcon, PencilIcon, TrashIcon } from '@heroicons/react/24/outline';
import { Column } from 'primereact/column'; import { Column } from 'primereact/column';
import { TreeNode } from 'primereact/treenode'; import { TreeNode } from 'primereact/treenode';
import { TreeTable } from 'primereact/treetable'; import { TreeTable } from 'primereact/treetable';
export default function GroupsTable({ groups, onUpdate, onEdit }: { export default function GroupsTable({ groups, onUpdate, onEdit, onEditAffinities }: {
groups: Group[], groups: Group[],
onUpdate: () => void, onUpdate: () => void,
onEdit: (group: Group) => void, onEdit: (group: Group) => void,
onEditAffinities: (group: Group) => void,
}) { }) {
const api = new AbstractApi<Group>(); const api = new AbstractApi<Group>();
@ -22,6 +23,7 @@ export default function GroupsTable({ groups, onUpdate, onEdit }: {
<div className="flex flex-row items-center"> <div className="flex flex-row items-center">
<TrashIcon className='size-6 cursor-pointer' onClick={() => { api.destroy(serializer, group, onUpdate) }} /> <TrashIcon className='size-6 cursor-pointer' onClick={() => { api.destroy(serializer, group, onUpdate) }} />
<PencilIcon className='size-6 cursor-pointer' onClick={() => onEdit(group)} /> <PencilIcon className='size-6 cursor-pointer' onClick={() => onEdit(group)} />
<AdjustmentsHorizontalIcon className='size-6 cursor-pointer' onClick={() => onEditAffinities(group)} />
</div> </div>
); );
@ -33,6 +35,7 @@ export default function GroupsTable({ groups, onUpdate, onEdit }: {
return acc; return acc;
}, new Map()); }, new Map());
groups.forEach(group => group.children = []);
groups.forEach(group => { groups.forEach(group => {
if (group.parentId) { if (group.parentId) {
const parent = index.get(group.parentId); const parent = index.get(group.parentId);

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
import Skeleton from '@/app/ui/skeleton'; import Skeleton from '@/app/ui/skeleton';

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client'; 'use client';

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
'use client'; 'use client';

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Manuel Bustillo*/ /* Copyright (C) 2024-2025 LibreWeddingPlanner contributors*/
export default function Skeleton({ className }: { className: string }) { export default function Skeleton({ className }: { className: string }) {
return <div className={`bg-slate-200 motion-safe:animate-pulse rounded ${className}`} />; return <div className={`bg-slate-200 motion-safe:animate-pulse rounded ${className}`} />;

View File

@ -8,31 +8,31 @@
"dependencies": { "dependencies": {
"@heroicons/react": "^2.1.4", "@heroicons/react": "^2.1.4",
"@tailwindcss/forms": "^0.5.7", "@tailwindcss/forms": "^0.5.7",
"autoprefixer": "10.4.20", "autoprefixer": "10.4.21",
"bcrypt": "^5.1.1", "bcrypt": "^5.1.1",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"next": "15.0.3", "next": "15.3.1",
"next-auth": "5.0.0-beta.25", "next-auth": "5.0.0-beta.25",
"postcss": "8.4.49", "postcss": "8.5.3",
"primeicons": "^7.0.0", "primeicons": "^7.0.0",
"primereact": "^10.8.2", "primereact": "^10.8.2",
"react": "19.0.0-rc-f38c22b244-20240704", "react": "19.0.0-rc-f38c22b244-20240704",
"react-dom": "19.0.0-rc-f38c22b244-20240704", "react-dom": "19.0.0-rc-f38c22b244-20240704",
"tailwindcss": "3.4.16", "tailwindcss": "3.4.17",
"typescript": "5.7.2", "typescript": "5.8.3",
"use-debounce": "^10.0.1", "use-debounce": "^10.0.1",
"uuid": "11.0.3", "uuid": "11.1.0",
"zod": "^3.23.8" "zod": "^3.23.8"
}, },
"devDependencies": { "devDependencies": {
"@playwright/test": "^1.46.0", "@playwright/test": "^1.46.0",
"@types/bcrypt": "^5.0.2", "@types/bcrypt": "^5.0.2",
"@types/node": "22.10.2", "@types/node": "22.14.1",
"@types/react": "18.3.12", "@types/react": "18.3.20",
"@types/react-dom": "18.3.5" "@types/react-dom": "18.3.6"
}, },
"engines": { "engines": {
"node": ">=23.0.0" "node": ">=23.0.0"
}, },
"packageManager": "pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c" "packageManager": "pnpm@9.15.9+sha512.68046141893c66fad01c079231128e9afb89ef87e2691d69e4d40eee228988295fd4682181bae55b58418c3a253bde65a505ec7c5f9403ece5cc3cd37dcf2531"
} }

580
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff