Skip to content

restore composer + sidebar toggle to pre-port design (and e2e fixes) - #24

Merged
tiensonqin merged 15 commits into
mainfrom
devin/1790335183-composer-sidebar-restore
Sep 26, 2026
Merged

tiensonqin merged 15 commits into
mainfrom
devin/1790335183-composer-sidebar-restore

Conversation

@tiensonqin

@tiensonqin tiensonqin commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Restores the composer and sidebar toggle to the pre-port design (verified against b4d1ffd side-by-side on the iOS simulator), reverts the top-right header button back to "···", and fixes FocusComposer refocus.

  • Composer: the asset preview bar lost ~orientation:horizontal(it wrapped vertically); restored. The expanded card lost tap-to-focus —with_pressnow emitspress-enabledon the column so tapping the card sendsFocusComposer(lui side: columns acceptpress-enabled`, see apple: keep textarea borderless + e2e fixes (semantics refresh, autofocus edge, hoisted toolbar id) lui#52). The textarea's stray border comes from the lui pin — fixed there.
  • FocusComposer refocus: FocusComposer now toggles composer_autofocus (not current.composer_autofocus) so every press emits a wire diff — prop dedup meant a second focus request while the flag was already true produced nothing. Hosts treat any transition as a focus edge (lui#52). Regression test composer-refocus-always-emits-an-autofocus-edge added.
  • Header button: removed the settingsVisible && !pageActionsVisible gear branch in LGChatOverflowMenu.swift — always back to the "···" menu.
  • Sidebar toggle: explicit 44x44 so the glass circle renders at the old ~44pt (lui dropped the iOS default button height; app declares its size).
  • Lui pin: bumped to af6b2b6 — includes the flutter semantics-refresh fix (android button.sidebar e2e) and the hoisted-toolbar identifier fix (ios toolbar.outliner.editor e2e), both root-caused in apple: keep textarea borderless + e2e fixes (semantics refresh, autofocus edge, hoisted toolbar id) lui#52.

Link to Devin session: https://app.devin.ai/sessions/eab2eca00a5649d09fcf48626d9f09ef
Open in Devin Desktop: https://app.devin.ai/desktop/session/eab2eca00a5649d09fcf48626d9f09ef?variant=devin
Requested by: @tiensonqin

…card

Two behaviors dropped in the OCaml port vs the previous LG design:
the asset strip scrolled vertically (missing :orientation), and
tapping the expanded composer card no longer focused the field
(missing on-press -> FocusComposer; containers have no ~on_press in
the typed DSL so a with_press helper registers PressEnabled).
…xtarea

The header sidebar button lost its ~44pt circle when lui c90fe35
dropped the iOS default 44pt button height (system metrics is
intentional — pin the hit target explicitly instead). Also pins lui
to 079b13b which keeps .textarea borderless, restoring the composer's
bare text field on the glass card.
@devin-ai-integration

Copy link
Copy Markdown

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

- Apple overflow menu: drop the gear shortcut shown when only settings
  is visible; always render the previous horizontal-ellipsis menu.
- FocusComposer toggles composer_autofocus so every request emits an
  autofocus prop edge (the flag could already read true while the field
  was unfocused, producing no diff and no refocus).
@devin-ai-integration devin-ai-integration Bot changed the title restore composer + sidebar toggle to pre-port design restore composer + sidebar toggle to pre-port design (and e2e fixes) Sep 25, 2026
@tiensonqin
tiensonqin merged commit ce99f0f into main Sep 26, 2026
2 of 5 checks passed
@tiensonqin
tiensonqin deleted the devin/1790335183-composer-sidebar-restore branch September 26, 2026 13:57
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