Pad/internal
Greg Pomerantz e96464ec79 Restore the browser page on relaunch, not the last edited file
A relaunch session always re-opened the last edited file, even when the
app was closed sitting on the browser page. The snapshot now records
which page the app was on (SessionState.InBrowser/BrowserPath); the cmd
layer lands back in the browser at the saved directory on relaunch
(falling back to the startup directory if it has vanished) instead of
calling BeginRestore. Browser-page snapshots clear File, which also
makes the editor->browser transition an urgent save, so the
back-in-browser state hits disk immediately. Legacy session files (no
InBrowser key) unmarshal to false and restore the editor exactly as
before.

Verified on emulator and phone: editor sessions still restore the file
(cursor/scroll/font), browser sessions land in the browser at the saved
dir; legacy files keep the old behavior. New e2e regression test
TestRestore_BrowserPageSession.
2026-09-03 12:11:44 -04:00
..
browser Browser: keep the file list live (re-read on change, re-sort, no idle frames) 2026-09-02 18:23:16 -04:00
editor Restore the browser page on relaunch, not the last edited file 2026-09-03 12:11:44 -04:00
io/pool Fix Android: publish current mtime after the atomic-write rename 2026-09-02 17:12:54 -04:00
perf Add pre-release frame-regression profiling 2026-08-20 14:18:08 -04:00
test/e2e Restore the browser page on relaunch, not the last edited file 2026-09-03 12:11:44 -04:00
ui gofmt: format all remaining files with the go1.27 toolchain 2026-08-23 10:03:27 -04:00