Skip to content

fix: let the back button leave a multi-page form from its first page - #158

Merged
christian2denker merged 3 commits into
mainfrom
fix/cupertino-icons-dependency
Sep 5, 2026
Merged

christian2denker merged 3 commits into
mainfrom
fix/cupertino-icons-dependency

Conversation

@christian2denker

Copy link
Copy Markdown
Contributor

Summary

Brings the back-button fix from #157 to main. #157 was merged into fix/cupertino-icons-dependency after #156 had already been squash-merged, so main never received it. The diff against main is exactly the #157 change plus its changelog line:

  • PopScope.canPop of a multi-page form was computed from _pageController.hasClients && page == 0 at the first build, when the controller has no clients yet. It stayed false forever, so the back button was dead on every page, including the first one.
  • The current page is now tracked in state via PageView.onPageChanged; back leaves the form from the first page and goes to the previous page otherwise.
  • Regression test pushes the form as a route and pops from the first page, and again after paging forward and back.

Completes the 2.3.1 changelog (cupertino_icons fix already on main).

🤖 Generated with Claude Code

christian2denker and others added 2 commits September 5, 2026 22:41
Seen in the ApptiveTeams app on the iOS simulator: the attachment source menu ("Take photo or video", "Photo library", "Select files") shows question-mark boxes instead of icons, and so does the new "Record video" button.

`add_attachment_button.dart` uses `CupertinoIcons` on Apple platforms, but `apptive_grid_form` never declared `cupertino_icons`, the package that ships the font. Apps that happen to depend on it themselves get icons; ApptiveTeams does not, so the glyphs are missing. Pre-existing since the menu was introduced; it just became more visible with the video button.

- `cupertino_icons: ^1.0.8` added as a dependency.
- Version 2.3.1, changelog entry.

No code change. Verified: analyzer, attachment widget tests, format gate, `pub publish --dry-run`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
PRMSG
gh pr view --json number,url --jq '"#" + (.number|tostring) + " " + .url'
fix: bundle the Cupertino icon font used by the attachment menu

The attachment source menu and the "Record video" button use
CupertinoIcons on Apple platforms, but the package never depended on
cupertino_icons, which ships the font. Apps without their own dependency
on it – ApptiveTeams among them – rendered question marks instead.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…157)

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Resolves the 2.3.1 changelog conflict: keep both fix lines.
@github-actions github-actions Bot added the p:form Changes to apptive_grid_form label Sep 5, 2026
@christian2denker
christian2denker merged commit 242e3ff into main Sep 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p:form Changes to apptive_grid_form

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant