Skip to content

Feat/cdse dashboard bar fixes - #76

Merged
mckeea merged 3 commits into
developfrom
feat/cdse-dashboard-bar-fixes
Aug 6, 2026
Merged

Feat/cdse dashboard bar fixes#76
mckeea merged 3 commits into
developfrom
feat/cdse-dashboard-bar-fixes

Conversation

@MatMatt

@MatMatt MatMatt commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

MatMatt added 2 commits August 3, 2026 13:06
…ashboard

Remove the +N number labels from the onboarding history bar chart (values are still available via tooltip on hover). Switch the default aggregation mode from daily to weekly for a cleaner overview.

@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: 3375c8df8d

ℹ️ 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".

const weekly = {}
for (const d of deltas) {
// Year-prefixed so the sort stays correct across a year boundary
const key = d.date.slice(0, 4) + "-W" + String(getWeekNumber(d.date)).padStart(2, "0")

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 ISO week-year for weekly aggregation

When odataHist spans a New Year, this key combines the calendar year with a non-ISO week number, so dates from the same ISO week are split and mislabeled across multiple bars (for example, 2026-12-28 through 2027-01-03 becomes 2026-W53, 2027-W01, and 2027-W02). Because the chart now defaults to weekly and the code intends to sum deltas per ISO week, the dashboard will show incorrect weekly totals around year boundaries; derive both the ISO week number and ISO week-year from the date instead.

Useful? React with 👍 / 👎.

mckeea
mckeea previously approved these changes Aug 6, 2026
@MatMatt
MatMatt dismissed mckeea’s stale review August 6, 2026 09:38

The merge-base changed after approval.

@mckeea
mckeea merged commit adc88cc into develop Aug 6, 2026
3 checks passed
@mckeea
mckeea deleted the feat/cdse-dashboard-bar-fixes branch August 6, 2026 09:39
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