Skip to content

feat(remix): add styler field metadata, raise Mix floor to 2.2.0-beta.5 - #158

Merged
leoafarias merged 5 commits into
mainfrom
chore/dashboard-adjustments
Aug 19, 2026
Merged

feat(remix): add styler field metadata, raise Mix floor to 2.2.0-beta.5#158
leoafarias merged 5 commits into
mainfrom
chore/dashboard-adjustments

Conversation

@leoafarias

Copy link
Copy Markdown
Member

Description

Point workspace Mix at conceptadev/mix#1031 (feat/grid-auto-rows) so GridBox implicit rows size to content. The Fortal dashboard then drops hardcoded card-height tracks and the overview Wrap / LayoutBuilder forks.

Before: overview metrics were a fixed-width Wrap, activity/orders forked at page width 1050, and chart grids used GridTrack.fixed(328 + padding) / 420 * scaling.

After:

  • Metrics: GridBox 4→2→1 via onConstraints
  • Charts: omitted autoRows (content-sized); plot height lives on DashboardChartCard (220 × scaling)
  • Activity / recent orders: GridBox 2→1
  • Settings name/email: GridBox 2→1
  • Gallery matrices, chip wraps, and the customers toolbar stay as they are — those are labeled tables and intrinsic wraps, not card tracks

Published remix / remix_fortal still declare hosted mix: ^2.2.0-beta.4. The workspace override is the only git pin.

Related Issues

None.


Checklist

  • My PR includes unit or integration tests for all changed/updated/fixed behaviors.
  • I have updated or added relevant documentation (doc comments with ///).
  • I am prepared to follow up on review comments in a timely manner.

Breaking Change

Does this PR require users of the package to manually update their code?

  • Yes, this is a breaking change.
  • No, this is not a breaking change.

Validation

  • fvm flutter test in apps/dashboard — 53 passed
  • fvm dart analyze apps/dashboard — no issues
  • Browser (1440 and 390): overview, charts, settings, data-display catalog. Fulfillment’s 1px stretch overflow is gone after a bounded-height OverflowBox on StatCard.

Risk and rollout

melos run mix:consumer:check fails by design while runtime Mix is git-overridden. Do not weaken tool/check_consumer_mix.dart for this experiment. Drop the override once Mix #1031 ships on pub.

Review notes (0 bugs, 3 suggestions): the activity 1049 breakpoint now sees the padded Grid width, so a 1366 window with sidebar stacks earlier than the old page-width fork.

Point workspace Mix at conceptadev/mix#1031 so GridBox implicit
rows size to content. Replace the overview Wrap/LayoutBuilder
forks and drop hardcoded chart-card row heights.
space8 is 48px, not 32. The original page used 32 (space6); the larger
padding dropped the chart Grid under its 1119 breakpoint at 1440.
mix#1031 (content-sized GridBox rows) and mix#1025 have shipped, so both
dependency_overrides can go and the workspace resolves hosted Mix again.
This unblocks tool/check_consumer_mix.dart, which was failing CI on
"mix expected hosted, found git" for remix and remix_fortal.

The two bumps are coupled and cannot land separately: mix_generator
2.2.0-beta.3 emits `implements StylerFieldMetadata` on every styler, and
that symbol first ships in mix 2.2.0-beta.5. Regenerating against the new
generator while remix still declared ^2.2.0-beta.4 would compile in this
workspace and break any consumer that resolved beta.4, so the mix floor
moves to beta.5 in the same commit as the 28 regenerated remix artifacts.
@leoafarias leoafarias changed the title chore(dashboard): size overview grids to Mix auto rows feat(remix): add styler field metadata, raise Mix floor to 2.2.0-beta.5 Aug 19, 2026
@leoafarias
leoafarias merged commit f927de4 into main Aug 19, 2026
4 checks passed
@leoafarias
leoafarias deleted the chore/dashboard-adjustments branch August 19, 2026 21:49
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.

1 participant