summaryrefslogtreecommitdiff
path: root/ui/lib/components/LogOut.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.
* Add missing awaits on goto() callsOwen Jacobson2025-02-21
|
* A bit more stylingKit La Touche2025-01-05
|
* Strip out Tailwind etcKit La Touche2024-12-30
|
* Use store.set where appropriateKit La Touche2024-11-22
| | | | If you're setting it to a static value, use set.
* Factor out the elements of the `/me` page, and style them a little.Owen Jacobson2024-11-07
|
* 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.
* Move login to its own route.Owen Jacobson2024-10-11
| | | | This - in passing - fixes the problem where the client failed to subscribe after logging in, by causing the whole subscription process to be re-run when returning to the main interface.
* Hoist the UI one step up furtherOwen Jacobson2024-10-10