Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/design/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ original image bytes with Figma image-hash verification; the original Start
collage already matches the bundled photos. Jost and Inter are bundled locally.
Product images in real journeys remain the approved catalog assets.

The Designs page's journey layout uses shared gutters and `StylistSection` for
explicit section spacing and compact recommendation carousels. Journey captions
use the screen typography; standalone component captions retain their own style.
Roomy portrait keeps the dressing room above an independent conversation scroll.
See the [native before/after comparison](../verification/figma-layout-2026-10-13/README.md).

## Behavior boundaries

On Duo, Book mode paints the whole right pane black. Fully open keeps its
Expand Down
97 changes: 97 additions & 0 deletions docs/design/export/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,34 @@
],
"additionalProperties": true
},
"StylistSection": {
"type": "object",
"properties": {
"children": {
"type": "array",
"items": {
"type": "string"
}
},
"spacing": {
"type": "number"
},
"compactCarousel": {
"type": "boolean"
},
"component": {
"type": "string",
"enum": [
"StylistSection"
]
}
},
"required": [
"component",
"children"
],
"additionalProperties": true
},
"ChoiceChip": {
"type": "object",
"description": "A compact single-choice control for a structured prompt.",
Expand Down Expand Up @@ -984,6 +1012,75 @@
],
"additionalProperties": true
},
"RecommendationSkeleton": {
"type": "object",
"properties": {
"component": {
"type": "string",
"enum": [
"RecommendationSkeleton"
]
}
},
"required": [
"component"
],
"additionalProperties": true
},
"RecommendationPreview": {
"type": "object",
"properties": {
"products": {
"oneOf": [
{
"type": "array",
"items": {}
},
{
"type": "object",
"description": "A path to a list.",
"properties": {
"path": {
"type": "string",
"description": "A relative or absolute path in the data model."
}
},
"required": [
"path"
]
},
{
"type": "object",
"properties": {
"call": {
"type": "string",
"description": "The name of the function to call."
},
"args": {
"type": "object",
"description": "Arguments to pass to the function.",
"additionalProperties": true
}
},
"required": [
"call"
]
}
]
},
"component": {
"type": "string",
"enum": [
"RecommendationPreview"
]
}
},
"required": [
"component",
"products"
],
"additionalProperties": true
},
"PieceSlot": {
"type": "object",
"description": "A finalized dressing-room hanger. All six garment categories are verified. Empty is still to find; Next is being chosen; Filled shows a product. A filled Change action emits a host event for Quick Adjust. Category-less legacy payloads retain the original presentation.",
Expand Down
97 changes: 97 additions & 0 deletions docs/design/export/examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,34 @@
],
"additionalProperties": true
},
"StylistSection": {
"type": "object",
"properties": {
"children": {
"type": "array",
"items": {
"type": "string"
}
},
"spacing": {
"type": "number"
},
"compactCarousel": {
"type": "boolean"
},
"component": {
"type": "string",
"enum": [
"StylistSection"
]
}
},
"required": [
"component",
"children"
],
"additionalProperties": true
},
"ChoiceChip": {
"type": "object",
"description": "A compact single-choice control for a structured prompt.",
Expand Down Expand Up @@ -986,6 +1014,75 @@
],
"additionalProperties": true
},
"RecommendationSkeleton": {
"type": "object",
"properties": {
"component": {
"type": "string",
"enum": [
"RecommendationSkeleton"
]
}
},
"required": [
"component"
],
"additionalProperties": true
},
"RecommendationPreview": {
"type": "object",
"properties": {
"products": {
"oneOf": [
{
"type": "array",
"items": {}
},
{
"type": "object",
"description": "A path to a list.",
"properties": {
"path": {
"type": "string",
"description": "A relative or absolute path in the data model."
}
},
"required": [
"path"
]
},
{
"type": "object",
"properties": {
"call": {
"type": "string",
"description": "The name of the function to call."
},
"args": {
"type": "object",
"description": "Arguments to pass to the function.",
"additionalProperties": true
}
},
"required": [
"call"
]
}
]
},
"component": {
"type": "string",
"enum": [
"RecommendationPreview"
]
}
},
"required": [
"component",
"products"
],
"additionalProperties": true
},
"PieceSlot": {
"type": "object",
"description": "A finalized dressing-room hanger. All six garment categories are verified. Empty is still to find; Next is being chosen; Filled shows a product. A filled Change action emits a host event for Quick Adjust. Category-less legacy payloads retain the original presentation.",
Expand Down
8 changes: 8 additions & 0 deletions docs/genkit-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ model only; it must not expose connected credentials through reflection.

## Upstream references

The UI listens to GenUI's public `SurfaceContext.definition` for quick surface
reveals and preserves the existing `Surface` and bound controls. Bound data can
change layout without an agent notification, so bottom-following observes actual
rendered geometry. It follows only while the user is up to date and respects
Reduce Motion. This does not add or change Genkit requests. See the
[renderer capture and comparison](verification/figma-layout-2026-10-13/README.md)
and [GenUI SurfaceContext API](https://pub.dev/documentation/genui/latest/genui/SurfaceContext-class.html).

- [Genkit version history](https://pub.dev/packages/genkit/versions)
- [Genkit 1.0 changes](https://pub.dev/packages/genkit/versions/1.0.0/changelog)
- [Genkit public API](https://pub.dev/documentation/genkit/1.0.0/genkit/)
Expand Down
32 changes: 32 additions & 0 deletions docs/verification/duo-compact-composer-2026-10-13/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Compact Duo composer — 13 October 2026

The fully open landscape Duo now uses its lower display area for the composer,
with an actual 8-point bottom gap and 16-point side margins. Its 52-point input
pill is at `(16, 609)–(459.5, 661)` in the 951 × 669 native viewport on both the
opening and conversation screens. Compared with the preceding build, the input
is 26 points lower and 32 points wider.

The previous 34-point ambient bottom padding no longer constrains this pane on
the flat landscape inner display. Cover, portrait and Book layouts retain their
native bottom clearance. Bottom cutouts, horizontal fold bounds and the resized
keyboard viewport still constrain the input. Resting conversation content has
16 points above the input, rather than the earlier 32-point gap.

- [Before](before.png).
- [Opening after](after-start.png) / [native geometry](after-start.json).
- [Conversation after](after-brief.png) / [native geometry](after-brief.json).
- [Device Hub frame](after-framed.png): the pill fits inside the rounded display corners.

Captures use production widgets with the offline Genkit diagnostic. No web
preview or paid provider request was used. Glass is still confined to the input
pill, and microphone/send controls retain their sizes.

All 350 Flutter tests pass with a clean analyzer. Added regressions check the
actual opening and conversation input bounds in open landscape, Book, portrait,
cover, keyboard and bottom-cutout scenarios. Existing fold/state retention and
larger-inset tests remain covered.

This supersedes the composer clearance in the
[preceding captures](../duo-composer-clearance-2026-10-13/README.md) and the
32-point resting input gap in the
[earlier padding captures](../duo-padding-2026-10-13/README.md).
76 changes: 76 additions & 0 deletions docs/verification/duo-compact-composer-2026-10-13/after-brief.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"status": "fullyOpen",
"angle": 180.0,
"support": "available",
"strategy": "updateHandler",
"size": "Size(951.0, 669.0)",
"keyboard": 0.0,
"sizeClass": "regular",
"regions": [
{
"kind": "division",
"active": false,
"bounds": "Rect.fromLTRB(455.5, 0.0, 495.5, 669.0)"
},
{
"kind": "occlusion",
"active": true,
"bounds": "Rect.fromLTRB(867.0, 0.0, 951.0, 120.0)"
}
],
"fields": [
{
"draft": "",
"focus": false,
"textScale": 1.0,
"bounds": "Rect.fromLTRB(40.0, 625.0, 363.5, 645.0)",
"state": 1023690096
}
],
"layouts": [
"[<'split-pane-layout'>]"
],
"backgrounds": [
{
"color": "ffffffff",
"bounds": "Rect.fromLTRB(0.0, 0.0, 475.5, 669.0)"
}
],
"panels": {
"dressing-room-resize": {
"top": 12.0,
"height": 645.0
},
"finalized-dressing-room": {
"top": 12.0,
"height": 645.0,
"color": "ff000000"
}
},
"surface": "inline-1",
"journey": null,
"agent": 234959937,
"spent": "\u20ac0 spent \u2014\u00a00 of 4",
"selected": [],
"scrolls": [
{
"pixels": 0.0,
"max": 0.0
},
{
"pixels": 0.0,
"max": 0.0
},
{
"pixels": 0.0,
"max": 0.0
}
],
"nativeBottomInset": 34.0,
"composers": [
{
"bounds": "Rect.fromLTRB(16.0, 609.0, 459.5, 661.0)",
"bottomGap": 8.0
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions docs/verification/duo-compact-composer-2026-10-13/after-start.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"status": "fullyOpen",
"angle": 180.0,
"size": "Size(951.0, 669.0)",
"surface": null,
"agent": 244776480,
"nativeBottomInset": 34.0,
"composers": [
{
"bounds": "Rect.fromLTRB(16.0, 609.0, 459.5, 661.0)",
"bottomGap": 8.0
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions docs/verification/duo-composer-clearance-2026-10-13/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Duo composer clearance — 13 October 2026

The opening and conversation composers now use the same preferred 16-point
bottom clearance. Larger native safe insets take precedence. The conversation
dock no longer adds another 8 points below the input pill.

On the fully open iOS 27.1 Duo simulator, the native bottom inset is 34 points.
Both screens place the 52-point input pill at `(32, 583)–(443.5, 635)` in the
951 × 669 viewport, leaving exactly 34 points below it. The composer stays at
the same vertical position when the first conversation starts.

- [Previously running app](before-running.png): approximately 82 points below the composer.
- [Fresh deployment before this change](before-redeployed.png): approximately 34 points below the opening composer. Redeployment alone removed about 48 points of stale spacing.
- [Updated opening screen](after-start.png) / [native geometry](after-start.json).
- [Updated conversation](after-brief.png) / [native geometry](after-brief.json).

The updated captures use the production widgets with the offline Genkit
diagnostic. No web preview or paid provider request was used. Glass remains
clipped to the input pill; resting spacing above the input is unchanged.

Verification: 344 Flutter tests pass. Added layout regressions check matching
opening/conversation positions with both zero and 34-point native bottom
insets, while the existing larger-inset regression retains 64-point clearance.
Loading
Loading