Repository navigation
Sync upstream - #1891
Sync upstream#1891valyo wants to merge 18 commits into
Conversation
Adding logo files to update the page
branding changes and image building
use the dds version
# Conflicts: # .github/workflows/linkspector.yml # .github/workflows/publish_and_trivyscan.yml
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 49af61a6e1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| DDS_DOWNLOAD_TEST="./run_dir/download" | ||
| DDS_TEMP_CACHE_TEST="./run_dir/cache_test" | ||
| DDS_DB_TYPE="dev-small" # "dev-big production" | ||
| FLASK_MAIL_DDS=nima.rafati@epigenica.se No newline at end of file |
There was a problem hiding this comment.
Load MAIL_DDS after the default configuration
When a deployment relies on this new FLASK_MAIL_DDS variable, from_prefixed_env() first loads it at dds_web/__init__.py:270, but from_object("dds_web.config.Config") immediately overwrites it at line 273 with Config.MAIL_DDS = "delivery@scilifelab.se" from dds_web/config.py:60. Unless an out-of-repo DDS_APP_CONFIG repeats the override, send-usage and the quota/reporting jobs continue sending Epigenica project-usage CSVs and notices to the old SciLifeLab address (dds_web/commands.py:1004, 1121-1129, and 1340-1343); set the intended recipient in a configuration source that survives this load order.
Useful? React with 👍 / 👎.
| <div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start p-2"> | ||
| <a href="{{ url_for('pages.home') }}" class="navbar-brand fs-4 d-flex my-2 my-lg-0 me-lg-auto link-body"> | ||
| <img src="{{ url_for('static', filename='img/epigenica_logo_light_bg.png') }}" title="Epigenica" style="height: 3rem;" class="hide-dark align-text-top me-4"> | ||
| <img src="{{ url_for('static', filename='img/epigenica_logo_light_bg.png') }}" title="Epigenica" style="height: 3rem;" class="hide-light align-text-top me-4"> |
There was a problem hiding this comment.
Use the dark-background logo in dark mode
When a user selects dark mode, or auto mode follows a dark OS theme, dds_dark.scss:85-90 hides hide-dark and displays hide-light, so this is the navbar image that is rendered. It still loads epigenica_logo_light_bg.png, as does the matching footer image at templates_brand/base.html:80, while the newly supplied epigenica_logo_dark_bg.png is never referenced; point the hide-light variants at the dark-background asset so the logo retains the intended contrast.
Useful? React with 👍 / 👎.
Pull Request Template
Before Marking as Ready for Review
dev(or other targeted branch)SPRINTLOG.mdif neededIf the target branch is
master:Summary
Describe what the PR changes and why.
Related Issue/Ticket
Link GitHub issue or provide Jira ID.
Testing
If applicable: How did you verify the change? Include commands, data, or screenshots.
Reviewer Notes
Anything that helps reviewers (e.g. areas needing close attention).
Once all boxes are checked, mark the PR as Ready for Review and tag at least one team member as the initial reviewer.