summaryrefslogtreecommitdiff
path: root/ui/lib/components
Commit message (Collapse)AuthorAge
* Don't scroll all the time as messages are addedKit La Touche2025-02-25
| | | | Only once on load, then once per new message.
* Hoist global state access out of individual components.Owen Jacobson2025-02-21
| | | | | | | | Access to "global" (maybe "external?") state is now handled at the top level of the component hierarchy, in `+page.svelte`, `+layout.svelte`, and their associated scripts. State is otherwise passed down through props, and changes are passed up through callbacks. This is - hopefully - groundwork for refactoring state management a bit. I wanted to move access to state out to a smaller number of places, so that I have fewer places to update to implement reconnect logic. My broader goal is to make it easier to refactor these kinds of external side effects, as well, though no such changes are in this branch. This change also makes testing a mile easier, since tests can interact with props and callbacks instead of emulating the whole HTTP request stack and the Pilcrow API. This change removes do-very-little tests.
* Add missing awaits on goto() callsOwen Jacobson2025-02-21
|
* Be a bit more careful with the nesting of anchors and list items.Owen Jacobson2025-02-21
| | | | Browsers cope with weird nestings mostly fine, but there's no upside for us in testing that.
* Remove unused type attribute on textareaOwen Jacobson2025-02-21
|
* npm formatOwen Jacobson2025-02-15
|
* Add placeholder to message inputKit La Touche2025-01-28
|
* npm run formatOwen Jacobson2025-01-11
|
* Use margins, rather than alternating float/non-float elements, to lay out ↵Owen Jacobson2025-01-11
| | | | own/other messages.
* Stylize channel badgesKit La Touche2025-01-05
|
* A bit more stylingKit La Touche2025-01-05
|
* Stylize more betterKit La Touche2025-01-05
|
* Fix invite copy buttonKit La Touche2025-01-04
|
* Add username class to username spanKit La Touche2025-01-04
|
* Just oh so many stylesKit La Touche2025-01-01
|
* Strip out Tailwind etcKit La Touche2024-12-30
|
* Merge branch 'main' into wip/stylizeKit La Touche2024-12-03
|\
| * Style Channels differently when they have unreadsKit La Touche2024-11-29
| | | | | | | | I dunno, I like the fleuron. Maybe it's too twee?
| * 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.
* | 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-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?
* 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
|
* 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
|
* 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
| |