fix(dashboard): DORA subtitle follows the selected window (v1.4.4)#101
Merged
Conversation
The org DORA subtitle was hardcoded "over the last 30 days" while the metrics already followed the selected analysis window (#80) — so a 90d view showed 90 days of deploys under a "30 days" label. Carry windowDays on OrgDORA (consistent with RepoDORA) and interpolate it into the subtitle (en + pt). The counts were always windowed; only the label was stale. Also bumps to v1.4.4 across pyproject / cli.py / platform package.json, so this deploy also surfaces the footer version sync from v1.4.3 (the prior deploy predated the package.json bump). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The org DORA subtitle was hardcoded "over the last 30 days" while the metrics already followed the selected analysis window (#80) — so a 90d view showed 90 days of deploys under a "30 days" label. The deploy counts were always windowed; only the label was stale.
Changes
windowDaysonOrgDORA(computeOrgDORAreturn +org-summary.tstype), consistent withRepoDORA.DORAOverview.tsxinterpolatesdata.windowDaysinto the subtitle.{days}; es-ES has no own subtitle and falls back to the (now fixed) en string.page.tsxalready resolves the selected window (searchParams.window→resolveWindowDays) and passes it tocomputeOrgDORA, so the label reflects the real window.Release (v1.4.4)
Bumps
pyproject.toml/iris/cli.py/platform/package.jsonto 1.4.4 and adds the CHANGELOG entry. After merge, tagv1.4.4to trigger the release build.Rebased onto
main(picks up #99); diff is exactly the 8 files of the fix + version bump.🤖 Generated with Claude Code