Bug 39538 - Replace UserCSS system preference with snippets
Summary: Replace UserCSS system preference with snippets
Status: ASSIGNED
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Lisette Scheer
QA Contact: Testopia
URL:
Keywords: roadmap_25_11
Depends on: 38706
Blocks:
  Show dependency treegraph
 
Reported: 2025-04-03 08:06 UTC by Lisette Scheer
Modified: 2025-07-02 16:16 UTC (History)
4 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lisette Scheer 2025-04-03 08:06:13 UTC
Currently the UserCSS's are just a big blob of CSS with each piece unrelated to the next. 

It would be nice if we replaced the system preference with individual "snippets". These could live somewhere like HTML customizations.

This would bring more organization to CSS customization. It could also allow staff to see how created/edited/deleted certain blocks much easier.

It could also make it easier to incorporate different permission checks for who can create/edit/delete CSS 

Similar to Bug 38706. 

This could also be helpful for adding CSS to Mana eventually?
Comment 1 Lisette Scheer 2025-06-03 14:39:41 UTC
I put some information on Bug 38706 about my plans for the snippets
 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38706#c16