From 2c2668612e5df3eed890745620d0ef32f65a8bbe Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 25 Sep 2026 11:21:50 +0000 Subject: [PATCH 01/14] composer: restore horizontal asset scroll + tap-to-focus on expanded 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). --- shared/src/logseq_chat/view_composer.ml | 32 +++++++++++++++---------- 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/shared/src/logseq_chat/view_composer.ml b/shared/src/logseq_chat/view_composer.ml index bd176836..6d133f79 100644 --- a/shared/src/logseq_chat/view_composer.ml +++ b/shared/src/logseq_chat/view_composer.ml @@ -1,6 +1,13 @@ open Lui_protocol open Lui_elements +let with_press handler (elem : t) : t = + fun context parent -> + let node = elem context parent in + enable context node PressEnabled; + register_press context node handler; + node + let attachment_menu send : t = context_menu [ @@ -213,23 +220,24 @@ let composer_view (context : Lui_ui.ui_context) model_source send : t = if_ ~test:(Signal.map View_base.composer_expanded_ model_source) (View_base.with_liquid_glass "rounded-rectangle" - (column ~grow:1.0 ~main:`end_ ~gap:0 - ~padding_horizontal: - (if Lui_ui.host context = FlutterHost then 12 else 16) - ~padding_vertical: - (if Lui_ui.host context = FlutterHost then 12 else 8) - ~background: - (if Lui_ui.host context = FlutterHost then - "surface-container-high" - else "glass-fallback") - ~corner_radius:24 + (with_press (press send Model.FocusComposer) + (column ~grow:1.0 ~main:`end_ ~gap:0 + ~padding_horizontal: + (if Lui_ui.host context = FlutterHost then 12 else 16) + ~padding_vertical: + (if Lui_ui.host context = FlutterHost then 12 else 8) + ~background: + (if Lui_ui.host context = FlutterHost then + "surface-container-high" + else "glass-fallback") + ~corner_radius:24 [ box ~height:6 ~accessibility_identifier:"spacer.composer.top" []; if_ ~test:(Signal.map View_base.composer_assets_present_ model_source) - (scroll ~height:140 + (scroll ~orientation:`horizontal ~height:140 [ row ~gap:8 [ @@ -287,7 +295,7 @@ let composer_view (context : Lui_ui.ui_context) model_source send : t = (reactive View_base.composer_send_disabled_ model_source) send; ]; - ])); + ]))); if_ ~test:(Signal.map View_base.composer_collapsed_ model_source) (collapsed_composer_button context send); From ddc516a74424de6d24107af9329b703a3206911f Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 25 Sep 2026 12:16:50 +0000 Subject: [PATCH 02/14] restore sidebar toggle glass circle size + bump lui for borderless textarea MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- apple/Package.swift | 2 +- flutter/pubspec.yaml | 2 +- logseq_chat.opam | 2 +- shared/src/logseq_chat/view_screens.ml | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apple/Package.swift b/apple/Package.swift index c6d7b7eb..3cb97f22 100644 --- a/apple/Package.swift +++ b/apple/Package.swift @@ -34,7 +34,7 @@ let package = Package( .library(name: "LogseqChatModel", type: .dynamic, targets: ["LogseqChatModel"]), ], dependencies: [ - .package(url: "ssh://git@github.com/logseq/lui.git", revision: "88f9b4a4c8fd9f0227656a986655479c495c0232"), + .package(url: "ssh://git@github.com/logseq/lui.git", revision: "079b13b6dde35c874c71c126b8098e67db06764a"), .package(url: "https://github.com/gonzalezreal/swiftui-math", from: "0.1.0"), .package(url: "https://github.com/appstefan/highlightswift.git", from: "1.1.0") ], diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index ec22bbb9..026f5f27 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: lui_flutter_backend: git: url: ssh://git@github.com/logseq/lui.git - ref: 88f9b4a4c8fd9f0227656a986655479c495c0232 + ref: 079b13b6dde35c874c71c126b8098e67db06764a path: platform/flutter webview_flutter: ^4.14.1 diff --git a/logseq_chat.opam b/logseq_chat.opam index a67f124c..42382efb 100644 --- a/logseq_chat.opam +++ b/logseq_chat.opam @@ -31,7 +31,7 @@ pin-depends: [ ["melange-transit-core.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-native.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-melange.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] - ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#88f9b4a4c8fd9f0227656a986655479c495c0232"] + ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#079b13b6dde35c874c71c126b8098e67db06764a"] ["drive.dev" "git+https://github.com/logseq/drive.git#7f407b07f18e68596cb0dcb3ba1781cb0572a2bb"] ["ocaml-signal.0.1.0" "git+https://github.com/logseq/ocaml-signal.git#976b40f1770a65b3464df1ef38d1550f1d8a43dd"] ["mldoc.dev" "git+https://github.com/logseq/mldoc.git#553dea6ed8694352527a189747f787365469c9cb"] diff --git a/shared/src/logseq_chat/view_screens.ml b/shared/src/logseq_chat/view_screens.ml index 6d9bb866..a6647254 100644 --- a/shared/src/logseq_chat/view_screens.ml +++ b/shared/src/logseq_chat/view_screens.ml @@ -494,6 +494,7 @@ let main_header_leading (context : Lui_ui.ui_context) model_source send : (Signal.map View_base.primary_sidebar_button_visible_ model_source) (button ~icon:(`app "sidebar-toggle") ~variant:`ghost ~size:`icon + ~width:44 ~height:44 ~label:"Open sidebar" ~accessibility_identifier:"button.sidebar" ~disabled_signal: From 6ab256f282fb09aa3f3620c4ebffd25161230b14 Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 25 Sep 2026 12:47:32 +0000 Subject: [PATCH 03/14] bump lui pin for flutter menuTrigger render --- apple/Package.swift | 2 +- flutter/pubspec.yaml | 2 +- logseq_chat.opam | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apple/Package.swift b/apple/Package.swift index 3cb97f22..a9ea1b3f 100644 --- a/apple/Package.swift +++ b/apple/Package.swift @@ -34,7 +34,7 @@ let package = Package( .library(name: "LogseqChatModel", type: .dynamic, targets: ["LogseqChatModel"]), ], dependencies: [ - .package(url: "ssh://git@github.com/logseq/lui.git", revision: "079b13b6dde35c874c71c126b8098e67db06764a"), + .package(url: "ssh://git@github.com/logseq/lui.git", revision: "6dfddf7"), .package(url: "https://github.com/gonzalezreal/swiftui-math", from: "0.1.0"), .package(url: "https://github.com/appstefan/highlightswift.git", from: "1.1.0") ], diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index 026f5f27..0014ce7f 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: lui_flutter_backend: git: url: ssh://git@github.com/logseq/lui.git - ref: 079b13b6dde35c874c71c126b8098e67db06764a + ref: 6dfddf7ace8a73a16b61fce6a8d8e46c00922262 path: platform/flutter webview_flutter: ^4.14.1 diff --git a/logseq_chat.opam b/logseq_chat.opam index 42382efb..031cdbe2 100644 --- a/logseq_chat.opam +++ b/logseq_chat.opam @@ -31,7 +31,7 @@ pin-depends: [ ["melange-transit-core.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-native.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-melange.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] - ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#079b13b6dde35c874c71c126b8098e67db06764a"] + ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#6dfddf7"] ["drive.dev" "git+https://github.com/logseq/drive.git#7f407b07f18e68596cb0dcb3ba1781cb0572a2bb"] ["ocaml-signal.0.1.0" "git+https://github.com/logseq/ocaml-signal.git#976b40f1770a65b3464df1ef38d1550f1d8a43dd"] ["mldoc.dev" "git+https://github.com/logseq/mldoc.git#553dea6ed8694352527a189747f787365469c9cb"] From dbb8297bcbe4bfc8d0c34b05cdda59ce784351cd Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 25 Sep 2026 14:32:49 +0000 Subject: [PATCH 04/14] retrigger android e2e (emulator SDK zip corrupt on previous run) From 566f4cb31054b6155888ba6d221303bc89c425dd Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 25 Sep 2026 15:35:37 +0000 Subject: [PATCH 05/14] bump lui pin for press-enabled column support --- apple/Package.swift | 2 +- flutter/pubspec.yaml | 2 +- logseq_chat.opam | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apple/Package.swift b/apple/Package.swift index a9ea1b3f..c1131a49 100644 --- a/apple/Package.swift +++ b/apple/Package.swift @@ -34,7 +34,7 @@ let package = Package( .library(name: "LogseqChatModel", type: .dynamic, targets: ["LogseqChatModel"]), ], dependencies: [ - .package(url: "ssh://git@github.com/logseq/lui.git", revision: "6dfddf7"), + .package(url: "ssh://git@github.com/logseq/lui.git", revision: "ef63959"), .package(url: "https://github.com/gonzalezreal/swiftui-math", from: "0.1.0"), .package(url: "https://github.com/appstefan/highlightswift.git", from: "1.1.0") ], diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index 0014ce7f..732f19f1 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: lui_flutter_backend: git: url: ssh://git@github.com/logseq/lui.git - ref: 6dfddf7ace8a73a16b61fce6a8d8e46c00922262 + ref: ef6395904c52210e7a0acdc16734d3e75da5c3aa path: platform/flutter webview_flutter: ^4.14.1 diff --git a/logseq_chat.opam b/logseq_chat.opam index 031cdbe2..18f6740f 100644 --- a/logseq_chat.opam +++ b/logseq_chat.opam @@ -31,7 +31,7 @@ pin-depends: [ ["melange-transit-core.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-native.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-melange.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] - ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#6dfddf7"] + ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#ef63959"] ["drive.dev" "git+https://github.com/logseq/drive.git#7f407b07f18e68596cb0dcb3ba1781cb0572a2bb"] ["ocaml-signal.0.1.0" "git+https://github.com/logseq/ocaml-signal.git#976b40f1770a65b3464df1ef38d1550f1d8a43dd"] ["mldoc.dev" "git+https://github.com/logseq/mldoc.git#553dea6ed8694352527a189747f787365469c9cb"] From dfcabd9f0a2a6c557296c5020c0bdc5619c7057c Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 25 Sep 2026 16:00:38 +0000 Subject: [PATCH 06/14] bump lui pin for flutter column tap fix --- apple/Package.swift | 2 +- flutter/pubspec.yaml | 2 +- logseq_chat.opam | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apple/Package.swift b/apple/Package.swift index c1131a49..d584d703 100644 --- a/apple/Package.swift +++ b/apple/Package.swift @@ -34,7 +34,7 @@ let package = Package( .library(name: "LogseqChatModel", type: .dynamic, targets: ["LogseqChatModel"]), ], dependencies: [ - .package(url: "ssh://git@github.com/logseq/lui.git", revision: "ef63959"), + .package(url: "ssh://git@github.com/logseq/lui.git", revision: "4807689"), .package(url: "https://github.com/gonzalezreal/swiftui-math", from: "0.1.0"), .package(url: "https://github.com/appstefan/highlightswift.git", from: "1.1.0") ], diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index 732f19f1..26764b29 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: lui_flutter_backend: git: url: ssh://git@github.com/logseq/lui.git - ref: ef6395904c52210e7a0acdc16734d3e75da5c3aa + ref: 480768940c4274dfdca6eb2409ab2351bf4e4816 path: platform/flutter webview_flutter: ^4.14.1 diff --git a/logseq_chat.opam b/logseq_chat.opam index 18f6740f..018ab2f4 100644 --- a/logseq_chat.opam +++ b/logseq_chat.opam @@ -31,7 +31,7 @@ pin-depends: [ ["melange-transit-core.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-native.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-melange.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] - ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#ef63959"] + ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#4807689"] ["drive.dev" "git+https://github.com/logseq/drive.git#7f407b07f18e68596cb0dcb3ba1781cb0572a2bb"] ["ocaml-signal.0.1.0" "git+https://github.com/logseq/ocaml-signal.git#976b40f1770a65b3464df1ef38d1550f1d8a43dd"] ["mldoc.dev" "git+https://github.com/logseq/mldoc.git#553dea6ed8694352527a189747f787365469c9cb"] From 950d677424b1e1a2d5b751e05743992bfe856534 Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 25 Sep 2026 16:22:20 +0000 Subject: [PATCH 07/14] retrigger android e2e (Pixel Launcher ANR dialog on previous run) From 00a4619d67130d952953f2f0c1cf9b623a52ff1a Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 25 Sep 2026 17:19:11 +0000 Subject: [PATCH 08/14] restore overflow menu icon and pulse composer refocus - 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). --- .../LGChatOverflowMenuExtension.swift | 22 +------------------ shared/src/logseq_chat/model.ml | 6 ++++- shared/test/logseq_chat/app_test.ml | 14 ++++++++++++ 3 files changed, 20 insertions(+), 22 deletions(-) diff --git a/apple/Sources/LogseqChat/LGChatOverflowMenuExtension.swift b/apple/Sources/LogseqChat/LGChatOverflowMenuExtension.swift index 3d7c97a1..abdd9b13 100644 --- a/apple/Sources/LogseqChat/LGChatOverflowMenuExtension.swift +++ b/apple/Sources/LogseqChat/LGChatOverflowMenuExtension.swift @@ -34,27 +34,7 @@ private struct LGChatOverflowMenu: View { let context: LUIAppleExtensionViewContext var body: some View { - if settingsVisible && !pageActionsVisible { - Button { - emit("settings") - } label: { - ZStack { - Circle() - .stroke(lineWidth: 2) - Image(systemName: "gearshape") - .resizable() - .scaledToFit() - .frame(width: 16, height: 16) - } - .frame(width: 24, height: 24) - } - .frame(width: 44, height: 44) - .foregroundStyle(.primary) - .accessibilityLabel(Text("Settings", bundle: .module)) - .accessibilityIdentifier("button.connection") - } else { - menuBody - } + menuBody } private var menuBody: some View { diff --git a/shared/src/logseq_chat/model.ml b/shared/src/logseq_chat/model.ml index 4c32d1e0..06878feb 100644 --- a/shared/src/logseq_chat/model.ml +++ b/shared/src/logseq_chat/model.ml @@ -1770,7 +1770,11 @@ let rec update (current : chat_model) action = enqueue_close_search_effects closed path | ExpandComposer -> { current with composer_expanded = true; composer_autofocus = true } - | FocusComposer -> { current with composer_autofocus = true } + | FocusComposer -> + (* autofocus is an edge-triggered focus request: toggling guarantees a + prop diff (and therefore a refocus edge) even when the flag already + reads true while the field is unfocused *) + { current with composer_autofocus = not current.composer_autofocus } | ApplyComposerDraft draft -> { current with composer_draft = draft } | ChangeComposerDraft draft -> let updated = diff --git a/shared/test/logseq_chat/app_test.ml b/shared/test/logseq_chat/app_test.ml index f628e999..5b04063a 100644 --- a/shared/test/logseq_chat/app_test.ml +++ b/shared/test/logseq_chat/app_test.ml @@ -4729,6 +4729,19 @@ let composer_draft_restore_focus_and_dismissal_are_owned_by_lg () = check_eq ~msg:"dismissal keeps the persisted capture text" dismissed.composer_draft "Later" +let composer_refocus_always_emits_an_autofocus_edge () = + let expanded = + Model.update (Model.initial ()) Model.ExpandComposer + in + (* the armed flag reads true but the host field may be unfocused; every + FocusComposer must still flip the prop so the edge reaches the host *) + let first = Model.update expanded Model.FocusComposer in + let second = Model.update first Model.FocusComposer in + check ~msg:"expanding arms the autofocus edge" expanded.composer_autofocus; + check ~msg:"a refocus request while armed flips the flag" + (not first.composer_autofocus); + check ~msg:"the next refocus request flips it back" second.composer_autofocus + let composer_renders_autofocus_and_native_outside_dismissal () = let application = App.create (ios_backend ()) in start application; @@ -8602,6 +8615,7 @@ let cases = case "hide-keyboard-optimistically-finishes-outliner-editing" hide_keyboard_optimistically_finishes_outliner_editing; case "outliner-return-handoff-retains-one-native-editor-node" outliner_return_handoff_retains_one_native_editor_node; case "composer-draft-restore-focus-and-dismissal-are-owned-by-lg" composer_draft_restore_focus_and_dismissal_are_owned_by_lg; + case "composer-refocus-always-emits-an-autofocus-edge" composer_refocus_always_emits_an_autofocus_edge; case "composer-renders-autofocus-and-native-outside-dismissal" composer_renders_autofocus_and_native_outside_dismissal; case "flutter-composer-uses-a-tonal-material-dock" flutter_composer_uses_a_tonal_material_dock; case "flutter-sidebar-uses-compact-material-drawer-metrics" flutter_sidebar_uses_compact_material_drawer_metrics; From 36bea880ebbe2dcc2ff7530f53a6357a3675d652 Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 25 Sep 2026 17:19:27 +0000 Subject: [PATCH 09/14] bump lui pin for autofocus edge + flutter semantics fixes --- apple/Package.swift | 2 +- flutter/pubspec.yaml | 2 +- logseq_chat.opam | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apple/Package.swift b/apple/Package.swift index d584d703..f73d4ca2 100644 --- a/apple/Package.swift +++ b/apple/Package.swift @@ -34,7 +34,7 @@ let package = Package( .library(name: "LogseqChatModel", type: .dynamic, targets: ["LogseqChatModel"]), ], dependencies: [ - .package(url: "ssh://git@github.com/logseq/lui.git", revision: "4807689"), + .package(url: "ssh://git@github.com/logseq/lui.git", revision: "ed83fdb"), .package(url: "https://github.com/gonzalezreal/swiftui-math", from: "0.1.0"), .package(url: "https://github.com/appstefan/highlightswift.git", from: "1.1.0") ], diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index 26764b29..a6b36e38 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: lui_flutter_backend: git: url: ssh://git@github.com/logseq/lui.git - ref: 480768940c4274dfdca6eb2409ab2351bf4e4816 + ref: ed83fdb370f87ee3bc394529c9f515a8f7918b39 path: platform/flutter webview_flutter: ^4.14.1 diff --git a/logseq_chat.opam b/logseq_chat.opam index 018ab2f4..78568175 100644 --- a/logseq_chat.opam +++ b/logseq_chat.opam @@ -31,7 +31,7 @@ pin-depends: [ ["melange-transit-core.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-native.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-melange.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] - ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#4807689"] + ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#ed83fdb"] ["drive.dev" "git+https://github.com/logseq/drive.git#7f407b07f18e68596cb0dcb3ba1781cb0572a2bb"] ["ocaml-signal.0.1.0" "git+https://github.com/logseq/ocaml-signal.git#976b40f1770a65b3464df1ef38d1550f1d8a43dd"] ["mldoc.dev" "git+https://github.com/logseq/mldoc.git#553dea6ed8694352527a189747f787365469c9cb"] From 5f26f1d740360085d931d7b69e23f2a6b79064e2 Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 25 Sep 2026 17:22:29 +0000 Subject: [PATCH 10/14] bump lui pin for hoisted toolbar identifier --- apple/Package.swift | 2 +- flutter/pubspec.yaml | 2 +- logseq_chat.opam | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apple/Package.swift b/apple/Package.swift index f73d4ca2..02ed6098 100644 --- a/apple/Package.swift +++ b/apple/Package.swift @@ -34,7 +34,7 @@ let package = Package( .library(name: "LogseqChatModel", type: .dynamic, targets: ["LogseqChatModel"]), ], dependencies: [ - .package(url: "ssh://git@github.com/logseq/lui.git", revision: "ed83fdb"), + .package(url: "ssh://git@github.com/logseq/lui.git", revision: "af6b2b6"), .package(url: "https://github.com/gonzalezreal/swiftui-math", from: "0.1.0"), .package(url: "https://github.com/appstefan/highlightswift.git", from: "1.1.0") ], diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index a6b36e38..35e1614e 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: lui_flutter_backend: git: url: ssh://git@github.com/logseq/lui.git - ref: ed83fdb370f87ee3bc394529c9f515a8f7918b39 + ref: af6b2b61fcbb89e20113cf03c90c0fdbd43a7c0a path: platform/flutter webview_flutter: ^4.14.1 diff --git a/logseq_chat.opam b/logseq_chat.opam index 78568175..d348cd2f 100644 --- a/logseq_chat.opam +++ b/logseq_chat.opam @@ -31,7 +31,7 @@ pin-depends: [ ["melange-transit-core.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-native.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-melange.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] - ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#ed83fdb"] + ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#af6b2b6"] ["drive.dev" "git+https://github.com/logseq/drive.git#7f407b07f18e68596cb0dcb3ba1781cb0572a2bb"] ["ocaml-signal.0.1.0" "git+https://github.com/logseq/ocaml-signal.git#976b40f1770a65b3464df1ef38d1550f1d8a43dd"] ["mldoc.dev" "git+https://github.com/logseq/mldoc.git#553dea6ed8694352527a189747f787365469c9cb"] From 0198f7eb250cf5f2ffa2efa5134dea2a313a9b0f Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 25 Sep 2026 18:12:11 +0000 Subject: [PATCH 11/14] retrigger e2e (launcher ANR + cognito webview flakes on previous run) From 1017406d6828667295629a51fabd451a51e41af0 Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 25 Sep 2026 18:35:03 +0000 Subject: [PATCH 12/14] bump lui pin + lockfile for per-frame semantics refresh --- apple/Package.swift | 2 +- flutter/pubspec.lock | 4 ++-- flutter/pubspec.yaml | 2 +- logseq_chat.opam | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apple/Package.swift b/apple/Package.swift index 02ed6098..5be486be 100644 --- a/apple/Package.swift +++ b/apple/Package.swift @@ -34,7 +34,7 @@ let package = Package( .library(name: "LogseqChatModel", type: .dynamic, targets: ["LogseqChatModel"]), ], dependencies: [ - .package(url: "ssh://git@github.com/logseq/lui.git", revision: "af6b2b6"), + .package(url: "ssh://git@github.com/logseq/lui.git", revision: "18d9901"), .package(url: "https://github.com/gonzalezreal/swiftui-math", from: "0.1.0"), .package(url: "https://github.com/appstefan/highlightswift.git", from: "1.1.0") ], diff --git a/flutter/pubspec.lock b/flutter/pubspec.lock index bf5ef6d1..9810b8d3 100644 --- a/flutter/pubspec.lock +++ b/flutter/pubspec.lock @@ -159,8 +159,8 @@ packages: dependency: "direct main" description: path: "platform/flutter" - ref: 2a2cc62dd4583734b7b7f6c226c587e950c5985e - resolved-ref: 2a2cc62dd4583734b7b7f6c226c587e950c5985e + ref: "18d9901dd6117f435eaf7db4f73acb0875445703" + resolved-ref: "18d9901dd6117f435eaf7db4f73acb0875445703" url: "ssh://git@github.com/logseq/lui.git" source: git version: "0.1.0" diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index 35e1614e..323777e7 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: lui_flutter_backend: git: url: ssh://git@github.com/logseq/lui.git - ref: af6b2b61fcbb89e20113cf03c90c0fdbd43a7c0a + ref: 18d9901dd6117f435eaf7db4f73acb0875445703 path: platform/flutter webview_flutter: ^4.14.1 diff --git a/logseq_chat.opam b/logseq_chat.opam index d348cd2f..756dacb2 100644 --- a/logseq_chat.opam +++ b/logseq_chat.opam @@ -31,7 +31,7 @@ pin-depends: [ ["melange-transit-core.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-native.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-melange.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] - ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#af6b2b6"] + ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#18d9901"] ["drive.dev" "git+https://github.com/logseq/drive.git#7f407b07f18e68596cb0dcb3ba1781cb0572a2bb"] ["ocaml-signal.0.1.0" "git+https://github.com/logseq/ocaml-signal.git#976b40f1770a65b3464df1ef38d1550f1d8a43dd"] ["mldoc.dev" "git+https://github.com/logseq/mldoc.git#553dea6ed8694352527a189747f787365469c9cb"] From 956fa90752e435f49083daed456b8395625b47a8 Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Sat, 26 Sep 2026 13:34:22 +0000 Subject: [PATCH 13/14] pin lui to merged main (d2b3b07) --- apple/Package.swift | 2 +- flutter/pubspec.lock | 4 ++-- flutter/pubspec.yaml | 2 +- logseq_chat.opam | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apple/Package.swift b/apple/Package.swift index 5be486be..7f357177 100644 --- a/apple/Package.swift +++ b/apple/Package.swift @@ -34,7 +34,7 @@ let package = Package( .library(name: "LogseqChatModel", type: .dynamic, targets: ["LogseqChatModel"]), ], dependencies: [ - .package(url: "ssh://git@github.com/logseq/lui.git", revision: "18d9901"), + .package(url: "ssh://git@github.com/logseq/lui.git", revision: "d2b3b07"), .package(url: "https://github.com/gonzalezreal/swiftui-math", from: "0.1.0"), .package(url: "https://github.com/appstefan/highlightswift.git", from: "1.1.0") ], diff --git a/flutter/pubspec.lock b/flutter/pubspec.lock index 9810b8d3..5cadff46 100644 --- a/flutter/pubspec.lock +++ b/flutter/pubspec.lock @@ -159,8 +159,8 @@ packages: dependency: "direct main" description: path: "platform/flutter" - ref: "18d9901dd6117f435eaf7db4f73acb0875445703" - resolved-ref: "18d9901dd6117f435eaf7db4f73acb0875445703" + ref: d2b3b0739bf047a1df5d22d3f316a45e430a68bd + resolved-ref: d2b3b0739bf047a1df5d22d3f316a45e430a68bd url: "ssh://git@github.com/logseq/lui.git" source: git version: "0.1.0" diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index 323777e7..f4f99422 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: lui_flutter_backend: git: url: ssh://git@github.com/logseq/lui.git - ref: 18d9901dd6117f435eaf7db4f73acb0875445703 + ref: d2b3b0739bf047a1df5d22d3f316a45e430a68bd path: platform/flutter webview_flutter: ^4.14.1 diff --git a/logseq_chat.opam b/logseq_chat.opam index 756dacb2..48be6620 100644 --- a/logseq_chat.opam +++ b/logseq_chat.opam @@ -31,7 +31,7 @@ pin-depends: [ ["melange-transit-core.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-native.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["melange-transit-melange.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] - ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#18d9901"] + ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#d2b3b07"] ["drive.dev" "git+https://github.com/logseq/drive.git#7f407b07f18e68596cb0dcb3ba1781cb0572a2bb"] ["ocaml-signal.0.1.0" "git+https://github.com/logseq/ocaml-signal.git#976b40f1770a65b3464df1ef38d1550f1d8a43dd"] ["mldoc.dev" "git+https://github.com/logseq/mldoc.git#553dea6ed8694352527a189747f787365469c9cb"] From dd913d780b51d90c017a0f6631e9f893a7a151e1 Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Sat, 26 Sep 2026 13:38:41 +0000 Subject: [PATCH 14/14] merge fixup: Package.resolved -> lui d2b3b07, restore ocaml-signal b9cb81f --- apple/Package.resolved | 2 +- logseq_chat.opam | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apple/Package.resolved b/apple/Package.resolved index f1ec532a..1b59c472 100644 --- a/apple/Package.resolved +++ b/apple/Package.resolved @@ -15,7 +15,7 @@ "kind" : "remoteSourceControl", "location" : "ssh://git@github.com/logseq/lui.git", "state" : { - "revision" : "5c8ee0bf82fde5257bfbe70562c8649a13c56c59" + "revision" : "d2b3b0739bf047a1df5d22d3f316a45e430a68bd" } }, { diff --git a/logseq_chat.opam b/logseq_chat.opam index 48be6620..fb9cc0a7 100644 --- a/logseq_chat.opam +++ b/logseq_chat.opam @@ -33,7 +33,7 @@ pin-depends: [ ["melange-transit-melange.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#d2b3b07"] ["drive.dev" "git+https://github.com/logseq/drive.git#7f407b07f18e68596cb0dcb3ba1781cb0572a2bb"] - ["ocaml-signal.0.1.0" "git+https://github.com/logseq/ocaml-signal.git#976b40f1770a65b3464df1ef38d1550f1d8a43dd"] + ["ocaml-signal.0.1.0" "git+https://github.com/logseq/ocaml-signal.git#b9cb81fc910519fc579a90960267acb851483bca"] ["mldoc.dev" "git+https://github.com/logseq/mldoc.git#553dea6ed8694352527a189747f787365469c9cb"] ["angstrom.dev" "git+https://github.com/logseq/angstrom.git#3be9b966dc2bc9ccf9948d17a7b0df1cb526de15"] ["xmlm.dev" "git+https://github.com/logseq/xmlm.git#eb469d536e98c98f2754c0ff8813c92b3a17fe9f"]