microsoft / microsoft/vscode-documentdb
View/Edit selected documents does not function on first click - shows loading true
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 31
- Forks
- 22
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 21
Description
Bug Description
When clicking View/Edit on a selected document, the editor does not display the document content on the first click. Instead, it shows:
{ "loading...": true }
A second click is required to actually load and display the document content.
Steps to Reproduce
- Open a DocumentDB collection in VS Code
- Select a document
- Click View/Edit on the selected document
- Observe the editor shows { "loading...": true } instead of the actual document
Expected Behavior
The document content should be displayed immediately on the first click.
Actual Behavior
The first click shows { "loading...": true } and does not resolve. A subsequent click is needed to load the document.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the View/Edit action for a selected document in the VS Code DocumentDB extension and trace the first-click loading behavior. Done means the document content appears immediately on the first click without leaving the loading placeholder visible; add a regression test if the relevant test location is found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- database, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100