-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
When the data browsing webview is opened, run a find to fetch documents from the collection. This should have a cancel button and use abort controllers to cancel the operation. Add pagination actions, the refresh button, and show the pagination document count. When the webview is closed, cancel any ongoing operations. Ensure we surface errors to the users.
We'll also want a zero state (no documents).
Let's use redux for state management. The data-modeling store in Compass is a good place to follow for patterns (without Compass specific parts): https://github.com/mongodb-js/compass/blob/main/packages/compass-data-modeling/src/store/index.ts
Designs:
- depends on
-
VSCODE-722 Create entry point for the new data browsing experience
-
- In Progress
-
- is depended on by
-
VSCODE-727 Create read-only document editor/renderer
-
- Needs Triage
-
-
VSCODE-729 Add document actions to data browsing - edit, copy, clone, delete, insert
-
- Needs Triage
-
-
VSCODE-730 Remove the data browsing feature flag; release the feature
-
- Needs Triage
-
-
VSCODE-733 Add count to the data browser
-
- Needs Triage
-