-
Notifications
You must be signed in to change notification settings - Fork 91
Site Branding - Theme colors and logo config #486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
milospp
wants to merge
49
commits into
vivo-project:main
Choose a base branch
from
milospp:feature/site-branding
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 41 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
012e455
Added logo upload and theme color settings in site settings
milospp c531be0
Typo fix
milospp 32efbb0
Fixed referred loop problem in siteStore
milospp 0fc26bb
Allowed hide advanced option and modified deafult colors for wilma theme
milospp 70dab40
Added styles for Vitro theme
milospp 2364306
Implemented styles for Tenderfoot
milospp cf10b34
Added reset all buton and refactored code
milospp 5ceb8ee
Added color config support for nemo theme
milospp fb2563f
Added support for small version of logo
milospp 7d3ba4b
Added different crop aspect ratio for Small and regular logo
milospp 57c0c7b
Implemented transparent logo crop
milospp c83c4f2
Changed theme branding colors save to dispaly model
milospp e71f22f
Removed theme colors from application bean
milospp 6501ef8
Added refferer helper from css upload PR
milospp 7dbc4f1
Added simple cache and created component for uploading logo
milospp 917e346
Fixed bug in code (missing set theme in application bean)
milospp 85eeaa0
Removed theme specific config into json files
milospp ba0b449
Fixed css for login
milospp 3cc3421
Fixed branding color cache after theme dir change
milospp 129eea5
Fixed branding styles (script loading, small bugs)
milospp 21c49fd
Removed console.log
milospp 2bfc0c1
Fixed openning editor in firefox
milospp cff6d15
Reordered alert on submit and addedd save on submit
milospp 45c24c8
Fixed alert on save and redirect
milospp 17d9168
Add chain icon
milospp 78d703c
Fixed chains for firefox
milospp b05aee5
usd ?has_content instead of two check in .ftl
milospp 9b62067
Removed theme variable from brandinColors.js
milospp e186b09
Fixed checkstyle
milospp 37e6d70
Added en localization
milospp 1aacf14
Reverted unused changes for image crop
milospp 92b51b2
Reverted unused changes for image crop 2
milospp e3533cb
Updated upload button style
milospp 76f69b3
Fixed lang typo
milospp d131f02
Updated ignore referer
milospp 91c32d3
Fixed typo in RefererHelper
milospp f48ba3f
Moved LogoUpload to SiteInfomration page, removed RefererHelper
milospp 514841d
Removed image processor
milospp cc5a248
Removed unused CSS
milospp c4dfc80
Fixed Branding permissions
milospp a735918
Fixed typo in UiLabel.ttl
milospp c8410ae
Replaced inline styles with classes
milospp 759a458
Removed individualUri
milospp 7a194de
Merge branch 'main' into feature/site-branding
milospp 4e61b56
Updated code to accept generic branding colors for themes
milospp ff4e87a
Added lighter shade for secondary color in wilma and added support fo…
milospp 60ccb0d
Fixed palette typo
milospp 33df68b
Added check before loading script
milospp 4cc35a0
Fixed custom logo
milospp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is the individualUri used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently, this is no longer in use. This PR has gone through significant design changes.
If I recall correctly, site settings (such as the site name) are stored in a triplet, where the subject is the application instance named “...portal.” Because of that approach, I initially stored this site setting in the same way, as it was more convenient to access from my controllers. It is certainly no longer in use since we moved to a display model. Thank you for noticing, it will be removed.