Skip to content

feat(timeline): #IMPULS-5337, add deferred flag for notifications in …#1022

Open
pb-jo wants to merge 21 commits into
develop-b2schoolfrom
feat-timeline-IMPULS-5337-add-deferred-flag-for-notifications-in-quiet-hours
Open

feat(timeline): #IMPULS-5337, add deferred flag for notifications in …#1022
pb-jo wants to merge 21 commits into
develop-b2schoolfrom
feat-timeline-IMPULS-5337-add-deferred-flag-for-notifications-in-quiet-hours

Conversation

@pb-jo
Copy link
Copy Markdown
Contributor

@pb-jo pb-jo commented May 11, 2026

Description

Add defered flag for notifications in quiet hours.

Fixes

#IMPULS-5337

Please check options that are relevant.

  • Chore (PATCH)
  • Doc (PATCH)
  • Bug fix (PATCH)
  • New feature (MINOR)

Which packages changed?

Please check the name of the package you changed

  • admin
  • app-registry
  • archive
  • auth
  • cas
  • common
  • communication
  • conversation
  • directory
  • feeder
  • infra
  • portal
  • session
  • test
  • tests
  • timeline
  • workspace

Tests

  1. Describe here the tests you performed
  2. Step by step
  3. With expected results

Reminder

  • Security flaws

  • Performance impacts (think bulk !)

  • Unit tests were replayed

  • Unit tests were added and/or changed

  • I have updated the reminder for the version including my modifications

  • All done ! 😃

jenkinsEdificePublic and others added 21 commits May 11, 2026 11:09
* feat(timeline): #COCO-5542 add workflow right to authorize beta

* clean up
… cron in timeline (#998)

* feat(directory,timeline): #COCO-5668 optimize daily and weekly mailer cron in timeline

* cleanup

* PR review add error / sented result from mass creation

* PR review

* fix not completing promise on sendMails failure
* fix:#COCO-5619-routing-and-vite-plugins-for-i18n

* Update timeline/frontend/vite/plugins/serveLocalI18n.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: use rootDir/server.config.root for deterministic path resolution in serveLocalI18nPlugin

Agent-Logs-Url: https://github.com/edificeio/entcore/sessions/62cc8525-387c-4820-9237-2206d05b70ea

Co-authored-by: damienromito <603808+damienromito@users.noreply.github.com>

* fix typecheck

* fix prod front url

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: damienromito <603808+damienromito@users.noreply.github.com>
@pb-jo pb-jo requested review from jcbe-ode and vbillard91 May 11, 2026 15:24
@pb-jo pb-jo self-assigned this May 11, 2026
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@jcbe-ode jcbe-ode left a comment

Choose a reason for hiding this comment

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

A faire si possible avant merge


if (isQuiet) {
JsonObject recipient = recipientById.get(userId);
if (recipient != null) recipient.put("deferredToDaily", true);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Define a constant instead of duplicating this literal "deferredToDaily" 3 times.

@jenkinsEdificePublic jenkinsEdificePublic force-pushed the develop-b2school branch 2 times, most recently from 5605da3 to 63be66f Compare May 20, 2026 12:24
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.

7 participants