Remember the last Files folder per chat

Persist each chat session's last navigated Files folder, restore it with bounded parent fallback, and forget it when the session closes. Add persistence coverage and capture-fixture support for the reviewed behavior.
This commit is contained in:
2026-11-12 22:56:52 +00:00
parent d19a14b9f9
commit 1928cfe51b
7 changed files with 277 additions and 4 deletions
+4 -1
View File
@@ -806,7 +806,10 @@ Future<void> main() async {
return;
}
configurePerfFixture(params);
if (params['files'] == '1') installFilesFixture();
if (params['files'] == '1') {
probeMissingRememberedFolder = params['filesMissing'] == '1';
installFilesFixture();
}
// `?font=inter` chooses a font as Settings would; otherwise the stored one.
final font = params['font'];
unawaited(