PR: Expand Powered By – Extended Settings & UI Options #61
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.
🚀 PR: Expand Powered By – Extended Settings & UI Options
Summary
This PR builds on the earlier “Powered By” feature by expanding branding and footer support across the application. It introduces configurable branding logos and copyright text via settings, and integrates these into the Dashboard layout and Header for a more flexible and professional look.
🔧 Changes Made
Backend (
settings_initializer.py)Added
branding_logo_settings:Stores light/dark logo URLs and optional
alttext.Default:
{ "light": "/braindrive/braindrive-light.svg", "dark": "/braindrive/braindrive-dark.svg", "alt": "BrainDrive" }Added
copyright_settings:Configurable footer copyright line.
Default:
{ "text": "© 2025 BrainDrive" }Both definitions support scopes (
system,user) and are tagged asui.Frontend
DashboardLayout.tsxuseSettings.Header.tsxalttext for accessibility and branding consistency.✅ Benefits
🧪 Testing Steps
Start the app with default settings.
Confirm header shows BrainDrive logos (light/dark).
Confirm dashboard footer shows:
Update
branding_logo_settingsto point to custom logos.Update
copyright_settings:{ "text": "© 2025 ExampleCorp. All Rights Reserved." }Check fallback behavior:
📎 Related Context