feat: introduce pinia for admin settings
- Related to: https://github.com/nextcloud/richdocuments/issues/4351
- Target version: main
Summary
Introduces Pinia in an effort to organize the admin settings a bit instead of having everything in one massive component.
Screen Recording
Custom Fonts
https://github.com/user-attachments/assets/17145797-2776-4a71-83a1-984516e186fd
TODO
- [x] Tests
Checklist
- [x] Code is properly formatted
- [x] Sign-off message is added to all commits
- [x] Documentation (manuals or wiki) has been updated or is not required
@juliusknorr Do you think we should ignore the remote font config warning for now? Didn't we discuss that, because we can have these configuration files of our own now, we can always ensure there is one?
Curently we cannot verify this anyways as it is a setting in coolwsd.xml and we cannot check that.
Mid-term collabora planned to remove this configuration option as far as I understood and pass over the fonts without any configuration required, so I'd say it is fine to ignore that, yes.
@nextcloud/designers I have uploaded a screen recording, can I get a design review on this please? :)
what would be cool is a nice component for lists so this is consistent across Nextcloud. If we want to get fancy, this could be a grid/tiled view with font and font name below each other, sort of laid out like the tiles we use for the settings of Dashboard.
We already have NcListItem as a consistent component for list items. Probably can do a lot like this.
Also this is very specific not sure how often it would be reused, but of course possible to do.