fix: client bug fixes from review
- FileBrowser: reload hidden files when profile changes - WebSocket: wrap JSON.parse in try-catch - WebSocket: exponential backoff on reconnect (2s -> 30s max) - WebSocket: clean up connection on destroy Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,14 @@
|
||||
}
|
||||
});
|
||||
|
||||
// Reload hidden files when profile changes
|
||||
$effect(() => {
|
||||
void $profile;
|
||||
if (selectedRoot) {
|
||||
loadFiles();
|
||||
}
|
||||
});
|
||||
|
||||
async function loadFiles() {
|
||||
$files = await getFiles(selectedRoot);
|
||||
const hidden = await getHidden($profile);
|
||||
|
||||
Reference in New Issue
Block a user