You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When the pages are deleted, the overview doesn't reflect the change. #581
Yes, that’s it. I’m wondering which approach has better performance: simply calling the API again or handling it manually? For example, we could store the ID of the deleted page in an atom and use useEffect to track when it’s not null. Then, we could use recursion to delete all its children. It seems a bit complex. What do you think?
Activity
Philipinho commentedon Dec 23, 2024
Will have to invalidate the space
recent-changesquery key on page deletion.docmost/apps/client/src/features/page/queries/page-query.ts
Lines 137 to 145 in 290b7d9
omarNaifer12 commentedon Dec 23, 2024
Yes, that’s it. I’m wondering which approach has better performance: simply calling the API again or handling it manually? For example, we could store the ID of the deleted page in an atom and use useEffect to track when it’s not null. Then, we could use recursion to delete all its children. It seems a bit complex. What do you think?
perf(editor-ext): linear fastCreatePatch replaces quadratic rfc6902 a…
fix(docmost#581 review): ASCII sentinel (no NUL byte), seeded round-t…
Merge pull request 'perf(editor-ext): линейный fastCreatePatch вместо…
perf(mcp): diffDocs on the fixed recreateTransform; size guard now ac…
fix(ci): explicit 30s timeout on the 600-block highlightChanges test