browse the protocol like its 2008 ibex.desertthunder.dev
ubuntu atproto svelte
7

Configure Feed

Select the types of activity you want to include in your feed.

feat: return home on close

Owais Jamil (Jun 17, 2026, 12:06 AM -0500) e7e98b3c 39b61a09

+13 -3
+5
.changeset/few-comics-hear.md
··· 1 + --- 2 + 'intrepid-ibex': minor 3 + --- 4 + 5 + refactor routing to use a controller
+8 -3
src/routes/+layout.svelte
··· 1 - <!-- FIXME: this is becoming a "god" component, not an orchestrator 2 - like it should --> 3 1 <script lang="ts"> 4 2 import { onMount } from 'svelte'; 5 3 import { dev } from '$app/environment'; ··· 238 236 windowManager.close('eog'); 239 237 } 240 238 239 + function closeMainWindow() { 240 + if (page.route.id === '/browse' || page.route.id?.startsWith('/repos')) { 241 + void goto(resolve('/'), { keepFocus: true, noScroll: true }); 242 + } 243 + } 244 + 241 245 function navigate(path: string) { 242 246 void navigateTo(resolve(path as RepoPathname), { keepFocus: true, noScroll: true }); 243 247 } ··· 291 295 maximized={mainWindow.isMaximized} 292 296 onfocus={() => windowManager.focus('main')} 293 297 onminimize={() => windowManager.minimize('main')} 294 - onmaximize={() => windowManager.toggleMaximize('main')}> 298 + onmaximize={() => windowManager.toggleMaximize('main')} 299 + onclose={closeMainWindow}> 295 300 {#if routeRequiresSetup} 296 301 <SetupDialog /> 297 302 {:else}