Branding configuration enhancements #193
Open
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.
A series of modifications that allow for control of all of the branding elements using configuration files.
All of the standard configurations are in the src/config/brandingConfig.ts
and these can be overridden by a second configuration file at src/config/brandingOverride.ts
The purpose of the two files is that it allows for all the standardized configurations to be applied and checked into the repository with all the standard R2R and Sciphi branding while allowing for overrides that any user can manage in a single file without worrying about diverging from the core distribution much.
The config files support
Changing the logo
Enabling the admin to hide/remove blocks of code
Changing the name of the application in the UI
Setting the color scheme to light or dark (further work is needed to truly facilitate the switch)
Showing/hiding navbar menu items
Showing/hiding the docs button in the NavBar
Modifying the default URL
Hiding/showing the social links and configuring them
Changing the deployment name (especially useful when you have many different deployments and need to differentiate them in the UI)