summaryrefslogtreecommitdiff
path: root/ui/routes/+layout.svelte
Commit message (Collapse)AuthorAge
* tools/reformatOwen Jacobson2025-06-11
|
* Track state on a per-session basis, rather than via globals.Owen Jacobson2025-02-26
| | | | | | | | | | | Sorry about the thousand-line omnibus change; this is functionally a rewrite of the client's state tracking, flavoured to resemble the existing code as far as is possible, rather than something that can be parted out and committed in pieces. Highlights: * No more `store.writeable()`s. All state is now tracked using state runs or derivatives. State is still largely structured the way it was, but several bits of nested state have been rewritten to ensure that their properties are reactive just as much as their containers are. * State is no longer global. `(app)/+layout` manages a stateful session, created via its load hook and started/stopped via component mount and destroy events. The session also tracks an event source for the current state, and feeds events into the state, broadly along the same lines as the previous stores-based approach. Together these two changes fix up several rough spots integrating state with Svelte, and allow for the possibility of multiple states. This is a major step towards restartable states, and thus towards better connection management, which will require the ability to "start over" once a connection is restored.
* npm run fmtOwen Jacobson2025-02-24
|
* Only redirect to last active channel off of /Kit La Touche2025-02-21
|
* Remember last active channel and navigate there on root loadKit La Touche2025-02-20
| | | | To facilitate PWA behaviour.
* Strip out Tailwind etcKit La Touche2024-12-30
|
* Don't sink the top bar so far down into the page.Owen Jacobson2024-11-26
|
* Rename the project to `pilcrow`.Owen Jacobson2024-11-08
|
* Increase horizontal padding on the /me link so it looks a little less crampedOwen Jacobson2024-11-07
|
* Move the logout button into `/me`. Make the self link a little more prominent.Owen Jacobson2024-11-06
|
*-. Merge remote-tracking branches 'origin/prop/dom-sandpaper' and ↵Owen Jacobson2024-11-06
|\ \ | | | | | | | | | 'origin/prop/showmenu-nonglobal'
| | * Move `showMenu` out of globals and into page state.Owen Jacobson2024-11-05
| |/ |/| | | | | | | | | I generally don't love globals, and the scope of this global is pretty narrow. Let's use the context hierarchy for this, instead. (Kit mentioned that it might be possible to use CSS variables for this.)
| * 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.
* Retire use of <slot />Owen Jacobson2024-11-04
|
* Run spaces-style prettier formattingKit La Touche2024-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
|
* Remove notification permissions prompt.Owen Jacobson2024-11-02
| | | | On Safari (iOS and macOS), the permissions prompt can only be done during a user gesture; mounting is sufficiently disconnected from any user gestures that it's not allowed. The browser raises an exception, which, since it is unhandled, then leaks out and interrupts SvelteKit's element unmounting, leading to the whole UI being duplicated when switching channels (the old UI is not unmounted).
* Merge branch 'main' into wip/mobileKit La Touche2024-10-31
|\
| * Use the full viewport, rather than leaving a gutterOwen Jacobson2024-10-31
| |
* | Do some toast notificatingKit La Touche2024-10-31
| |
* | Correct badly resolved mergeKit La Touche2024-10-30
| |
* | Merge branch 'main' into wip/mobileKit La Touche2024-10-30
|\|
| * 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.
* | Calculate layout height more betterlyKit La Touche2024-10-30
| |
* | Merge branch 'main' into wip/mobileKit La Touche2024-10-25
|\|
| * Take a swing at putting an invite UI in place.Owen Jacobson2024-10-25
| |
* | Tweak header bar positionKit La Touche2024-10-25
| |
* | Do a big mobile app design thingKit La Touche2024-10-23
|/ | | | | | Mobile-friendly anyway. Thanks to [Miriam](https://www.miriamsuzanne.com/) for the CSS that enables a sliding menu on mobile size, constant menu on larger.
* Hoist the UI one step up furtherOwen Jacobson2024-10-10