feat(object-browser): preserve object list on return via stale cache

This commit is contained in:
Abeautifulsnow authored and GitHub committed 2026-09-08 11:51:50 +08:00
1 parent a6cd501a78
commit 8642e1a599
6 files changed
+189 -19

No files matched your search

@@ -36,7 +36,7 @@ describe("ContentArea object browser refresh wiring", () => {
});
it("exposes object and active table-info reloads as refresh", () => {
expect(objectBrowserSource).toMatch(/function refresh\(\): boolean \{\s+void reload\(\);\s+void refreshActiveTableInfo\(\);\s+return true;\s+\}/);
expect(objectBrowserSource).toMatch(/function refresh\(\): boolean \{\s+void reload\(\{ preserveExistingRows: true \}\);\s+void refreshActiveTableInfo\(\);\s+return true;\s+\}/);
expect(objectBrowserSource).toContain("defineExpose({ focusSearch, refresh });");
});