Fossil User Forum

Chat oddity (1968)
Login

Chat oddity (1968)

Chat oddity (1968)

(1) By brickviking on 2024-12-15 21:18:06 [source]

Another edge case?

I've just struck an intriguing bug with the chat app, so I thought I'd report it here too. Clicking on the user name for message 20755 (in this case, chat-robot) and showing "Toggle Text mode" sets the message off in text mode as I'd expect. However, in this case, toggling it back, the text message is truncated to just the URL in the original message. Highlighting the URL does show the text of the correct URL and the link that it goes to. Refreshing the page corrects the issue.

You've really made the grade

The example text before toggling:

chat-robot #20755 @ 4:57 Monday
Change the --external-baseline option on "diff" and "ui" to be just --from. See forum thread 91ce9dd9f9afa7fe. (check-in: 763758db, user: drh, branch: trunk)

..and the sky looks very different today

Setting it to text mode does this (img is a placeholder):
(img) Copy unformatted text

Change the --external-baseline option on "diff" and "ui" to be just --from. See <a href="https://fossil-scm.org/forum/wiki?name=forumpost/91ce9dd9f9afa7fe">forum thread 91ce9dd9f9afa7fe</a>. (check-in: <a href='/home/info/763758db'>763758db</a>, user: <a href='/home/timeline?u=drh&c=763758db'>drh</a>, branch: <a href='/home/timeline?r=trunk&c=763758db'>trunk</a>)


Ground control to Major Tom, your circuit's dead...

After toggling back to chat mode, it looks now like this:

forum thread 91ce9dd9f9afa7fe.

As I said in the TLDR, refreshing page works fine, text gets reset to normal operation.


Cheers, brickviking
(Post 60)

(2) By Stephan Beal (stephan) on 2024-12-16 00:10:53 in reply to 1 [link] [source]

As I said in the TLDR, refreshing page works fine, text gets reset to normal operation.

i can't explain the quirks in that feature which are specific to the chat-bot's messages but have noticed them before. Why this only happens with the chat-bot is unclear but may (just speculating) be related to those particular messages being stored in plain HTML form (for long, boring reasons). It's a rare corner case with no real impact so i've not bothered to chase it down.

There's a slightly less "scorched earth" workaround to recovering from it:

  • Click the tab of the message immediately after that one.
  • Click the "locally remove all previous messages" button
  • Scroll to the top and tap the "load previous ... messages" button

But, yeah, the reload button is easier ;).