feat: add settings page with language dropdown

This commit is contained in:
weishu
2026-01-19 21:33:22 +08:00
parent 55dbfa397b
commit 7a5946731d
5 changed files with 235 additions and 2 deletions
+6
View File
@@ -13,6 +13,12 @@ export function useAppGoBack(): () => void {
return
}
// Settings page always goes back to sessions
if (pathname === '/settings') {
navigate({ to: '/sessions' })
return
}
// For single file view, go back to files list
if (pathname.match(/^\/sessions\/[^/]+\/file$/)) {
const filesPath = pathname.replace(/\/file$/, '/files')