Skip to content

(#16) Allow customization of Admin panel colors and logo#28

Merged
paranoicsan merged 2 commits intomasterfrom
appearance_settings
Feb 20, 2026
Merged

(#16) Allow customization of Admin panel colors and logo#28
paranoicsan merged 2 commits intomasterfrom
appearance_settings

Conversation

@alexculealt
Copy link
Contributor

@alexculealt alexculealt commented Feb 16, 2026

This PR adds customization options for the admin panel:

lcms-core-appearance-ui.mov

The changes are broken into logical commits for easier review but can be squash merged.

Issue

Refs: #16

@alexculealt alexculealt self-assigned this Feb 16, 2026
Copy link
Contributor

@paranoicsan paranoicsan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you! Added some comments, please let me know what do you think.

@paranoicsan paranoicsan added the UI label Feb 20, 2026
@paranoicsan paranoicsan changed the title Implement admin panel appearance customization (#16) Allow customization of Admin panel colors and logo Feb 20, 2026
- Add settings model and DB schema
- Implement new LogoUploader to handle admin panel logo customization
- Implement appearance setting edit & logo upload UI
### Harden Setting model value column

- Add null: false and default: {} to settings.value in migration
- Remove presence validation for value from model (blank? rejects {})
- Guard Setting.set against nil to prevent NOT NULL violations
- Add specs for nil and empty hash handling in Setting.set

### Move image deletion logic from SettingsController to ImageUploader

- Extract delete_by_url class method to ImageUploader with support for local and S3 files
- Remove duplicate deletion methods from SettingsController
- Add specs for ImageUploader.delete_by_url

Signed-off-by: Alexander Kuznetsov <paranoic.san@gmail.com>
@paranoicsan paranoicsan merged commit f6711a5 into master Feb 20, 2026
3 checks passed
@paranoicsan paranoicsan deleted the appearance_settings branch February 20, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants