Repository navigation
feat: enable gui logo configuration CRUD using database - #3511
Merged
Merged
Conversation
aglinxinyuan
requested changes
Jun 29, 2025
aglinxinyuan
approved these changes
Jun 29, 2025
bobbai00
requested changes
Jun 30, 2025
aglinxinyuan
reviewed
Jul 2, 2025
bobbai00
approved these changes
Jul 4, 2025
bobbai00
left a comment
Contributor
There was a problem hiding this comment.
LGTM. Left some minor comments. Please take care of them
SarahAsad23
pushed a commit
to madisonmlin/texera
that referenced
this pull request
May 20, 2026
### **Purpose:** This PR migrates the configuration storage of UI elements, starting with logos, from static files to the database while preserving the existing logo‐customization feature. Future updates will extend this approach to additional elements. ### **Design Proposal:** Design apache#3528 **Related PRs:** apache#3453 - Logos customization UI (default values were defined in separate files and loaded directly; the database only stored updated logos) apache#3480 - site_settings table schema apache#3489 - Updated logos customization UI ### **Changes (updated):** - gui/../admin/settings/admin-setting.component.ts/html/scss: add the “Branding” card for logo upload/reset. - gui/..component/dashboard.component.ts: integrate dynamic logo rendering. - gui/../service/admin/settings/admin-settings.service.ts:CRUD API for settings - config-service/../ConfigService.scala: database connection and defaults preload on startup - amber/../dashboard/admin/settings/AdminSettingsResource.scala: REST endpoints for config CRUD ### **Changes (new)** - config/../resource/default.conf: defined logo defaults (and placeholders for future settings) and added config-service section with **always-reset-configurations-to-default-values** = false flag to control database reset behavior - config/../scala/DefaultsConfig.scala: loads defaults from default.conf ### **Demonstration:** The settings page retains its familiar upload interface, now organized under a Branding card: <img width="1555" alt="admin_setting" src="https://github.com/user-attachments/assets/60264dab-356a-413f-8f05-9a2fd1c8c541" /> --------- Co-authored-by: Xinyuan Lin <[email protected]>
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
### **Purpose:** This PR migrates the configuration storage of UI elements, starting with logos, from static files to the database while preserving the existing logo‐customization feature. Future updates will extend this approach to additional elements. ### **Design Proposal:** Design apache#3528 **Related PRs:** apache#3453 - Logos customization UI (default values were defined in separate files and loaded directly; the database only stored updated logos) apache#3480 - site_settings table schema apache#3489 - Updated logos customization UI ### **Changes (updated):** - gui/../admin/settings/admin-setting.component.ts/html/scss: add the “Branding” card for logo upload/reset. - gui/..component/dashboard.component.ts: integrate dynamic logo rendering. - gui/../service/admin/settings/admin-settings.service.ts:CRUD API for settings - config-service/../ConfigService.scala: database connection and defaults preload on startup - amber/../dashboard/admin/settings/AdminSettingsResource.scala: REST endpoints for config CRUD ### **Changes (new)** - config/../resource/default.conf: defined logo defaults (and placeholders for future settings) and added config-service section with **always-reset-configurations-to-default-values** = false flag to control database reset behavior - config/../scala/DefaultsConfig.scala: loads defaults from default.conf ### **Demonstration:** The settings page retains its familiar upload interface, now organized under a Branding card: <img width="1555" alt="admin_setting" src="https://github.com/user-attachments/assets/60264dab-356a-413f-8f05-9a2fd1c8c541" /> --------- Co-authored-by: Xinyuan Lin <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose:
This PR migrates the configuration storage of UI elements, starting with logos, from static files to the database while preserving the existing logo‐customization feature. Future updates will extend this approach to additional elements.
Design Proposal:
Design #3528
Related PRs:
#3453 - Logos customization UI (default values were defined in separate files and loaded directly; the database only stored updated logos)
#3480 - site_settings table schema
#3489 - Updated logos customization UI
Changes (updated):
Changes (new)
Demonstration:
The settings page retains its familiar upload interface, now organized under a Branding card:
