Skip to content

Commit 989df73

Browse files
committed
feat(android): tap-to-expand link previews in chat transcript
1 parent 5aa7c62 commit 989df73

6 files changed

Lines changed: 949 additions & 34 deletions

File tree

apps/.i18n/native-source.json

Lines changed: 64 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5601,97 +5601,129 @@
56015601
"surface": "android",
56025602
"id": "native.android.a7d32e86ce4c0a17"
56035603
},
5604+
{
5605+
"kind": "ui-named-argument",
5606+
"line": 202,
5607+
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
5608+
"source": "Preview · $domain",
5609+
"surface": "android",
5610+
"id": "native.android.71ef7f8dbe2b0dbe"
5611+
},
5612+
{
5613+
"kind": "ui-named-argument",
5614+
"line": 211,
5615+
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
5616+
"source": "Expand link preview",
5617+
"surface": "android",
5618+
"id": "native.android.b49e81e487cdbaa3"
5619+
},
56045620
{
56055621
"kind": "ui-call",
5606-
"line": 161,
5622+
"line": 235,
5623+
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
5624+
"source": "Loading preview…",
5625+
"surface": "android",
5626+
"id": "native.android.986fd353169b6153"
5627+
},
5628+
{
5629+
"kind": "ui-call",
5630+
"line": 236,
5631+
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
5632+
"source": "No preview available",
5633+
"surface": "android",
5634+
"id": "native.android.edb04556385d80d5"
5635+
},
5636+
{
5637+
"kind": "ui-call",
5638+
"line": 281,
56075639
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
56085640
"source": "Thinking...",
56095641
"surface": "android",
56105642
"id": "native.android.a50e44d8f380f9ad"
56115643
},
56125644
{
56135645
"kind": "ui-named-argument",
5614-
"line": 177,
5646+
"line": 297,
56155647
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
56165648
"source": "Tools",
56175649
"surface": "android",
56185650
"id": "native.android.ff4a092a02bd5d17"
56195651
},
56205652
{
56215653
"kind": "ui-call",
5622-
"line": 180,
5654+
"line": 300,
56235655
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
56245656
"source": "Running tools...",
56255657
"surface": "android",
56265658
"id": "native.android.3788802f6c138c8b"
56275659
},
56285660
{
56295661
"kind": "ui-call",
5630-
"line": 183,
5662+
"line": 303,
56315663
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
56325664
"source": "${display.emoji} ${display.label}",
56335665
"surface": "android",
56345666
"id": "native.android.5f93173e06eda5c0"
56355667
},
56365668
{
56375669
"kind": "ui-named-argument",
5638-
"line": 201,
5670+
"line": 321,
56395671
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
56405672
"source": "... +${toolCalls.size - 6} more",
56415673
"surface": "android",
56425674
"id": "native.android.29021f925bf290c7"
56435675
},
56445676
{
56455677
"kind": "ui-named-argument",
5646-
"line": 232,
5678+
"line": 352,
56475679
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
56485680
"source": "You",
56495681
"surface": "android",
56505682
"id": "native.android.b3ff30d4e0b3ce58"
56515683
},
56525684
{
56535685
"kind": "ui-named-argument",
5654-
"line": 246,
5686+
"line": 366,
56555687
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
56565688
"source": "Retry",
56575689
"surface": "android",
56585690
"id": "native.android.9bd31c23ebdf7c7a"
56595691
},
56605692
{
56615693
"kind": "ui-named-argument",
5662-
"line": 249,
5694+
"line": 369,
56635695
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
56645696
"source": "Delete",
56655697
"surface": "android",
56665698
"id": "native.android.b728b15914267f57"
56675699
},
56685700
{
56695701
"kind": "ui-named-argument",
5670-
"line": 281,
5702+
"line": 401,
56715703
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
56725704
"source": "OpenClaw · Live",
56735705
"surface": "android",
56745706
"id": "native.android.dfbd755eb43b4d26"
56755707
},
56765708
{
56775709
"kind": "conditional-branch",
5678-
"line": 318,
5710+
"line": 438,
56795711
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
56805712
"source": "System",
56815713
"surface": "android",
56825714
"id": "native.android.d29098025118ce4b"
56835715
},
56845716
{
56855717
"kind": "conditional-branch",
5686-
"line": 319,
5718+
"line": 439,
56875719
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
56885720
"source": "OpenClaw",
56895721
"surface": "android",
56905722
"id": "native.android.82e9fe45e93909b6"
56915723
},
56925724
{
56935725
"kind": "ui-call",
5694-
"line": 345,
5726+
"line": 465,
56955727
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
56965728
"source": "Unsupported attachment",
56975729
"surface": "android",
@@ -5755,159 +5787,159 @@
57555787
},
57565788
{
57575789
"kind": "ui-named-argument",
5758-
"line": 620,
5790+
"line": 622,
57595791
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
57605792
"source": "Loading session",
57615793
"surface": "android",
57625794
"id": "native.android.882cc14a58e7e105"
57635795
},
57645796
{
57655797
"kind": "ui-named-argument",
5766-
"line": 647,
5798+
"line": 649,
57675799
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
57685800
"source": "Jump to latest",
57695801
"surface": "android",
57705802
"id": "native.android.2c1106e1687ab258"
57715803
},
57725804
{
57735805
"kind": "conditional-branch",
5774-
"line": 667,
5806+
"line": 669,
57755807
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
57765808
"source": "Ready when you are",
57775809
"surface": "android",
57785810
"id": "native.android.9df2c9d68bad169f"
57795811
},
57805812
{
57815813
"kind": "ui-named-argument",
5782-
"line": 698,
5814+
"line": 700,
57835815
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
57845816
"source": "Fix connection",
57855817
"surface": "android",
57865818
"id": "native.android.6bbe3c5b5193d985"
57875819
},
57885820
{
57895821
"kind": "ui-named-argument",
5790-
"line": 699,
5822+
"line": 701,
57915823
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
57925824
"source": "Copy diagnostics",
57935825
"surface": "android",
57945826
"id": "native.android.579c05816c7dfa79"
57955827
},
57965828
{
57975829
"kind": "ui-named-argument",
5798-
"line": 846,
5830+
"line": 852,
57995831
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
58005832
"source": "Tools running",
58015833
"surface": "android",
58025834
"id": "native.android.781f84dfaf7da9d6"
58035835
},
58045836
{
58055837
"kind": "ui-named-argument",
5806-
"line": 848,
5838+
"line": 854,
58075839
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
58085840
"source": "OpenClaw is working",
58095841
"surface": "android",
58105842
"id": "native.android.d851a32f367f8b31"
58115843
},
58125844
{
58135845
"kind": "ui-named-argument",
5814-
"line": 851,
5846+
"line": 857,
58155847
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
58165848
"source": "+${toolCalls.size - 4} more",
58175849
"surface": "android",
58185850
"id": "native.android.0fd6b75cadc0ce75"
58195851
},
58205852
{
58215853
"kind": "ui-named-argument",
5822-
"line": 861,
5854+
"line": 867,
58235855
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
58245856
"source": "Thinking",
58255857
"surface": "android",
58265858
"id": "native.android.7e0aea1dca378135"
58275859
},
58285860
{
58295861
"kind": "ui-named-argument",
5830-
"line": 862,
5862+
"line": 868,
58315863
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
58325864
"source": "OpenClaw is preparing a response.",
58335865
"surface": "android",
58345866
"id": "native.android.98a0d4d5bba788c4"
58355867
},
58365868
{
58375869
"kind": "ui-named-argument",
5838-
"line": 981,
5870+
"line": 987,
58395871
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
58405872
"source": "Stop",
58415873
"surface": "android",
58425874
"id": "native.android.76d574acfac94fee"
58435875
},
58445876
{
58455877
"kind": "ui-named-argument",
5846-
"line": 998,
5878+
"line": 1004,
58475879
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
58485880
"source": "No commands found",
58495881
"surface": "android",
58505882
"id": "native.android.5953c956ff208e6e"
58515883
},
58525884
{
58535885
"kind": "ui-named-argument",
5854-
"line": 1060,
5886+
"line": 1066,
58555887
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
58565888
"source": "Gateway offline",
58575889
"surface": "android",
58585890
"id": "native.android.8e3e367df24cae4b"
58595891
},
58605892
{
58615893
"kind": "ui-named-argument",
5862-
"line": 1150,
5894+
"line": 1156,
58635895
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
58645896
"source": "Attach image",
58655897
"surface": "android",
58665898
"id": "native.android.623e434c83e3c020"
58675899
},
58685900
{
58695901
"kind": "ui-named-argument",
5870-
"line": 1165,
5902+
"line": 1171,
58715903
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
58725904
"source": "Message OpenClaw",
58735905
"surface": "android",
58745906
"id": "native.android.f1d69eb66c5dfa39"
58755907
},
58765908
{
58775909
"kind": "ui-named-argument",
5878-
"line": 1180,
5910+
"line": 1186,
58795911
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
58805912
"source": "Voice",
58815913
"surface": "android",
58825914
"id": "native.android.19396391033f4fa8"
58835915
},
58845916
{
58855917
"kind": "ui-named-argument",
5886-
"line": 1218,
5918+
"line": 1224,
58875919
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
58885920
"source": "Remove attachment",
58895921
"surface": "android",
58905922
"id": "native.android.5054269049758d6a"
58915923
},
58925924
{
58935925
"kind": "conditional-branch",
5894-
"line": 1239,
5926+
"line": 1245,
58955927
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
58965928
"source": "Main",
58975929
"surface": "android",
58985930
"id": "native.android.5fa853a957713a56"
58995931
},
59005932
{
59015933
"kind": "ui-named-argument",
5902-
"line": 1295,
5934+
"line": 1301,
59035935
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
59045936
"source": "Send",
59055937
"surface": "android",
59065938
"id": "native.android.6e2fcc9d67fc1273"
59075939
},
59085940
{
59095941
"kind": "conditional-branch",
5910-
"line": 1334,
5942+
"line": 1340,
59115943
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
59125944
"source": "$contextLabel · ${contextMeterThinkingLabel(thinkingLevel)}",
59135945
"surface": "android",

0 commit comments

Comments
 (0)