question: Future of the docSource mechanism — will it be removed?
Dear maintainer,
I've noticed that starting from version 0.21.0, the demo of this project (when launched via yarn dev) no longer restores the previously edited content after a page refresh. The same issue also appears on the official demo page.
I've also noticed the demo folder "packages/playground/apps/default" in version 0.19.5 has been removed in the newer versions.
To investigate, I attempted to reintroduce the IndexedDBDocSource in "packages/playground/apps/starter/utils/collection.ts", following the pattern used in "packages/playground/apps/default/utils/collection.ts" in version 0.19.5. The relevant code snippet is as follows:
import {IndexedDBDocSource} from '@blocksuite/affine/sync';
... ...
let docSources: DocCollectionOptions['docSources'] = {
main: new IndexedDBDocSource(),
};
... ...
However, this did not resolve the issue.
So, my question is: is the docSource mechanism being deprecated or planned for removal? Any clarification would be greatly appreciated. Thank you!