-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Added ability to customize logo and title #9052
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #9052 +/- ##
===========================================
+ Coverage 73.42% 73.72% +0.30%
===========================================
Files 419 428 +9
Lines 44351 44507 +156
Branches 3875 3875
===========================================
+ Hits 32563 32812 +249
+ Misses 11788 11695 -93
|
Quality Gate passedIssues Measures |
@@ -189,6 +189,12 @@ | |||
_DATA_UPDATED_DATE_HEADER_NAME = 'X-Updated-Date' | |||
_RETRY_AFTER_TIMEOUT = 10 | |||
|
|||
ICON_FILE = "assets/logo.svg" | |||
|
|||
def get_logo() -> str: |
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.
Please check that we don't read it on every about request.
Motivation and context
This simple PR moves logo management to
/about
server endpoint. It would make easier to change it if needed by replacinglogo.svg
asset on the server. Additinally, there is a possibility to edit title and description using settingsHow has this been tested?
Checklist
develop
branch[ ] I have updated the documentation accordingly[ ] I have added tests to cover my changes[ ] I have linked related issues (see GitHub docs)License
Feel free to contact the maintainers if that's a concern.