jakob.scheid
bd30579923
refactor(settings): move setttings path normalization utility to a separate file
...
Moved the normalizePagePath utility from the settings page composable to
a separate utility file and restructured tests accordingly.
2026-07-28 20:10:23 +02:00
jakob.scheid
24b4e45116
feat(settings): add page path normalization type check
...
Added a type check to the normalizePagePath function. The function now
returns an empty array if the path is not a string.
2026-07-28 20:10:22 +02:00
jakob.scheid
6b347bb845
feat(settings): omit empty settings page segments
...
The composable useSettingsPage now omits empty segments in the path.
2026-07-28 20:10:21 +02:00
jakob.scheid
c5a16d2797
feat(settings): filter characters that would cause a broken URL from settings page path
2026-07-28 20:10:21 +02:00
jakob.scheid
f7f4de8341
test(settings): distinguish between unit tests and integration tests
...
Separated unit tests and integration tests in the test for
useSettingsPage more clearly.
2026-07-28 20:10:21 +02:00
jakob.scheid
cd4956fbe6
refactor(settings): push route object instead of raw string
...
Modified the useSettingsPage composable to use a route object instead
of a raw string in goToSettingsPage and moved settings route child
routes into the settings route itself using 'rest(.*)*'.
2026-07-28 20:10:20 +02:00
jakob.scheid
241ac889fc
feat(settings): make settings page composable more compatible
...
The composable now uses replace instead of replaceAll which is not
supported by some old browsers.
2026-07-28 20:10:20 +02:00
jakob.scheid
d3f3ef37ed
fix(settings): omit leading/trailing and consecuting dots in noralizePagePath
2026-07-28 20:10:20 +02:00
jakob.scheid
c2402f9360
fix(settings): return router.push promise
...
The settings page composable function to go to a settings page now
returns the promise router.push returns.
2026-07-28 20:10:19 +02:00
jakob.scheid and jakob.scheid
22311dc5c9
feat(settigns): add settings page composable
2026-07-28 20:08:38 +02:00