summaryrefslogtreecommitdiff
path: root/ui/lib/store
Commit message (Collapse)AuthorAge
* npm run formatOwen Jacobson2025-01-11
|
* Use Luxon dates on Message store and componentKit La Touche2024-11-29
| | | | | | This includes jamming the "at" of a message into a data- attribute on the Message component, so that it can later be used by parent components via Plain Old Javascript and the .dataset attribute of an HTML node.
* Rename and modify channels storeKit La Touche2024-11-29
| | | | | | | | I tried to have a custom class for Channel objects, but Svelte's automatic proxy logic works only on bare objects, as far as I could tell. So that broke everything. I resorted to a function that would build the bare objects, but we still lack methods that I think would make life easier ("touch last read" etc).
* HTML-ify message bodies once, on receipt, and not every time the message is ↵Owen Jacobson2024-11-15
| | | | | | rendered. ~16% of the `hi development` channel's rendering time was taken up on this.
* Stop chopping the first message off of each channel (oops).Owen Jacobson2024-11-08
|
* Fix up calls to `addMessage` inside `Messages`.Owen Jacobson2024-11-07
|
* Tweak addMessage call signatureKit La Touche2024-11-07
|
* Split message runs after ten minutes' silence.Owen Jacobson2024-11-06
| | | | I've also refactored how runs are processed, to avoid re-splitting runs every time the channel view is rendered. They're generated when messages are ingested into the `$messages` store, instead.
* Run spaces-style prettier formattingKit La Touche2024-11-03
|
* Run prettier, make lint part of pre-commitOwen Jacobson2024-11-02
|
* Remove notification permissions prompt.Owen Jacobson2024-11-02
| | | | On Safari (iOS and macOS), the permissions prompt can only be done during a user gesture; mounting is sufficiently disconnected from any user gestures that it's not allowed. The browser raises an exception, which, since it is unhandled, then leaks out and interrupts SvelteKit's element unmounting, leading to the whole UI being duplicated when switching channels (the old UI is not unmounted).
* Do some toast notificatingKit La Touche2024-10-31
|
* Coalesce adjacent messages by the same author into runs, to consolidate ↵Owen Jacobson2024-10-30
| | | | message display.
* Compute the active channel from the current routing state, not from a store.Owen Jacobson2024-10-10
|
* Hoist the UI one step up furtherOwen Jacobson2024-10-10