Commit Graph
100 Commits
Author SHA1 Message Date
jakob.scheid 06fa759df3 test(settings): add settings input tests 2026-07-24 12:52:54 +02:00
jakob.scheid 68e8ff3e7d feat(test-utils): add store setup functionality to mountComponent utility 2026-07-24 12:52:54 +02:00
jakob.scheid 62fa9e8799 fix(settings): prevent setting input done button from animating initially when mounting 2026-07-24 12:52:53 +02:00
jakob.scheid 53326b7e2f feat(settings): make setting input reactive to stored setting 2026-07-24 12:52:53 +02:00
jakob.scheid bcc4afe7fa feat(test-utils): add pinia options to mountComponent test utility 2026-07-24 12:52:37 +02:00
jakob.scheid bbae64771a test(settings): add switch component tests 2026-07-23 14:54:19 +02:00
jakob.scheid e6f5f5083f chore(dependencies): add @pinia/testing dependency 2026-07-23 13:18:34 +02:00
jakob.scheid a9e9bffd50 feat(settings): add settings page link 2026-07-23 12:42:10 +02:00
jakob.scheid fe7453ef10 fix(settings): add key prop to settings in settings page 2026-07-23 12:40:33 +02:00
jakob.scheid d0f86bfcec feat(settings): implement settings pages navigation 2026-07-23 12:32:31 +02:00
jakob.scheid 5c46f1bba4 feat(settigns): add settings page composable 2026-07-23 12:23:49 +02:00
jakob.scheid 60c1f290ff 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-23 11:38:58 +02:00
jakob.scheid ff0a6502fc feat(icons): add chevron right icon 2026-07-22 14:04:38 +02:00
jakob.scheid 840d01e1a1 refactor(settings): move settings button style into a CSS module 2026-07-22 13:53:08 +02:00
jakob.scheid 2a1ebcf343 fix(settings): fix switch label cursor 2026-07-22 13:36:34 +02:00
jakob.scheid 129d380f56 feat(settings): add selection setting 2026-07-22 13:27:57 +02:00
jakob.scheid dc366d9efa fix(settings): prevent input setting done button from extending beyond viewport border 2026-07-22 00:42:40 +02:00
jakob.scheid 6385842b54 fix(settings): make switch setting style scoped 2026-07-21 19:28:55 +02:00
jakob.scheid 601e8284c1 refactor(settings): rename variable
Renamed the variable 'inputClass' to 'inputType' because this name is
more accurate
2026-07-21 18:37:39 +02:00
jakob.scheid 82a11af017 feat(settings): improve switch setting accessibility 2026-07-21 17:29:05 +02:00
jakob.scheid 45b52c2c11 feat(settings): improve input setting accessibility 2026-07-21 17:17:59 +02:00
jakob.scheid e365e1750a feat(settings): add animation to settings input done button 2026-07-21 16:50:15 +02:00
jakob.scheid 71a2d5a8d7 feat(settings): add settings component for inputs 2026-07-21 16:37:45 +02:00
jakob.scheid 4281942ea2 feat(icons): add check mark icon 2026-07-21 16:36:18 +02:00
jakob.scheid dda36061ab feat(style): add common input style 2026-07-21 16:32:20 +02:00
jakob.scheid 1f9d7ebc86 refactor(settings): remove unused setting class 2026-07-21 01:52:11 +02:00
jakob.scheid 4c64459488 feat(settings): remove large settings padding on small screens 2026-07-21 01:49:03 +02:00
jakob.scheid c805228523 feat(settings): add support for boolean settings 2026-07-20 17:37:10 +02:00
jakob.scheid 10dc005cce feat(settings): make switch use the settings store 2026-07-20 17:36:46 +02:00
jakob.scheid 267f009d2f feat(settings): display current settings page 2026-07-20 17:33:56 +02:00
jakob.scheid f71ebb174b feat(settings): add settings store 2026-07-20 17:30:24 +02:00
jakob.scheid ea8faa5deb Revert "feat(dependencies): add lodash and its types to package.json and package-lock.json" 2026-07-20 17:12:02 +02:00
jakob.scheid e7972e5689 chore(dependencies): add pinia-plugin-persistedstate dependency 2026-07-20 16:40:27 +02:00
jakob.scheid 34010ebd27 feat(dependencies): add lodash and its types to package.json and package-lock.json 2026-06-07 21:59:10 +02:00
jakob.scheid 1270291364 set up Pinia 2026-06-07 16:17:53 +02:00
jakob.scheid 5b9f32c5ee feat(settings): add switch transitions 2026-06-06 23:32:55 +02:00
jakob.scheid a3dd10582b feat(settings): add switch component 2026-06-06 23:32:09 +02:00
jakob.scheid 443567237d feat(settings): add utility function to determine the level of a settings section heading 2026-06-06 18:35:26 +02:00
jakob.scheid b0b2678dff feat(settings): get current section using watchEffect 2026-06-06 11:19:02 +02:00
jakob.scheid 4738f59a00 feat(settings): make active section content reactive 2026-06-06 01:52:10 +02:00
jakob.scheid 42ff52a4de set button cursor to pointer 2026-06-06 01:34:33 +02:00
jakob.scheid 980805730a feat(settings): go to the settings route if the settings sub-route does not exist 2026-06-05 15:31:25 +02:00
jakob.scheid 96d4d92f68 feat(settings): focus sidebar section button that is currently active 2026-06-05 15:28:57 +02:00
jakob.scheid f947c4bd33 feat(settings): remove sidebar section link button container 2026-06-05 15:18:48 +02:00
jakob.scheid 2c81a7cdf7 feat(settings): show first-level sections in the sidebar 2026-06-05 13:51:58 +02:00
jakob.scheid 1a13b78eff add common class for button links 2026-06-05 13:49:56 +02:00
jakob.scheid c38b38707c underline focused links that are no buttons 2026-06-05 13:47:14 +02:00
jakob.scheid 3ea55d24dc add button CSS class 2026-06-05 13:45:54 +02:00
jakob.scheid 1f4037f64c feature(router): remove trailing slash(es) 2026-06-05 13:45:31 +02:00
jakob.scheid cf781ff3f5 feature(settings): load settings configuration 2026-06-05 13:45:11 +02:00
jakob.scheid 8acb675a03 fix(footer): update settings router link target 2026-06-05 13:02:26 +02:00
jakob.scheid 8d6e87af16 feature(settings): catch all subpaths of the settings path in the router 2026-06-05 12:51:08 +02:00
jakob.scheid 192f3c37a9 feat(settings): add test cases to test that only sections are allowed as first-level settings 2026-06-05 11:37:17 +02:00
jakob.scheid b729b85ad0 feat(settings): allow only sections as first-level settings 2026-06-05 11:35:41 +02:00
jakob.scheidandGitea 1473dcf060 test(settings): add test cases for the selection setting allowMultiple property to the settings validator unit test 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea 8702648624 test(settings): add unit test for the settings validator validateSettingsConfig function 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea 88819f5684 test(settings): add test cases for the settings validator validateSelectionOptions function for test cases that should throw an error 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea 98940eeec4 test(settings): add test cases for the settings validator validateEntry function for test cases that should throw an error 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea 775e206322 fix(settings): check selection default value in the settings validator 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea 7407366f45 fix(settings): check the selection options and allowMultiple before and not after the default check in the settings validator 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea deaf3935c9 fix(settings): fix indentation in validateEntry in the settings validator 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea 5f07e66915 fix(settings): check the selection options and allowMultiple after and not in the default check in the settings validator 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea 122663e2e3 fix(settings): check the name and i18n before the checks for a section in validateEntry in the settings validator 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea 5c8073d264 test(settings): add unit test for the settings validator validateEntry function for test cases that should throw an error 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea 970f4a74d1 fix(settings): do not enforce allowMultiple set for selection settings 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea ecf9074522 test(settings): add unit test for the settings validator validateEntry function for test cases that should not throw an error 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea ea87e0832a test(settings): add unit test for the settings validator validateSelectionOptions function for test cases that should throw an error 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea f4121bf419 test(settings): add unit test for the settings validator validateSelectionOptions function for test cases that should not throw an error 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea bf317eea35 test(settings): update test description for the unit test for the settings validator assertString function for test cases that should throw an error 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea 948d6d41e8 test(settings): add unit test for the settings validator assertType function for test cases that should throw an error 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea 867b3a41f8 test(settings): add unit test for the settings validator assertType function for test cases that should not throw an error 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea e0268b6e6c test(settings): add unit test for the settings validator assertString function for test cases that should not throw an error 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea 156b3b552c test(settings): add unit test for the settings validator assertString function for test cases that should throw an error 2026-06-04 17:27:42 +02:00
jakob.scheidandGitea 39e6c94d09 test(settings): Add settings validator utility test boilerplate 2026-06-04 17:27:42 +02:00
jakob.scheid d9c19b252e fix(search-bar): re-add left padding 2026-06-04 15:32:46 +02:00
jakob.scheid dc4c47e2ef test(language-switch-button): remove redundant test file 2026-06-04 13:45:22 +02:00
jakob.scheid a5dede3485 Merge remote-tracking branch 'refs/remotes/origin/testing/language-switch' into testing/language-switch 2026-06-04 13:44:26 +02:00
jakob.scheid eb892d9725 test(language-switch-button): move test file to the correct directory 2026-06-04 13:43:55 +02:00
jakob.scheidandGitea c919263c36 feat(navbar-padding): use the responsivity of the main content padding CSS variables 2026-06-04 13:39:58 +02:00
jakob.scheidandGitea 592eb7222f move main content padding CSS variables to the app wrapper 2026-06-04 13:39:58 +02:00
jakob.scheidandGitea 7d15d29409 test(current-language-util): shorten test description 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea 8ce315e1c7 test(current-language-util): add local storage language test cases 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea 33dfee951a test(current-language-util): set local storage item 'locale' to the local storage language if it is specified 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea 80bc8339ed test(current-language-util): add test cases localStorageLanguage key 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea 12f9d85841 test(current-language-util): remove local storage language test cases 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea a78fa93b51 test(current-language-util): use objects for test cases 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea 06c5e9b2c1 test(current-language-util): add local storage languages array 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea bf3e6b2e2e refactor(current-language-util): move the locales array to a separate const in the test 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea b58ee95ad2 fix(current-language-util): use the full locale instead of the language for the testing environment 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea 093d5840fc test(current-language-util): update test description 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea 352bd5baf5 test(current-language-util): add actual test 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea 2117c28606 test(current-language-util): add navigator.language configuration 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea 7f01a807b9 test(current-language-util): add test cases with extension 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea a7babaf94b test(current-language-util): add test cases with writing system 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea a14318c4c5 test(current-language-util): add test cases with country code 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea c3c7fdb945 test(current-language-util): add simple test cases 2026-06-04 12:41:25 +02:00
jakob.scheidandGitea 1418e52cbf test(current-language-util): add test boilerplate 2026-06-04 12:41:25 +02:00
jakob.scheid 6c12550ee7 test(css-dimensions-util): add test cases with complex dimensions 2026-06-04 08:55:59 +02:00
jakob.scheid 9ec2d7fd6f test(css-dimensions-util): add test cases with numbers and units as dimensions 2026-06-04 08:50:15 +02:00
jakob.scheid 975e84be46 test(css-dimensions-util): add test cases with numbers as dimensions 2026-06-04 08:50:04 +02:00