Similar to collection preferences added by stats page.
The tricky part to this is the migration:
- Need to create a Django migration that gets the original defaults from remote prefs and global prefs
- Also, as part of this, should migrate away from
moment and dayjs libraries and move to a more modern library (date-fns was great option last time I checked, but more research is needed) - the current way of specifying a date format is different that what's expected by other libraries so migration would have to do string replacement, rather than simply using the same value
- Add a pref for ability to add institution prefs and enforce that in the app resource editor
Similar to collection preferences added by stats page.
The tricky part to this is the migration:
momentanddayjslibraries and move to a more modern library (date-fnswas great option last time I checked, but more research is needed) - the current way of specifying a date format is different that what's expected by other libraries so migration would have to do string replacement, rather than simply using the same value