-
Notifications
You must be signed in to change notification settings - Fork 42
feat(preferences): Refactor and add UI to control Global preferences #7501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: issue-7440
Are you sure you want to change the base?
Conversation
Triggered by 20b207e on branch refs/heads/issue-7440
Triggered by 78c6e54 on branch refs/heads/issue-7440
Triggered by c4ddea8 on branch refs/heads/issue-7440
Triggered by ad70ddc on branch refs/heads/issue-7440
Triggered by e58d9f0 on branch refs/heads/issue-7440
Triggered by ff875da on branch refs/heads/issue-7440
Triggered by 914d391 on branch refs/heads/issue-7442-3
…to issue-7442-3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! So much progress!
There are two global preference files, named preferences, denoted by different headers:
#Remote User Prefs
#Wed Sep 27 17:21:50 CEST 2023
and
#Global Prefs
#Thu Jul 20 14:56:10 CEST 2023
This PR assumes that all preferences are in the global prefs resource, but some settings (like ui.formatting.scrdateformat) are only looked at in remote prefs. Users should not have their current date format lost when we release this, so we need to transition existing configurations if at all possible.
Right now, despite this being set, queries and other places do not look to this resource for the date format
Triggered by 4d49db9 on branch refs/heads/issue-7442-3
d254b6b to
e9b8f26
Compare
Iwantexpresso
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Verify that the new Global Preferences page is accessible only to Institution Admins, settings (auditing, date formats, thumbnails) can be updated, saved, and persist correctly across reloads.
-
Change and verify that all configuration options are applied
just tested o caller marine museum! these look good!
Fixes #7442
This PR introduces a new Global Preferences interface that allows Institution Administrators to configure database-wide settings such as auditing, date formats, and attachment thumbnail size directly from the UI instead of manually editing preference resources. It adds a dedicated page under the User Tools menu, guarded by Institution Admin permissions, and connects to new backend endpoints for retrieving and updating global preferences.
Checklist
self-explanatory (or properly documented)
Testing instructions