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
f6fdae6b0c
test(settings): add tests for settings page composable
2026-07-28 20:10:19 +02:00
jakob.scheid and jakob.scheid
c7fe1f2f60
test(settings): add tests for selection setting
...
Added tests for the selection setting component:
- correct display of options
- shows values correctly
- store of values
- correct translation
2026-07-28 20:10:19 +02:00
jakob.scheid and jakob.scheid
c7490d2e48
feat(settings): wrap selection option label
...
Added a wrapper for the settings selection option label to make it
easier to identify (internal).
2026-07-28 20:10:18 +02:00
jakob.scheid and jakob.scheid
e1e5ca7a76
fix(settings): use wrapper only if settings shown
...
The .settings-main-content wrapper in the settings view is now only
used if there are settings shown. It is not used if the settings are
still loading or no section is selected.
2026-07-28 20:10:18 +02:00
jakob.scheid and jakob.scheid
2eafa3c093
feat(settings): wrap selection setting label
...
Added a wrapper for the selection setting label to make it easier to
find (internal).
2026-07-28 20:10:17 +02:00
jakob.scheid and jakob.scheid
07901f9ab2
fix(settings): add section fallback
...
Added a simple message as a fallback that is used if no section is
selected.
2026-07-28 20:10:17 +02:00
jakob.scheid and jakob.scheid
167ddbfb4e
fix(settings): fix handling of non-existent paths
...
Previously, the settings view now does not check whether the settings
content is falsy. But, if the setting does not exist, the setting itself
is undefined. So, if the specified settings path did not exist, an
error was thrown.
Now, the setting is checked for being falsy, not the setting content.
2026-07-28 20:10:17 +02:00
jakob.scheid and jakob.scheid
b062015f23
chore: resolve merge conflicts
2026-07-28 20:10:15 +02:00
jakob.scheid and jakob.scheid
e808ec9a26
test(settings): add settings input tests
2026-07-28 20:08:53 +02:00
jakob.scheid and jakob.scheid
3eddb7d196
feat(test-utils): add store setup functionality to mountComponent utility
2026-07-28 20:08:53 +02:00
jakob.scheid and jakob.scheid
d7ce212095
fix(settings): prevent setting input done button from animating initially when mounting
2026-07-28 20:08:52 +02:00
jakob.scheid and jakob.scheid
da330db355
feat(settings): make setting input reactive to stored setting
2026-07-28 20:08:52 +02:00
jakob.scheid and jakob.scheid
f65b65c053
feat(test-utils): add pinia options to mountComponent test utility
2026-07-28 20:08:52 +02:00
jakob.scheid and jakob.scheid
6fbdc87669
test(settings): add switch component tests
2026-07-28 20:08:51 +02:00
jakob.scheid and jakob.scheid
afdc98beb3
chore(dependencies): add @pinia/testing dependency
2026-07-28 20:08:50 +02:00
jakob.scheid and jakob.scheid
248adf40b0
feat(settings): add settings page link
2026-07-28 20:08:39 +02:00
jakob.scheid and jakob.scheid
d78beffabd
fix(settings): add key prop to settings in settings page
2026-07-28 20:08:39 +02:00
jakob.scheid and jakob.scheid
f6a0553b99
feat(settings): implement settings pages navigation
2026-07-28 20:08:38 +02:00
jakob.scheid and jakob.scheid
22311dc5c9
feat(settigns): add settings page composable
2026-07-28 20:08:38 +02:00
jakob.scheid and jakob.scheid
2fb747f587
feat(settings): add utility functions to get settings
...
Utility function getSetting for getting a first-level setting from a
list of settings and unit tests.
Utility function getSettingRecursively to get any setting from a list
of settings. The setting can be at any nesting level in the settings
list and unit tests.
2026-07-28 20:08:38 +02:00
jakob.scheid and jakob.scheid
0c6d6c76f4
feat(icons): add chevron right icon
2026-07-28 20:08:37 +02:00
jakob.scheid and jakob.scheid
4b6881808d
refactor(settings): move settings button style into a CSS module
2026-07-28 20:08:37 +02:00
jakob.scheid and jakob.scheid
12d8c4fa23
fix(settings): fix switch label cursor
2026-07-28 20:08:37 +02:00
jakob.scheid and jakob.scheid
c9cb0fce27
feat(settings): add selection setting
2026-07-28 20:08:36 +02:00
jakob.scheid and jakob.scheid
31fbfbde07
fix(settings): prevent input setting done button from extending beyond viewport border
2026-07-28 20:08:36 +02:00
jakob.scheid and jakob.scheid
942645df68
fix(settings): make switch setting style scoped
2026-07-28 20:08:35 +02:00
jakob.scheid and jakob.scheid
1e283c7392
refactor(settings): rename variable
...
Renamed the variable 'inputClass' to 'inputType' because this name is
more accurate
2026-07-28 20:08:35 +02:00
jakob.scheid and jakob.scheid
9cf2245217
feat(settings): improve switch setting accessibility
2026-07-28 20:08:35 +02:00
jakob.scheid and jakob.scheid
3136f40530
feat(settings): improve input setting accessibility
2026-07-28 20:08:34 +02:00
jakob.scheid and jakob.scheid
62fbd5de3a
feat(settings): add animation to settings input done button
2026-07-28 20:08:34 +02:00
jakob.scheid and jakob.scheid
25d7ee0c6d
feat(settings): add settings component for inputs
2026-07-28 20:08:34 +02:00
jakob.scheid and jakob.scheid
a0a9cac244
feat(icons): add check mark icon
2026-07-28 20:08:33 +02:00
jakob.scheid and jakob.scheid
d02c1fb702
feat(style): add common input style
2026-07-28 20:08:32 +02:00
jakob.scheid and jakob.scheid
e4bd6df2d5
refactor(settings): remove unused setting class
2026-07-28 20:08:23 +02:00
jakob.scheid and jakob.scheid
76b4887205
feat(settings): remove large settings padding on small screens
2026-07-28 20:08:23 +02:00
jakob.scheid and jakob.scheid
17351e9f44
feat(settings): add support for boolean settings
2026-07-28 20:08:23 +02:00
jakob.scheid and jakob.scheid
5101450d59
feat(settings): make switch use the settings store
2026-07-28 20:08:22 +02:00
jakob.scheid and jakob.scheid
139c6f4ef5
feat(settings): display current settings page
2026-07-28 20:08:22 +02:00
jakob.scheid and jakob.scheid
d63a0e5bca
feat(settings): add settings store
2026-07-28 20:08:21 +02:00
jakob.scheid and jakob.scheid
5428006a4a
Revert "feat(dependencies): add lodash and its types to package.json and package-lock.json"
2026-07-28 20:07:59 +02:00
jakob.scheid and jakob.scheid
17629e0691
chore(dependencies): add pinia-plugin-persistedstate dependency
2026-07-28 20:07:45 +02:00
jakob.scheid and jakob.scheid
22dc39fe51
feat(dependencies): add lodash and its types to package.json and package-lock.json
2026-07-28 20:07:35 +02:00