Skip to content
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

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Conversation

klakhov
Copy link
Contributor

@klakhov klakhov commented Feb 5, 2025

Motivation and context

This simple PR moves logo management to /about server endpoint. It would make easier to change it if needed by replacing logo.svg asset on the server. Additinally, there is a possibility to edit title and description using settings

How has this been tested?

Checklist

  • I submit my changes into the develop branch
  • I have created a changelog fragment
  • [ ] I have updated the documentation accordingly
  • [ ] I have added tests to cover my changes
  • [ ] I have linked related issues (see GitHub docs)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@codecov-commenter
Copy link

codecov-commenter commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.72%. Comparing base (cae4e8f) to head (7a67807).
Report is 5 commits behind head on develop.

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     
Components Coverage Δ
cvat-ui 77.40% <ø> (-0.01%) ⬇️
cvat-server 70.68% <69.23%> (+0.57%) ⬆️

@klakhov klakhov requested a review from nmanovic as a code owner February 5, 2025 11:18
Copy link

sonarqubecloud bot commented Feb 5, 2025

@@ -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:
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants