Repository navigation
[draft] AST-049: Choose the mobile Pin target from the desktop ratio - #6771
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
There was a problem hiding this comment.
Thanks for keeping this to one concise, theme-agnostic draft and for separating what the explorer demonstrates from what still needs a decision.
Outcome: waiting for a maintainer decision. The supporting context is in good shape — the narrow-plus-coarse activation, CSS-only parity, identity preservation, and compatibility framing preserve current direction, the derivation and worked example faithfully match the cited explorer behaviour, and no separate code or evidence fix is being requested here.
Approval cannot complete yet because the core Pin rule itself has no governing spec to point to:
- whether the desktop-ratio table with its discrete cutoffs should become the default;
- whether that table should extend beyond the explored picker ratios and single explored base to the wider domain, together with the feasibility, precision, virtual-anchor, and floor-reporting guards; and
- which governing record should own that choice.
A maintainer needs to provide or identify the governing spec for this addition — by adopting this rule in the owning record or naming the different claim that should govern it — including an explicit decision on the wider domain. Once that direction is settled, this draft can be accepted as the agreed record or revised to match it, and any later implementation can be reviewed on its own parity, compatibility, and browser evidence.
[Automated review]
There was a problem hiding this comment.
Thanks for minimising this to the one sourced rule and for separating what the explorer demonstrates from what still needs a decision.
Outcome: waiting for a maintainer decision. The supporting context is in good shape — the narrow-plus-coarse activation and the platform-support deferral preserve current direction, the table, derivation, and worked example faithfully match the cited explorer behaviour, and the record itself passes the repository knowledge checks. No separate code fix is being requested here.
Approval cannot complete yet because the core Pin rule itself has no governing spec to point to:
- whether the desktop-ratio table with its discrete cutoffs should become the default;
- whether that table applies beyond the eight explored ratios at the single explored base, which the draft itself leaves as an open question; and
- which governing record should own that choice.
A maintainer needs to provide or identify the governing spec for this addition — by adopting this rule in the owning record or naming the different claim that should govern it. Once that direction is settled, this draft can be accepted as the agreed record or revised to match it, and any later implementation can be reviewed on its own evidence.
[Automated review]
PR Analysis Report
|
There was a problem hiding this comment.
Thanks for minimising this to the one sourced rule and for separating what the explorer demonstrates from what still needs a decision.
Outcome: waiting for a maintainer decision. The supporting context is in good shape — the narrow-plus-coarse activation and the platform-support deferral preserve current direction, the table, derivation, and worked example faithfully match the cited explorer behaviour, and the record itself passes the repository knowledge checks. No separate code fix is being requested here.
Approval cannot complete yet because the core Pin rule itself has no governing spec to point to:
- whether the desktop-ratio table with its discrete cutoffs and Design intent rationale should become the default;
- whether that table applies beyond the explored ratios at the single explored base, which the draft itself leaves as an open question about which base sizes and ratios the policy must support; and
- which governing record should own that choice.
A maintainer needs to provide or identify the governing spec for this addition — by adopting this rule in the owning record or naming the different claim that should govern it. Once that direction is settled, this draft can be accepted as the agreed record or revised to match it, and any later implementation can be reviewed on its own evidence. One minor clarity point for that follow-up revision: the calculation block uses a referencePx symbol that is never defined, so naming what it denotes would keep the formula implementable without guessing.
[Automated review]
There was a problem hiding this comment.
Thanks for keeping this to the one minimised rule and for separating what is already settled from what still needs a decision. Adding a co-owner is a welcome ownership signal, and it does not change the decision still needed below.
Outcome: waiting for a maintainer decision. The supporting context is in good shape — the narrow-plus-coarse activation and the platform-support deferral preserve current direction, the table, derivation, and worked example check out exactly, and the record passes the repository knowledge checks. No separate code fix is being requested here.
Approval cannot complete yet because the core Pin rule itself has no governing spec to point to:
- whether the desktop-ratio table with its discrete cutoffs and Design intent rationale should become the default;
- whether that table applies beyond the explored ratios at the single explored base, which the draft itself leaves as an open question about which base sizes and ratios the policy must support; and
- which governing record should own that choice.
A maintainer needs to provide or identify the governing spec for this addition — by adopting this rule in the owning record or naming the different claim that should govern it. Once that direction is settled, this draft can be accepted as the agreed record or revised to match it, and any later implementation can be reviewed on its own evidence. One minor clarity point for that follow-up revision: the calculation block uses a referencePx symbol that is never defined, so naming what it denotes would keep the formula implementable without guessing.
[Automated review]
|
|
||
| ## Intent | ||
|
|
||
| The mobile scale MUST raise a desktop base below 16px-reference to 16px-reference |
There was a problem hiding this comment.
Do we want to mention it's because our input auto changes to 16px on mobile and we want to balance the rest of the text styles used
There was a problem hiding this comment.
Added the motivation to Intent in 2b88483: balance the rest of the text styles with the automatic 16px-reference input minimum on coarse-pointer iOS. The Pin rule is unchanged. Leaving this open for your confirmation.
There was a problem hiding this comment.
Thanks for adding the input-balance rationale the review asked for, and for keeping this to the one minimised rule.
Outcome: waiting for a maintainer decision. The supporting context is in good shape — the narrow-plus-coarse activation and the platform-support deferral preserve current direction, the table, derivation, and worked example check out exactly, and the record passes the repository knowledge checks. No separate code fix is being requested here.
Approval cannot complete yet because the core Pin rule itself has no governing spec to point to:
- whether the desktop-ratio table with its discrete cutoffs and Design intent rationale should become the default;
- whether that table applies beyond the explored ratios at the single explored base, which the draft itself leaves as an open question about which base sizes and ratios the policy must support;
- whether the new iOS-input rationale for the floor is meant to justify activation on all primary-coarse devices, or is iOS-scoped motivation only; and
- which governing record should own that choice.
A maintainer needs to provide or identify the governing spec for this addition — by adopting this rule in the owning record or naming the different claim that should govern it. Once that direction is settled, this draft can be accepted as the agreed record or revised to match it, and any later implementation can be reviewed on its own evidence. One minor clarity point for that follow-up revision: the calculation block uses a referencePx symbol that is never defined, so naming what it denotes would keep the formula implementable without guessing.
[Automated review]
* feat(themes): pin type scale on touch + narrow viewports Mobile Type (Pin model): under (width < 768px) and (pointer: coarse), the 14px-base themes floor their type base to 16px and re-derive the ratio so Display 1 (the recommended anchor for ratio <= 1.25) holds its desktop size. - neutral, chocolate: base 14 -> 16, ratio 1.2 -> 1.1736 (display-1 42px) - butter, stone: base 14 -> 16, ratio 1.25 -> 1.2225 (display-1 53px) - gothic, matcha, y2k are already base 16; their pinned ladder equals their desktop ladder, so they need no adaptation rule. Desktop scales are unchanged. Body/label/code rise 14px -> 16px to match the existing 16px coarse-pointer input floor. * [draft] AST-049: Choose the mobile Pin target from the desktop ratio (#6771) * docs(specs): add AST-049 mobile typography spec (draft) * docs(specs): make AST-049 plan concise * docs(specs): make AST-049 concise and spec-only * docs(specs): define Pin targets by desktop ratio * docs(specs): minimise AST-049 to the sourced Pin rule * docs(specs): make AST-049 a minimal normative spec * docs(specs): add rubyycheung as AST-049 co-owner * docs(specs): address Ruby review on AST-049 * docs(specs): use lg breakpoint for AST-049 mobile predicate * feat(themes): move the mobile type pin cutoff to the lg breakpoint AST-049 as merged sets the mobile condition to (width < 1024px) and (pointer: coarse) — the effective lg breakpoint, upper edge exclusive — instead of md/768px. Update the four 14px-base themes' adaptation rules, their tests, the changeset text, and the regenerated CLI theme templates. Pin math is unchanged: both ratios (1.2, 1.25) stay in the r <= 1.25 branch pinning Display 1 at +6. * docs(specs): approve AST-049 * docs(specs): move AST-049 out of the implementation PR * docs(changeset): the touch-and-narrow type pin is a breaking visible change; add the migration * docs(changeset): name the inherited-rule effect on extending themes, pin supporting text in the butter/stone opt-out, and state which tiers grow --------- Co-authored-by: Cindy Zhang <[email protected]>
Minimum specification for choosing the mobile Pin target from the desktop ratio.
Exact decision needed
r <= 1.251.25 < r < 1.414r >= 1.414Existing authority searched
Existing theme adaptation, application, and platform contracts retain ownership of their respective behavior.
Decision
Choose the pin from the desktop ratio, preserve the selected role, and raise a smaller reading base to 16px-reference. The spec has one short design-intent sentence per ratio row and one numbers-only example.
Rejected alternatives
No optimality claims or additional selection policies are introduced.
Claim scope and non-goals
Only
docs/specs/AST-049-mobile-typography/spec.mdchanges. No code links, source quotations, provenance narrative, plan, or implementation changes remain in the spec.Evidence and implementation relationship
Related implementation: PR #6699. Spec authority remains draft with no approval claimed.
Scope
Validation
Spec: 219 → 126 lines; 12,412 → 4,620 bytes.
page.tsx/L60/ source-code-link matches: 0; blockquotes: 0.