summaryrefslogtreecommitdiff
path: root/ui/lib/components/MessageRun.svelte
Commit message (Collapse)AuthorAge
* Un-nest `Message` from `MessageRun`.Owen Jacobson2025-05-06
| | | | | | A `MessageRun` is a visual container with a specific layout - bordered, with a drop shadow, with a name badge on the top-left, which is either positioned to the left (`other-message`) or right (`own-message`). It is content-agnostic. This facilitates putting things besides live messages inside of a message run. As a side effect, this gets rid of ActiveChannel; most of what it was doing makes more sense living in the channel view's `+page.svelte`.
* 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.
* npm run formatOwen Jacobson2025-01-11
|
* 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-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
|/
* Be more consistent around margins and padding for the "main" paneOwen Jacobson2024-11-07
|
* Remove hover effect from message runsOwen Jacobson2024-11-06
|
* 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).
* Run prettier, make lint part of pre-commitOwen Jacobson2024-11-02
|
* Don't distinguish self/other this wayKit La Touche2024-11-02
|
* 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.
* | Merge branch 'main' into wip/mobileKit La Touche2024-10-30
|/
* Coalesce adjacent messages by the same author into runs, to consolidate ↵Owen Jacobson2024-10-30
message display.