microsoft / microsoft/vscode-documentdb

[Discussion] Count in the plugin panel is incorrect

Open
#853 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug-bash
Dominant language
TypeScript
Stars
31
Forks
22
Avg merge
2d 20h
Merged PRs (30d)
21

Description

Initial state:

Image

the collection "orders" has 4 items, and is correctly counted on the left panel.

Then, though the UI, I add a new order (Copied order1 and altered unique fields)

Image

The orders collection now displays "1 docs" though viewing it shows 5

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue through the VS Code extension UI by noting the collection count, adding an order, and comparing the panel with the collection view. Trace the code path responsible for updating the plugin panel count; done means the count matches the collection contents after adding a document.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
databases, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.