Fossil

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 events occurring around 421d6570785de527.

2020-12-28
00:23
chat: corrected the scroll position tracking when toggling single/multi-line mode to work from arbitrary points within the scroll area. ... (check-in: 0f59fba08a user: stephan tags: trunk)
2020-12-27
22:01
chat: when toggling between single/multi-line mode, retain the message area scroll position, insofar as its size allows for (e.g. might not work if the history is too short to scroll). ... (check-in: 423ee8101a user: stephan tags: trunk)
21:22
Refactored the calc-elem-effective-height routine into the fossil.dom API for reuse elsewhere. Fixed (arguably) a minor layout quirk in the chat input field in multi-line mode. ... (check-in: 299fd6905f user: stephan tags: trunk)
21:00
Put the <form> outside of the chat-input-area <div>. Safari requires this. ... (check-in: ca60df9238 user: drh tags: trunk)
20:33
chat: reworked the auto-resize algorithm to account for elements which "incorrectly" report a height of 0. Experimentally removed the 2em bottom gap at the end of the message reportedly required by Safari. ... (check-in: cdc6dec7c7 user: stephan tags: trunk)
18:56
chat: improved the 'is previous message currently visible' calculation for the 'should we scroll?' heuristic. ... (check-in: b3f2eee546 user: stephan tags: trunk)
18:29
chat: seem to have eliminated the tiny dead-zone between the label and checkbox in the settings menu. ... (check-in: dc8f3a3692 user: stephan tags: trunk)
18:00
Doc typo reported in the forum. ... (check-in: 1221a579ec user: stephan tags: trunk)
17:44
Doc typo fix reported in the forum. ... (check-in: 988c599810 user: stephan tags: trunk)
17:42
Chat: hide message home/end buttons by default in portrait mode and add a menu toggle for them, and swapped the button positions (seems more natural). Minor tweak to the div.content resize algo to make use of CSS calc(). ... (check-in: deb9963ac6 user: stephan tags: trunk)
09:56
Some flicker reduction when batch loading chat messages. Minor chat layout tweaks. ... (check-in: 5e046b64c7 user: stephan tags: trunk)
09:37
Added an ARIA role=alert to the fossil.toast.message/warning/error() popup, per form request. Toast API doc corrections. ... (check-in: 23d6b4570a user: stephan tags: trunk)
09:10 Edit [a6650eb776e82b6c|a6650eb776]: Mark "Closed". ... (artifact: 72c96b9343 user: stephan)
09:09 Edit [8747d85ea0a9b467|8747d85ea0]: Mark "Closed". ... (artifact: c12bc22971 user: stephan)
09:05
chat: ARIA-related attribute changes suggested in the forum. ... (check-in: ca7aae80ad user: stephan tags: trunk)
08:32
chat: added buttons to jump to top/bottom of message list. Added a huge margin under the input area because Safari demands it. Improved the div.content auto-resize calculation to get a more precise fit. ... (check-in: 2408082760 user: stephan tags: trunk)
07:45
chat: auto-scrolling of other peoples' posts into view works based on a heuristic of whether the *previous* post is in view or not (else we assume the user is back in the history), with the notable caveat that posts with inlined images play havok with this, in part because loading of images is async and we race against it. Moved the #debugMsg element out of div.content to keep it from unduly influencing our layout. ... (check-in: 6c28d7d6cb user: stephan tags: trunk)
07:07 Edit [7c3cf7a189f075ab|7c3cf7a189]: Mark "Closed". ... (artifact: 32a7ef45e4 user: stephan)
07:03
chat: fixed mis-scroll when toggling chat-only mode. Re-re-introduced the img preview size cap. ... (check-in: b09f7e990d user: stephan tags: trunk)
06:48
chat: next round of Safari-friendly baby steps, developed in conjunction with Safari user mgagnon via chat session. ... (check-in: a1161fa9bd user: stephan tags: trunk)
05:20 Edit [d488f5c66c10b351|d488f5c66c]: Move to branch no-joy. Edit check-in comment. ... (artifact: 6c57bb1728 user: stephan)
05:15 Edit [7c3cf7a189f075ab|7c3cf7a189]: Move to branch no-joy. Edit check-in comment. ... (artifact: f976f1ce14 user: stephan)
04:50
chat: reintegrated partial changes from [b0ab6cbd3] and [670732a6]: remove skin-induced div.content margins in chat-only mode and cap image preview size to avoid screen overflow. Moved #dbgMessage element out of the way at app startup to avoid it potentially influencing our flexbox layout, and include that element in the to-hide list for chat-only mode. Edit: Martin G. reports that this one also causes Grief with Safari, but in different ways that before. ... (Closed-Leaf check-in: 7c3cf7a189 user: stephan tags: no-joy)
04:30
chat: re-integrated JS-based div.content resizer to do approximately what the preferred 'vh' CSS units would, but upon which Safari apparently chokes. Message area now gets a scrollbar. This works reasonably well on FF/Chrome on both Linux and Android. The jury is still out on Safari. Edit: Martin G. confirmed this one also suffers from the "collapsing messages" problem on Safari. ... (check-in: d488f5c66c user: stephan tags: no-joy)
03:39
Eliminated top-down chat mode altogether in an attempt to eliminate some complexity and cruft. Re-added the toast-on-new-invisible-message from [0a00a103]. ... (check-in: 421d657078 user: stephan tags: trunk)
03:16 Edit [0a00a103125e1cd9|0a00a10312]: Move to branch chat-safari-breaks-here. ... (artifact: 8e07adf45a user: stephan)
02:53 Edit [670732a68ffb57eb|670732a68f]: Move to branch chat-safari-experiments. ... (artifact: a49de819f4 user: stephan)
01:58
chat: Safari has a severe allergic reaction to CSS vh units, so calculate the size of the affected DOM element in JS code at app startup and when the window resizes. ... (Closed-Leaf check-in: 8747d85ea0 user: stephan tags: chat-safari-experiments, chat-safari-breaks-here)
01:07
CSS tweaks to attempt to counter some Safari message spacing problems - cannot test locally. Also limit the chat image preview to 40% of the viewport width/height, to avoid it taking up the whole screen for a large image. ... (check-in: 670732a68f user: stephan tags: chat-safari-experiments, chat-safari-breaks-here)
00:32
Force bottom-up chat mode, now that the toggle is removed but it might still be set in some localStorage storage. ... (Closed-Leaf check-in: a6650eb776 user: stephan tags: chat-safari-breaks-here)
00:27
Remove skin-installed div.content max-width limitations when running in chat-only mode, and expand to the full width. ... (check-in: b0ab6cbd3b user: stephan tags: chat-safari-breaks-here)
00:22
Disabled the top-down/bottom-up chat toggle, per chat discussion. Removed explicit setting of div.content margins, in chat,except in chat-only mode, so that we honor skin-level margin settings (resolves layout breakage in Xekri skin). ... (check-in: 22b0faad3a user: stephan tags: chat-safari-breaks-here)
2020-12-26
23:57
Found what seems to be a more or less viable solution for the chat layout in which the input area is effectively sticky while not actually being so. New messages do not scroll to the start of the list except for when a user locally posts a message, but instead, if a new message arrives and is scrolled out of view, a toast is shown to gently alert the user that a new message has arrived. ... (check-in: 0a00a10312 user: stephan tags: chat-safari-breaks-here)
22:09
Disabled automatic scrolling when a new chat message arrives, as it is unnecessary when the user input fields are not sticky. To revisit later with sticky input fields. ... (check-in: b75ce86581 user: stephan tags: trunk)
22:01
Added a CSS class to the xekri skin to keep the chat settings menu from having a transparent background. ... (check-in: 12b5391926 user: stephan tags: trunk)
21:33
Fix the description of base-64 encoding in the delta_format.wiki document. ... (check-in: 5de02e093e user: drh tags: trunk)
21:26
Added lmtime to www/chat.md and typo fix. ... (check-in: 92d74f8fb6 user: stephan tags: trunk)
20:57
chat: disable line-wrap on the message tabs. Removed an extraneous duplicated style entry. ... (check-in: adc90d82f3 user: stephan tags: trunk)
20:47
Typo fix. Moved chat.file to the end of the schema, per forum suggestion. ... (check-in: fd73e79b83 user: stephan tags: trunk)
20:33
Lowercased 'zulu' per chat discussion. ... (check-in: c7a017e169 user: stephan tags: trunk)
20:33
chat: removed extraneous T from sender-local timestamp. ... (check-in: 16b8e480ec user: stephan tags: trunk)
20:30
Removed invalid Z suffix from the new lmtime string. ... (check-in: 7d4a32487f user: stephan tags: trunk)
20:26
Only apply sender-local time if it's in the message (older messages do not have it). ... (check-in: f2a58f10bf user: stephan tags: trunk)
20:24
Integrated client-local timestamp into chat so that participants can see the local time in their colleagues' time zones. ... (check-in: 3c5e2badc8 user: stephan tags: trunk)
19:43
Added lmtime (local mtime) parameter to /chat-send calls, per chat discussion. ... (check-in: 152ac599e8 user: stephan tags: trunk)
18:08
Changed how chat-only mode figures out which elements to hide to account for skins which replace div.content with their own element. ... (check-in: e390b95bbc user: stephan tags: trunk)
18:03
Laxened up CSS selectors for div.content to account for skins which move that element into a sub-element. ... (check-in: 553ce288f8 user: stephan tags: trunk)
17:55
chat app now explicitly sets the body.chat CSS class, to account for skins which include a BODY tag in their header and therefore do not get one injected by the style API. ... (check-in: feaa3b1640 user: stephan tags: trunk)
17:22
chat: disabled sticky mode of the input area for the time being due to grief in conjunction with message scrolling. When toggling between bottom/top modes, scroll to the input area. ... (check-in: ba3ebf0de9 user: stephan tags: trunk)
17:07
Removed some debug output. When toggling between bottom-up/top-down chat, scroll to the input widget (which flips between the top and the bottom of the page). ... (check-in: 34547542d2 user: stephan tags: trunk)