Skip to content

Refactor profile editor UI and add CSS styles#647

Merged
rogercgui merged 1 commit into
masterfrom
new-profile-editor
May 23, 2026
Merged

Refactor profile editor UI and add CSS styles#647
rogercgui merged 1 commit into
masterfrom
new-profile-editor

Conversation

@rogercgui
Copy link
Copy Markdown
Member

Add comprehensive profile editor styles to main.css and refactor profile_edit.php to modernize the UI and JavaScript behavior. Introduces tabbed navigation, dynamic accordions with badge counts, grouped checkbox grids (databases, formats, worksheets), and improved form validation/normalization. Replaces many legacy JS helpers (AllDatabases/AllPermissions/etc.) with modular functions (switchProfileTab, toggleAccordion, toggleDbAll, toggleGroup, updateAccordionBadges, toggleGlobalAllBases). PHP was reorganized for clearer rendering: profile list display cleaned up, DeleteProfile checks in-use before removing, Edit/New flow preserved, and a renderGlobalTab helper was added to generate administration/circulation/acquisitions permission cards. Overall changes improve UX, maintainability, and make permission selection dynamic and more discoverable.

Add comprehensive profile editor styles to main.css and refactor profile_edit.php to modernize the UI and JavaScript behavior. Introduces tabbed navigation, dynamic accordions with badge counts, grouped checkbox grids (databases, formats, worksheets), and improved form validation/normalization. Replaces many legacy JS helpers (AllDatabases/AllPermissions/etc.) with modular functions (switchProfileTab, toggleAccordion, toggleDbAll, toggleGroup, updateAccordionBadges, toggleGlobalAllBases). PHP was reorganized for clearer rendering: profile list display cleaned up, DeleteProfile checks in-use before removing, Edit/New flow preserved, and a renderGlobalTab helper was added to generate administration/circulation/acquisitions permission cards. Overall changes improve UX, maintainability, and make permission selection dynamic and more discoverable.
@rogercgui rogercgui merged commit 6495c85 into master May 23, 2026
@rogercgui rogercgui deleted the new-profile-editor branch May 23, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant