Skip to content

feat(mix): support blur tileMode across core and protocol - #1072

Merged
tilucasoli merged 7 commits into
mainfrom
feat/blur-modifier-tile-mode
Oct 1, 2026
Merged

tilucasoli merged 7 commits into
mainfrom
feat/blur-modifier-tile-mode

Conversation

@leoafarias

@leoafarias leoafarias commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Description

BlurModifier now accepts a tileMode, and the protocol encodes and decodes that same field. Keeping the core model and protocol inventory together lets the schema guard pass for the new two-field blur representation.

Changes

  • Add tileMode to the core modifier, generated data code, and configuration API, with focused tests and reference documentation.
  • Encode, decode, and walk tileMode in mix_protocol; update its field inventory, wire contract, schema, and codec tests.
  • Refresh the downstream chart protocol schema generated from the Mix vocabulary.

Review Checklist

  • Testing: Focused Mix blur tests, protocol codec tests, protocol inventory check, and melos run ci passed locally on Flutter 3.44.0.
  • Breaking Changes: No existing blur call site needs to change; the default remains TileMode.clamp.
  • Documentation Updates: Wire contract and modifier reference updated.
  • Website Updates: No website change is needed.

Additional Information

#1081 is the CI prerequisite. Its in-repo checks allow this core-and-protocol change to land together; its hosted release gate validates both the minimum and latest Mix version before dependent publishing. #1072 currently targets main because GitHub prevents changing the base of a PR with downstream stack branches. Once #1081 lands, its CI commits will disappear from this PR's diff.

Published Mix 2.2.0 does not contain this API. Before publishing a new mix_protocol, release a Mix version containing tileMode, raise the protocol's mix lower bound to that actual published version, and run the hosted release gate. No future version is assumed here.

@leoafarias
leoafarias force-pushed the feat/blur-modifier-tile-mode branch from a698ece to 438a6e6 Compare September 29, 2026 04:13
@leoafarias
leoafarias changed the base branch from main to ci/release-check-workspace-deps September 29, 2026 04:13
@leoafarias
leoafarias added this pull request to stack #1075 September 29, 2026 04:13
@leoafarias leoafarias mentioned this pull request Sep 29, 2026
3 of 4 tasks
Base automatically changed from ci/release-check-workspace-deps to main September 29, 2026 12:26
@tilucasoli
tilucasoli force-pushed the feat/blur-modifier-tile-mode branch from 438a6e6 to 2fe8095 Compare September 29, 2026 12:26
@tilucasoli tilucasoli changed the title feat(mix): add tileMode to BlurModifier feat(mix_protocol): encode BlurModifierMix tileMode Sep 29, 2026
@tilucasoli
tilucasoli force-pushed the feat/blur-modifier-tile-mode branch from 2fe8095 to 13cf3a9 Compare September 29, 2026 12:45
@tilucasoli

Copy link
Copy Markdown
Collaborator

Closing to re-create as a proper stacked PR based on feat/blur-modifier-tile-mode-mix (#1077). Superseded by the new PR below.

@tilucasoli tilucasoli closed this Sep 29, 2026
@tilucasoli tilucasoli reopened this Sep 29, 2026
@tilucasoli
tilucasoli force-pushed the feat/blur-modifier-tile-mode branch from 13cf3a9 to 48f89a2 Compare September 29, 2026 13:20
@leoafarias
leoafarias force-pushed the feat/blur-modifier-tile-mode branch from 48f89a2 to 20a6759 Compare September 29, 2026 15:33
Comment thread .github/workflows/release-dependencies.yml Fixed
Comment thread .github/workflows/release-dependencies.yml Fixed
Comment thread .github/workflows/test.yml Fixed
@leoafarias
leoafarias force-pushed the feat/blur-modifier-tile-mode branch from 20a6759 to 12288e3 Compare September 29, 2026 15:35
@leoafarias leoafarias changed the title feat(mix_protocol): encode BlurModifierMix tileMode feat(mix): support blur tileMode across core and protocol Sep 29, 2026
@tilucasoli
tilucasoli force-pushed the feat/blur-modifier-tile-mode branch from 12288e3 to 62abc5c Compare October 1, 2026 02:12
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@tilucasoli
tilucasoli merged commit 0ff2e23 into main Oct 1, 2026
12 checks passed
@tilucasoli
tilucasoli deleted the feat/blur-modifier-tile-mode branch October 1, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants