Skip to content

Sync upstream - #1891

Closed
valyo wants to merge 18 commits into
ScilifelabDataCentre:devfrom
Epigenica:sync-upstream
Closed

valyo wants to merge 18 commits into
ScilifelabDataCentre:devfrom
Epigenica:sync-upstream

Conversation

@valyo

@valyo valyo commented Nov 9, 2026

Copy link
Copy Markdown
Member

Pull Request Template

Before Marking as Ready for Review

  • Add relevant information to the sections below (Summary etc)
  • Rebase or merge the latest dev (or other targeted branch)
  • Update documentation if needed
  • Add an entry to the SPRINTLOG.md if needed
  • Choose an appropriate label. See here for information on the labelling options
  • The code follows the style guidelines
  • Perform a self-review: read the diff as if reviewing someone else's code
  • I have commented the code, particularly in hard-to-understand areas
  • Verify that all checks and tests have passed

If 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.

@valyo
valyo requested a review from a team as a code owner November 9, 2026 15:24
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T15:31:12.480324Z 49af61a PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@valyo valyo closed this Nov 9, 2026
@valyo
valyo deleted the sync-upstream branch November 9, 2026 15:26

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread .env
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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@valyo
valyo restored the sync-upstream branch November 9, 2026 15:35
@valyo
valyo deleted the sync-upstream branch November 10, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants