Skip to content

Charles/targeted banners#1103

Closed
chwu7 wants to merge 15 commits into
mainfrom
charles/targeted-banners
Closed

Charles/targeted banners#1103
chwu7 wants to merge 15 commits into
mainfrom
charles/targeted-banners

Conversation

@chwu7
Copy link
Copy Markdown

@chwu7 chwu7 commented Mar 7, 2026

removed sonner toast, kept it as targeted banners for targeted classes for grades and enrollment page

@chwu7 chwu7 requested a review from PineND March 7, 2026 23:03
Copy link
Copy Markdown

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

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: c60328b6a0

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

const messages = data?.targetedMessagesForCourse;
if (!messages?.length) continue;

syncDismissedTargetedMessages(messages.map((m) => m.id));
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 Keep dismissal sync out of per-course loop

Calling syncDismissedTargetedMessages for each individual course wipes dismissed IDs that belong to other displayed courses before they are checked. On pages with multiple selected courses, if the first course has no visible message (or only dismissed ones), a later course’s previously dismissed message can reappear because its ID was removed from localStorage in an earlier iteration. This breaks the expected “dismiss once” behavior for non-persistent messages whenever more than one course is in scope.

Useful? React with 👍 / 👎.

PineND added 3 commits March 18, 2026 18:50
Remove .claude/settings.local.json, revert package.json win32 rollup
dep, fix frontend/package.json indentation, revert playwright.config.ts
comment change, and remove spurious main.scss trailing newline.
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