| Commit message (Collapse) | Author | Age | ||
|---|---|---|---|---|
| ... | ||||
| * | Don't scroll all the time as messages are added | Kit La Touche | 2025-02-25 | |
| | | | | | Only once on load, then once per new message. | |||
| * | Merge branch 'prop/preserve-state' | Owen Jacobson | 2025-02-24 | |
| |\ | ||||
| | * | npm run fmt | Owen Jacobson | 2025-02-24 | |
| | | | ||||
| | * | Move constant closer to usage | Owen Jacobson | 2025-02-24 | |
| | | | ||||
| | * | Merge branch 'main' into prop/preserve-state | Kit La Touche | 2025-02-21 | |
| | |\ | ||||
| | * | | Remove explanatory comment | Kit La Touche | 2025-02-20 | |
| | | | | | | | | | | | | | That no longer vitally pertains. | |||
| | * | | Remember last active channel and navigate there on root load | Kit La Touche | 2025-02-20 | |
| | | | | | | | | | | | | | To facilitate PWA behaviour. | |||
| | * | | Separate channel metadata out into its own store | Kit La Touche | 2025-02-20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This is stored locally, and, while parallel to channel info, is not the same as. Eventually, this may hold info about moot/decayed channels, and grow unbounded. That'll need to be addressed. | |||
| | * | | Merge local channel data and remote to maintain state | Kit La Touche | 2025-02-20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we hit the boot endpoint, we get the server's view of things. If we just setChannels with that, we overwrite all our locally-stored info in on things like lastReadAt. So we need to merge data. Eventually, this might militate for a `meta` key containing an object of locally stored data, rather than having to handle each key specially. | |||
| * | | | Hoist global state access out of individual components. | Owen Jacobson | 2025-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. | |||
| * | | Remove stray imports | Owen Jacobson | 2025-02-21 | |
| | | | ||||
| * | | Add missing awaits on goto() calls | Owen Jacobson | 2025-02-21 | |
| | | | ||||
| * | | Be a bit more careful with the nesting of anchors and list items. | Owen Jacobson | 2025-02-21 | |
| | | | | | | | | | Browsers cope with weird nestings mostly fine, but there's no upside for us in testing that. | |||
| * | | Remove unused type attribute on textarea | Owen Jacobson | 2025-02-21 | |
| | | | ||||
| * | | Split "set up the event source" and "apply events to state" from one another. | Owen Jacobson | 2025-02-21 | |
| | | | ||||
| * | | Use axios to compute event stream URL, why not. | Owen Jacobson | 2025-02-20 | |
| |/ | | | | It's amazing what you can learn by skimming the docs. | |||
| * | npm format | Owen Jacobson | 2025-02-15 | |
| | | ||||
| * | Add placeholder to message input | Kit La Touche | 2025-01-28 | |
| | | ||||
| * | npm run format | Owen Jacobson | 2025-01-11 | |
| | | ||||
| * | Use margins, rather than alternating float/non-float elements, to lay out ↵ | Owen Jacobson | 2025-01-11 | |
| | | | | | own/other messages. | |||
| * | Stylize channel badges | Kit La Touche | 2025-01-05 | |
| | | ||||
| * | A bit more styling | Kit La Touche | 2025-01-05 | |
| | | ||||
| * | Stylize more better | Kit La Touche | 2025-01-05 | |
| | | ||||
| * | Fix invite copy button | Kit La Touche | 2025-01-04 | |
| | | ||||
| * | Add username class to username span | Kit La Touche | 2025-01-04 | |
| | | ||||
| * | Just oh so many styles | Kit La Touche | 2025-01-01 | |
| | | ||||
| * | Strip out Tailwind etc | Kit La Touche | 2024-12-30 | |
| | | ||||
| * | Merge branch 'main' into wip/stylize | Kit La Touche | 2024-12-03 | |
| |\ | ||||
| | * | Prefer camelCase to snake_case in argument names | Kit La Touche | 2024-11-29 | |
| | | | | | | | | | Even when they get mapped to snake_case searchParams. | |||
| | * | Style Channels differently when they have unreads | Kit La Touche | 2024-11-29 | |
| | | | | | | | | | I dunno, I like the fleuron. Maybe it's too twee? | |||
| | * | Use Luxon dates on Message store and component | Kit La Touche | 2024-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 store | Kit La Touche | 2024-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). | |||
| * | | Add styling for pre blocks in messages | Kit La Touche | 2024-11-30 | |
| | | | ||||
| * | | Merge branch 'main' into wip/stylize | Kit La Touche | 2024-11-28 | |
| |\| | ||||
| | * | Best-guess an ARIA role for this element. | Owen Jacobson | 2024-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 appropriate | Kit La Touche | 2024-11-22 | |
| | | | | | | | | | If you're setting it to a static value, use set. | |||
| | * | Clean up extraneous variables | Kit La Touche | 2024-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 Jacobson | 2024-11-15 | |
| | | | | | | | | | | | | | rendered. ~16% of the `hi development` channel's rendering time was taken up on this. | |||
| * | | Merge branch 'main' into wip/stylize | Kit La Touche | 2024-11-12 | |
| |\| | ||||
| | * | Merge branch 'main' into prop/pwa | Kit La Touche | 2024-11-11 | |
| | |\ | ||||
| | * | | Replace favicon and logo with Pilcrow logo | Kit La Touche | 2024-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/stylize | Kit La Touche | 2024-11-11 | |
| |\ \ \ | | |/ | |/| | ||||
| | * | | Deletable messages. | Owen Jacobson | 2024-11-08 | |
| | |/ | | | | | | | This also fixes some rendering jank with the message timestamp chip. | |||
| * | | Style own messages | Kit La Touche | 2024-11-11 | |
| | | | ||||
| * | | Style blockquotes | Kit La Touche | 2024-11-11 | |
| | | | ||||
| * | | Try to style blockquotes | Kit La Touche | 2024-11-11 | |
| |/ | | | | But it's not working. Why? | |||
| * | Stop chopping the first message off of each channel (oops). | Owen Jacobson | 2024-11-08 | |
| | | ||||
| * | Better choices of margins and caps | Owen Jacobson | 2024-11-07 | |
| | | ||||
| * | Factor out the elements of the `/me` page, and style them a little. | Owen Jacobson | 2024-11-07 | |
| | | ||||
| * | Be more consistent around margins and padding for the "main" pane | Owen Jacobson | 2024-11-07 | |
| | | ||||
