Bug 39538

Summary: Replace UserCSS system preference with snippets
Product: Koha Reporter: Lisette Scheer <lisette>
Component: Architecture, internals, and plumbingAssignee: Lisette Scheer <lisette>
Status: ASSIGNED --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, kebliss, marion.durand, sally.healey
Version: unspecifiedKeywords: roadmap_25_11
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38706
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 38706    
Bug Blocks:    

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