Skip to content

Commit cd25de9

Browse files
authored
feat(android): tap-to-expand link previews in chat transcript (#100898)
1 parent 52f1e05 commit cd25de9

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
@@ -5737,97 +5737,129 @@
57375737
"surface": "android",
57385738
"id": "native.android.a7d32e86ce4c0a17"
57395739
},
5740+
{
5741+
"kind": "ui-named-argument",
5742+
"line": 202,
5743+
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
5744+
"source": "Preview · $domain",
5745+
"surface": "android",
5746+
"id": "native.android.71ef7f8dbe2b0dbe"
5747+
},
5748+
{
5749+
"kind": "ui-named-argument",
5750+
"line": 211,
5751+
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
5752+
"source": "Expand link preview",
5753+
"surface": "android",
5754+
"id": "native.android.b49e81e487cdbaa3"
5755+
},
57405756
{
57415757
"kind": "ui-call",
5742-
"line": 161,
5758+
"line": 235,
5759+
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
5760+
"source": "Loading preview…",
5761+
"surface": "android",
5762+
"id": "native.android.986fd353169b6153"
5763+
},
5764+
{
5765+
"kind": "ui-call",
5766+
"line": 236,
5767+
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
5768+
"source": "No preview available",
5769+
"surface": "android",
5770+
"id": "native.android.edb04556385d80d5"
5771+
},
5772+
{
5773+
"kind": "ui-call",
5774+
"line": 281,
57435775
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
57445776
"source": "Thinking...",
57455777
"surface": "android",
57465778
"id": "native.android.a50e44d8f380f9ad"
57475779
},
57485780
{
57495781
"kind": "ui-named-argument",
5750-
"line": 177,
5782+
"line": 297,
57515783
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
57525784
"source": "Tools",
57535785
"surface": "android",
57545786
"id": "native.android.ff4a092a02bd5d17"
57555787
},
57565788
{
57575789
"kind": "ui-call",
5758-
"line": 180,
5790+
"line": 300,
57595791
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
57605792
"source": "Running tools...",
57615793
"surface": "android",
57625794
"id": "native.android.3788802f6c138c8b"
57635795
},
57645796
{
57655797
"kind": "ui-call",
5766-
"line": 183,
5798+
"line": 303,
57675799
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
57685800
"source": "${display.emoji} ${display.label}",
57695801
"surface": "android",
57705802
"id": "native.android.5f93173e06eda5c0"
57715803
},
57725804
{
57735805
"kind": "ui-named-argument",
5774-
"line": 201,
5806+
"line": 321,
57755807
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
57765808
"source": "... +${toolCalls.size - 6} more",
57775809
"surface": "android",
57785810
"id": "native.android.29021f925bf290c7"
57795811
},
57805812
{
57815813
"kind": "ui-named-argument",
5782-
"line": 232,
5814+
"line": 352,
57835815
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
57845816
"source": "You",
57855817
"surface": "android",
57865818
"id": "native.android.b3ff30d4e0b3ce58"
57875819
},
57885820
{
57895821
"kind": "ui-named-argument",
5790-
"line": 246,
5822+
"line": 366,
57915823
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
57925824
"source": "Retry",
57935825
"surface": "android",
57945826
"id": "native.android.9bd31c23ebdf7c7a"
57955827
},
57965828
{
57975829
"kind": "ui-named-argument",
5798-
"line": 249,
5830+
"line": 369,
57995831
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
58005832
"source": "Delete",
58015833
"surface": "android",
58025834
"id": "native.android.b728b15914267f57"
58035835
},
58045836
{
58055837
"kind": "ui-named-argument",
5806-
"line": 281,
5838+
"line": 401,
58075839
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
58085840
"source": "OpenClaw · Live",
58095841
"surface": "android",
58105842
"id": "native.android.dfbd755eb43b4d26"
58115843
},
58125844
{
58135845
"kind": "conditional-branch",
5814-
"line": 318,
5846+
"line": 438,
58155847
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
58165848
"source": "System",
58175849
"surface": "android",
58185850
"id": "native.android.d29098025118ce4b"
58195851
},
58205852
{
58215853
"kind": "conditional-branch",
5822-
"line": 319,
5854+
"line": 439,
58235855
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
58245856
"source": "OpenClaw",
58255857
"surface": "android",
58265858
"id": "native.android.82e9fe45e93909b6"
58275859
},
58285860
{
58295861
"kind": "ui-call",
5830-
"line": 345,
5862+
"line": 465,
58315863
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatMessageViews.kt",
58325864
"source": "Unsupported attachment",
58335865
"surface": "android",
@@ -5891,159 +5923,159 @@
58915923
},
58925924
{
58935925
"kind": "ui-named-argument",
5894-
"line": 620,
5926+
"line": 622,
58955927
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
58965928
"source": "Loading session",
58975929
"surface": "android",
58985930
"id": "native.android.882cc14a58e7e105"
58995931
},
59005932
{
59015933
"kind": "ui-named-argument",
5902-
"line": 647,
5934+
"line": 649,
59035935
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
59045936
"source": "Jump to latest",
59055937
"surface": "android",
59065938
"id": "native.android.2c1106e1687ab258"
59075939
},
59085940
{
59095941
"kind": "conditional-branch",
5910-
"line": 667,
5942+
"line": 669,
59115943
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
59125944
"source": "Ready when you are",
59135945
"surface": "android",
59145946
"id": "native.android.9df2c9d68bad169f"
59155947
},
59165948
{
59175949
"kind": "ui-named-argument",
5918-
"line": 698,
5950+
"line": 700,
59195951
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
59205952
"source": "Fix connection",
59215953
"surface": "android",
59225954
"id": "native.android.6bbe3c5b5193d985"
59235955
},
59245956
{
59255957
"kind": "ui-named-argument",
5926-
"line": 699,
5958+
"line": 701,
59275959
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
59285960
"source": "Copy diagnostics",
59295961
"surface": "android",
59305962
"id": "native.android.579c05816c7dfa79"
59315963
},
59325964
{
59335965
"kind": "ui-named-argument",
5934-
"line": 846,
5966+
"line": 852,
59355967
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
59365968
"source": "Tools running",
59375969
"surface": "android",
59385970
"id": "native.android.781f84dfaf7da9d6"
59395971
},
59405972
{
59415973
"kind": "ui-named-argument",
5942-
"line": 848,
5974+
"line": 854,
59435975
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
59445976
"source": "OpenClaw is working",
59455977
"surface": "android",
59465978
"id": "native.android.d851a32f367f8b31"
59475979
},
59485980
{
59495981
"kind": "ui-named-argument",
5950-
"line": 851,
5982+
"line": 857,
59515983
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
59525984
"source": "+${toolCalls.size - 4} more",
59535985
"surface": "android",
59545986
"id": "native.android.0fd6b75cadc0ce75"
59555987
},
59565988
{
59575989
"kind": "ui-named-argument",
5958-
"line": 861,
5990+
"line": 867,
59595991
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
59605992
"source": "Thinking",
59615993
"surface": "android",
59625994
"id": "native.android.7e0aea1dca378135"
59635995
},
59645996
{
59655997
"kind": "ui-named-argument",
5966-
"line": 862,
5998+
"line": 868,
59675999
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
59686000
"source": "OpenClaw is preparing a response.",
59696001
"surface": "android",
59706002
"id": "native.android.98a0d4d5bba788c4"
59716003
},
59726004
{
59736005
"kind": "ui-named-argument",
5974-
"line": 981,
6006+
"line": 987,
59756007
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
59766008
"source": "Stop",
59776009
"surface": "android",
59786010
"id": "native.android.76d574acfac94fee"
59796011
},
59806012
{
59816013
"kind": "ui-named-argument",
5982-
"line": 998,
6014+
"line": 1004,
59836015
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
59846016
"source": "No commands found",
59856017
"surface": "android",
59866018
"id": "native.android.5953c956ff208e6e"
59876019
},
59886020
{
59896021
"kind": "ui-named-argument",
5990-
"line": 1060,
6022+
"line": 1066,
59916023
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
59926024
"source": "Gateway offline",
59936025
"surface": "android",
59946026
"id": "native.android.8e3e367df24cae4b"
59956027
},
59966028
{
59976029
"kind": "ui-named-argument",
5998-
"line": 1150,
6030+
"line": 1156,
59996031
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
60006032
"source": "Attach image",
60016033
"surface": "android",
60026034
"id": "native.android.623e434c83e3c020"
60036035
},
60046036
{
60056037
"kind": "ui-named-argument",
6006-
"line": 1165,
6038+
"line": 1171,
60076039
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
60086040
"source": "Message OpenClaw",
60096041
"surface": "android",
60106042
"id": "native.android.f1d69eb66c5dfa39"
60116043
},
60126044
{
60136045
"kind": "ui-named-argument",
6014-
"line": 1180,
6046+
"line": 1186,
60156047
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
60166048
"source": "Voice",
60176049
"surface": "android",
60186050
"id": "native.android.19396391033f4fa8"
60196051
},
60206052
{
60216053
"kind": "ui-named-argument",
6022-
"line": 1218,
6054+
"line": 1224,
60236055
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
60246056
"source": "Remove attachment",
60256057
"surface": "android",
60266058
"id": "native.android.5054269049758d6a"
60276059
},
60286060
{
60296061
"kind": "conditional-branch",
6030-
"line": 1239,
6062+
"line": 1245,
60316063
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
60326064
"source": "Main",
60336065
"surface": "android",
60346066
"id": "native.android.5fa853a957713a56"
60356067
},
60366068
{
60376069
"kind": "ui-named-argument",
6038-
"line": 1295,
6070+
"line": 1301,
60396071
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
60406072
"source": "Send",
60416073
"surface": "android",
60426074
"id": "native.android.6e2fcc9d67fc1273"
60436075
},
60446076
{
60456077
"kind": "conditional-branch",
6046-
"line": 1334,
6078+
"line": 1340,
60476079
"path": "apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatScreen.kt",
60486080
"source": "$contextLabel · ${contextMeterThinkingLabel(thinkingLevel)}",
60496081
"surface": "android",

0 commit comments

Comments
 (0)