summaryrefslogtreecommitdiff
path: root/ui/lib
Commit message (Collapse)AuthorAge
* Add styling for pre blocks in messagesKit La Touche2024-11-30
|
* Merge branch 'main' into wip/stylizeKit La Touche2024-11-28
|\
| * Best-guess an ARIA role for this element.Owen Jacobson2024-11-26
| | | | | | | | Svelte's lint complains if you add interaction to a div but don't give that div an ARIA role.
| * Use store.set where appropriateKit La Touche2024-11-22
| | | | | | | | If you're setting it to a static value, use set.
| * Clean up extraneous variablesKit La Touche2024-11-22
| | | | | | | | Just use state, don't derive from a non-state local variable.
| * 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.
* | Merge branch 'main' into wip/stylizeKit La Touche2024-11-12
|\|
| * Merge branch 'main' into prop/pwaKit La Touche2024-11-11
| |\
| * | Replace favicon and logo with Pilcrow logoKit La Touche2024-11-09
| | | | | | | | | | | | | | | It's not very legible at small sizes, but it's a first draft, it'll be fine.
* | | Merge branch 'main' into wip/stylizeKit La Touche2024-11-11
|\ \ \ | | |/ | |/|
| * | Deletable messages.Owen Jacobson2024-11-08
| |/ | | | | | | This also fixes some rendering jank with the message timestamp chip.
* | Style own messagesKit La Touche2024-11-11
| |
* | Style blockquotesKit La Touche2024-11-11
| |
* | Try to style blockquotesKit La Touche2024-11-11
|/ | | | But it's not working. Why?
* Stop chopping the first message off of each channel (oops).Owen Jacobson2024-11-08
|
* Better choices of margins and capsOwen Jacobson2024-11-07
|
* Factor out the elements of the `/me` page, and style them a little.Owen Jacobson2024-11-07
|
* Be more consistent around margins and padding for the "main" paneOwen Jacobson2024-11-07
|
* Sort out padding and wrapping for the chat inputOwen Jacobson2024-11-07
|
* Fix up calls to `addMessage` inside `Messages`.Owen Jacobson2024-11-07
|
* Tweak addMessage call signatureKit La Touche2024-11-07
|
* Backport multiline logic from prop/multiline-shiftKit 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.
* Remove hover effect from message runsOwen Jacobson2024-11-06
|
* Move the logout button into `/me`. Make the self link a little more prominent.Owen Jacobson2024-11-06
|
*-. Merge remote-tracking branches 'origin/prop/dom-sandpaper' and ↵Owen Jacobson2024-11-06
|\ \ | | | | | | | | | 'origin/prop/showmenu-nonglobal'
| | * Move `showMenu` out of globals and into page state.Owen Jacobson2024-11-05
| |/ |/| | | | | | | | | I generally don't love globals, and the scope of this global is pretty narrow. Let's use the context hierarchy for this, instead. (Kit mentioned that it might be possible to use CSS variables for this.)
| * File off some rough spots in the DOM.Owen Jacobson2024-11-05
|/ | | | | | * We had an unused layer of divs in the main UI. * The <div id="app"> div was superfluous with the body-level div in app.html. * Some formatting changes in one component?? Weird.
* Fix width and scrollingKit La Touche2024-11-04
| | | | | | | This is some jinbodger CSS. I really need to do a unified-CSS sweep. I start to see why per-component CSS is bad, too; there are so many long-distance interactions needed!
* Run spaces-style prettier formattingKit La Touche2024-11-03
|
* Svelte 5: go through and use runes in components, pages, and layouts.Owen Jacobson2024-11-03
| | | | Does not use runes in stores (yet).
* Svelte 5Owen Jacobson2024-11-03
|
* Bare-bones multiline inputOwen Jacobson2024-11-03
|
* Generalize menu-closingOwen Jacobson2024-11-03
|
* Address outstanding lint issues.Owen Jacobson2024-11-02
|
* Run prettier, make lint part of pre-commitOwen Jacobson2024-11-02
|
* Ensure that the message HTML is re-rendered when the message markdown changes.Owen Jacobson2024-11-02
| | | | This was causing messages to persist when switching channels, due to the work minimization performed by Svelte.
* Merge remote-tracking branch 'origin/wip/mobile'Owen Jacobson2024-11-02
|\
| * Don't distinguish self/other this wayKit La Touche2024-11-02
| |
| * Actually sanitize rendered MarkdownKit La Touche2024-11-02
| |
* | Render empty messages as full-height linesOwen Jacobson2024-11-02
| |
* | Specify overflow behaviour more loosely.Owen Jacobson2024-11-02
| | | | | | | | On Safari, `overflow: scroll` forces scrollbars even where not required, leading to a really janky display studded with stray scrollbars.
* | 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).
* Merge branch 'main' into wip/mobileKit La Touche2024-10-31
|\
| * Fix scrolling new messages into view, and layout of the bottom edge of ↵Owen Jacobson2024-10-31
| | | | | | | | message runs.
* | Do some toast notificatingKit La Touche2024-10-31
| |
* | Merge branch 'main' into wip/mobileKit La Touche2024-10-30
|\|
| * Nicer marginsOwen Jacobson2024-10-30
| |
| * Coalesce adjacent messages by the same author into runs, to consolidate ↵Owen Jacobson2024-10-30
| | | | | | | | message display.
| * Don't leave field binding vars uninitialized.Owen Jacobson2024-10-30
| | | | | | | | | | | | This was causing problems for changing passwords: if the user didn't type anything in the "original password" field, the code path to sending that field to the server was just straight-up omitting the field from the message, rather than setting it to empty string, causing a 422 Unprocessable Entity. On investigation we had latent bugs related to this in a bunch of spots.