Skip to content

Document the page header's inline mode, which the last change skipped - #93

Merged
anilcancakir merged 1 commit into
mainfrom
docs/page-header-inline-actions
Aug 16, 2026
Merged

Document the page header's inline mode, which the last change skipped#93
anilcancakir merged 1 commit into
mainfrom
docs/page-header-inline-actions

Conversation

@anilcancakir

Copy link
Copy Markdown
Contributor

Follow-up to #92, which shipped the code and none of the paper. CLAUDE.md has a post-change checklist and I ran none of it.

Post-Change Checklist. After ANY source code change, sync before committing:

  1. CHANGELOG.md — Add entry under [Unreleased]
  2. README.md — Update if features, API, or usage changes
  3. doc/ — Update relevant documentation files

For an unreleased package that would be untidy. For a published one it is half the change: the field is reachable and nothing tells anybody it exists or what it prevents.

What is here

CHANGELOG.md under [Unreleased], split Fixed / Changed. It carries the measurement rather than only the fix: the combination that overflows is a theme override plus the missing flag, seen at 40 logical pixels in a host app and reproduced at 79 in the suite. The Changed half states plainly that bool? is not breaking, because that is the first question a reader will have.

doc/architecture/manager.md gains the case worth documenting, which is not "here is a new field" but "setting the container alone overflows". Anybody overriding containerClassName into a row is one paragraph away from the bug, so the paragraph sits under the override, with the two-line snippet that gets it right.

doc/basics/components.md gains one clause on its summary line: the header stacks below sm, and what turns that off.

What is deliberately not here

README. Its component table is a name and a phrase per widget, and the header's entry is still accurate. Putting the inline caveat there would be the third copy of it. The checklist says "update if features, API, or usage changes", and the usage that changed is documented where usage lives.

One honest note on process

CLAUDE.md asks for red-green-refactor, and #92 went code-first: I wrote the fix, then the tests, then proved them red by reverting the fix. The property that matters held (A RenderFlex overflowed by 79 pixels on the right is what the test reports without the fix, so it fails for the reason it claims) but the order was wrong, and saying so is cheaper than implying otherwise.

Verification

dart format --set-exit-if-changed . clean, dart analyze clean, 1253 tests pass. No source change in this PR.

`CLAUDE.md` has a post-change checklist and I ran none of it: CHANGELOG under
`[Unreleased]`, README where the API changed, and the relevant `doc/` pages.
The code in #92 was right and the paper trail was missing, which for a released
package is half the change.

The CHANGELOG entry carries the measurement rather than only the fix: the
combination that overflows is a theme override plus the missing flag, seen at
40 logical pixels in a host app and reproduced at 79 in the suite.

`doc/architecture/manager.md` gains the case worth documenting, which is not
"here is a new field" but "setting the container alone overflows". Anybody
overriding `containerClassName` into a row is one paragraph away from the bug,
so the paragraph sits under the override rather than under the flag.

`doc/basics/components.md`'s one-line summary says the header stacks below `sm`
and what turns that off. README is deliberately untouched: its component table
is a name and a phrase, and the detail belongs in `doc/`, where it now is.
Copilot AI lite review requested due to automatic review settings August 16, 2026 18:37

Copilot AI 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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@codecov

codecov Bot commented Aug 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@anilcancakir
anilcancakir merged commit cbeec7c into main Aug 16, 2026
2 of 3 checks passed
@anilcancakir
anilcancakir deleted the docs/page-header-inline-actions branch August 16, 2026 18:41
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