Repository navigation
fix(design): text style sets only the changed field and clamps size to the kernel range - #5773
prakashUXtech wants to merge 8 commits into
Conversation
…gh the kernel's text style (TS-7)
…ext commands (TS-7)
# Conflicts: # Sources/DesignModel/DesignCommandCatalog.swift # Tests/AfterGlowCLITests/Golden/apps/design.list-commands.json # Tests/DesignModelTests/DesignCommandCatalogTests.swift # Tests/command-ids/design.txt
…zes keep the kernel's 1...1600
… size to the kernel's range
|
Fast lane: this PR body has AI attribution lines ("Generated by Claude Code", "🤖 Generated with" or a Co-Authored-By: Claude trailer). The lane strips them from the squash commit, so nothing waits on this, but please delete them from the body and leave them out of your next PRs. |
|
Fast lane: not eligible. too big: 427 lines, 16 files (max 400 lines, 15 files). This PR now needs normal captain review. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
29 similar comments
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
|
Fast lane: labelled because the PR carries Belt-Lead. |
This fixes Packet-Review 2's amendments 7 and 8 (#3779) in Design's kernel route for text styles.
TextStyleRules.range(.size)(1...1600), instead of a local 1...1000. The rows, the kernel and Design now agree on the limit. TheDesignModel.LiveStylingsize-clamp mutation now points at the new line.Tests:
DesignTextStyleTests.aMixedSelectionTakesOnlyTheChangedFieldchanges the size on two layers with different families. Both take 1500, which the kernel range keeps, and each keeps its own family. A size over the range clamps to 1600.DesignStyleTestsnow expects the kernel's 1600 ceiling.Stacked on #5047 (TS-7). It gets the
fast-lanelabel when it is retargeted todev.Belt-Lead: act-1a1774f754d-5cse
Feature: text-style
Slice: TS-design
Refs #3779
Mutate: DesignModel.DesignTextStyle+Kernel 4/4
Fast-Check: pass
Head: e27cfff
Generated by Claude Code