Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History of file src/fossil.popupwidget.js at check-in 6bccbc20ea208283
|
2021-09-24
| ||
| 17:01 | Several minor cleanups, fixes, and presentation tweaks. ... (file: [f91c1385bc] check-in: [10107e4fbc] user: stephan branch: chat-user-filter, size: 17294) | |
|
2020-12-27
| ||
| 09:37 | Added an ARIA role=alert to the fossil.toast.message/warning/error() popup, per form request. Toast API doc corrections. ... (file: [726f605138] check-in: [23d6b4570a] user: stephan branch: trunk, size: 17238) | |
|
2020-12-26
| ||
| 16:54 | Typo fix which led to an exception and caused the timestamp popups to misbehave. ... (file: [1742b0afd1] check-in: [fc4782e7ef] user: stephan branch: trunk, size: 16975) | |
| 16:39 | Worked around a browser-dependent scrolling quirk and fixed a logic bug in the recent PopupWidget.installHideHandlers() API change which caused the timestamp popups not to close. ... (file: [1316104fe6] check-in: [322627ed7e] user: stephan branch: trunk, size: 16971) | |
| 15:40 | Implement bottom-up and top-down chat layouts in chat-only mode and normal mode. There is a minor scroll-on-new-message quirk or two to resolve, but it otherwise seems to work. ... (file: [75b9ce2b66] check-in: [dfc20f4297] user: stephan branch: chat-mode-bottom-up, size: 16971) | |
|
2020-12-25
| ||
| 14:58 | Added chat setting chat-inline-images: specifies whether /chat images default to display inline or as download links. Various code-adjacent tweaks. ... (file: [192f884bcb] check-in: [9d86a4af61] user: stephan branch: trunk, size: 16288) | |
|
2020-12-24
| ||
| 05:58 | Added UI to delete chat posts (tap on the message header). Made a change to the semantics of when fossil.PopupWidget's refresh() callback is triggered to account for the common case of having to show() the popup twice in a row without a hide() in between. ... (file: [ad7aaeef82] check-in: [b7f106da8a] user: stephan branch: trunk, size: 15344) | |
| 05:03 | Initial impl for chat message deletion. The ajax bits are in place and message deletion propagates to other connected clients (if the message is owned by the poster or the user is an admin) but there's not currently a user interface. TODO: add related controls to the same popup used for the message timestamps. ... (file: [52ec715925] check-in: [247276113c] user: stephan branch: trunk, size: 13981) | |
|
2020-12-23
| ||
| 07:59 | Rescoped the chat timestamp popup widget into a deeper scope (less visible/leaky). Moved the duplicated click-somewhere-to-close-popup handlers into PopupWidget.installClickToHide() method. ... (file: [6f82818390] check-in: [6bccbc20ea] user: stephan branch: chatroom-dev, size: 13983) | |
|
2020-08-25
| ||
| 07:00 | The fossil.XYZ.js-using pages now include all of those APIs when running in bundled JS mode, as that provides far lower aggregate over-the-wire and HTTP request counts. Added ? popup help buttons in wikiedit/fileedit to replace title-attribute hoverhelp (popup positioning can still be improved, though). ... (file: [5b41fffbe2] check-in: [34f7fd72c6] user: stephan branch: trunk, size: 13665) | |
| 06:18 | Lots of tweaking to the "help buttonlet" popup position. Something to improve some rainy day. ... (file: [8eb2e2338b] check-in: [3f08a9d200] user: stephan branch: misc-js-experiments, size: 14030) | |
|
2020-08-24
| ||
| 20:49 | Experimentally added '?' help buttons in wikiedit. Experimentally emit all fossil.XYZ APIs, rather than selected ones, to test whether that reduces overall transmission together with caching. DOM init-time timing workarounds to get confirmer buttons to pin their sizes properly. ... (file: [7a25484311] check-in: [9edbb7eab1] user: stephan branch: misc-js-experiments, size: 12809) | |
|
2020-08-20
| ||
| 19:52 | Removed a pair of bogus "delete" calls in fossil.popupwidget.js, flagged by Google Closure Compiler. You can't delete the result of a function call, only object properties. ... (file: [6a5c12927c] check-in: [0d7d54e870] user: wyoung branch: trunk, size: 8905) | |
|
2020-08-16
| ||
| 15:52 | Reworked fossil.toast to support normal/warning/error-level toasts. Alas, animating a toast's appearance and disappearance proved to be beyond my current skills. ... (file: [3d6ebc505d] check-in: [4368f52961] user: stephan branch: trunk, size: 8919) | |
| 01:32 | Removed some stray debug output. Added a window.CustomEvent polyfill "just in case." ... (file: [4bea433b28] check-in: [af47d1531d] user: stephan branch: line-number-selection, size: 7810) | |
| 00:50 | Removed the copy button's hard-coded post-copy behaviour (flashing) and instead fire a text-copied event. The line number selection now closes the popup widget after the copy button is triggered. Implemented a basic toast-message API using PopupWidget. ... (file: [8274e963b3] check-in: [8a6ccf9ddd] user: stephan branch: line-number-selection, size: 7853) | |
|
2020-08-15
| ||
| 23:30 | Renamed TooltipWidget to PopupWidget because's it's not *quite* a tooltip and we're soon going to need something closer to a genuine tooltip. Minor adjacent cleanups and code consolidation. ... (file: [49e7a94424] check-in: [3998ccef44] user: stephan branch: line-number-selection, size: 6010) | |
| 08:29 | Optimized the mouse-based line number selection considerably, requiring far less DOM traversal. ... (file: [41224c7e62] check-in: [0096aa4644] user: stephan branch: line-number-selection, size: 4397) | |
| 08:02 | Doc improvements, minor cleanups. Made the URL-copy element's popup position less variable. Uplifted the flash-once and copy-to-clipboard code into the fossil.dom API. ... (file: [40385eafa4] check-in: [738bea54c0] user: stephan branch: line-number-selection, size: 4229) | |
| 07:41 | Implemented dynamic mouse selection of source lines and clipboard tooltip to copy the line range URL. ... (file: [af7d700cb8] check-in: [3942eb600a] user: stephan branch: line-number-selection, size: 4040) | |