Repository navigation
docs: decision records for the pivot dark theme and the growth ratchet - #230
Merged
Merged
Conversation
12 tasks done
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.
The two decision records #217 still lists. This branch is based on
main.What changes
psu.csswrites its dark values for pivotkit's[data-pk-theme="dark"]on the report and never for the page'sdata-theme. The reason: an Excel export or HTML report shows the report's light theme for a moment, and a page-level dark value would reach the file. Sources: feat(pivot): New-UDPivotReport on pivotkit 0.1.0 #66, feat(pivot): pivotkit 0.5.0, -ImportLimit and view version 2 #104. The date is feat(pivot): pivotkit 0.5.0, -ImportLimit and view version 2 #104's merge, where the rule and its reason first appear.--accept-growthand a reason in the pull request. Duplication has a fixed threshold instead, and the docs total has a margin. Source: ci: growth guards for PowerShell, JavaScript, duplication and docs #166. Why a ratchet rather than fixed limits is marked "reason not recorded", as record 0001 asks.node build/decisions.js.Checks
npm test: 187 pass, 0 fail, includingtests/js/decisions.test.js.npm run growth: all ok.Neutral review
A read-only reviewer with a fresh brief checked both records against #66, #104, #166, AGENTS.md, the
psu.cssheader,themes.mdandbuild/growth.js. It confirmed the merge dates and the index. Verdict: accept with small fixes.growth.jssay, the option is marked, and the reason for a ratchet is "not recorded".docs/pivot/themes.md, which shows the two selectors.psu.cssheader. Fixed: split into short sentences, naming thepsu.cssheader.For AGENTS.md (not changed here)
The AGENTS.md lines on
psu.cssand on the growth guards could link these records. I left AGENTS.md as it is.Refs #217
🤖 Generated with Claude Code
Growth: after merging main, the docs total is 5182 lines (baseline 5012, margin 2 %). The two records add 84 lines of their own; I raised the baseline with
--accept-growth.