summaryrefslogtreecommitdiff
path: root/ui/routes/(app)/me/+page.svelte
Commit message (Collapse)AuthorAge
* 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.
* Stylize more betterKit La Touche2025-01-05
|
* Style /me routeKit La Touche2025-01-04
|
* 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
|
* Move the logout button into `/me`. Make the self link a little more prominent.Owen 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 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.
* Incrementally less jank invite listing.Owen Jacobson2024-10-29
|
* Add `change password` UI + API.Owen Jacobson2024-10-29
The protocol here re-checks the caller's password, as a "I left myself logged in" anti-pranking check.