[COMPASS-6837] [Insights] Add signal for bloated documents in Document tab Created: 15/May/23  Updated: 29/Oct/23  Resolved: 06/Jul/23

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.39.0

Type: Task Priority: Major - P3
Reporter: Sergey Petushkov Assignee: Sergey Petushkov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-6441
Story Points: 5
Documentation Changes: Not Needed
Sprint: Iteration Dreadnoughtus

 Description   

We'll use $bsonSize projection to get the document size and map it to a document card in the crud document list:

  • We will only do this if there is no custom projection provided by the user
  • We will add {doc: "$$ROOT", size: {$bsonSize: "$$ROOT"}} projection to the find call
  • When receiving the document, map doc to the HadronDocument and store the bson size value as a symbol on the hadron doc
  • The value can then be used to render the insight in the document list


 Comments   
Comment by Githook User [ 14/Jul/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(compass-crud): re-introduce "bloated documents" insight COMPASS-6837 (#4614)

  • Revert "Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837" (#4605)"

This reverts commit 66bc0ab994862436f1ee38d683f005886e1f59a4.

  • fix(compass-crud): skip $bsonSize projection for ADF
Comment by Githook User [ 14/Jul/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837" (#4605)

Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837 (#4566)"

This reverts commit bfb9cbb4231256a42735e555cf322ba812f40577.
Branch: ga-releases
https://github.com/mongodb-js/compass/commit/66bc0ab994862436f1ee38d683f005886e1f59a4

Comment by Githook User [ 11/Jul/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(compass-crud): re-introduce "bloated documents" insight COMPASS-6837 (#4614)

  • Revert "Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837" (#4605)"

This reverts commit 66bc0ab994862436f1ee38d683f005886e1f59a4.

  • fix(compass-crud): skip $bsonSize projection for ADF
Comment by Githook User [ 11/Jul/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837" (#4605)

Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837 (#4566)"

This reverts commit bfb9cbb4231256a42735e555cf322ba812f40577.
Branch: storage-mixin-from-user-preferences
https://github.com/mongodb-js/compass/commit/66bc0ab994862436f1ee38d683f005886e1f59a4

Comment by Githook User [ 10/Jul/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(compass-crud): re-introduce "bloated documents" insight COMPASS-6837 (#4614)

  • Revert "Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837" (#4605)"

This reverts commit 66bc0ab994862436f1ee38d683f005886e1f59a4.

  • fix(compass-crud): skip $bsonSize projection for ADF
Comment by Githook User [ 05/Jul/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(compass-crud): re-introduce "bloated documents" insight COMPASS-6837 (#4614)

  • Revert "Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837" (#4605)"

This reverts commit 66bc0ab994862436f1ee38d683f005886e1f59a4.

  • fix(compass-crud): skip $bsonSize projection for ADF
Comment by Githook User [ 05/Jul/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(compass-crud): re-introduce "bloated documents" insight COMPASS-6837 (#4614)

  • Revert "Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837" (#4605)"

This reverts commit 66bc0ab994862436f1ee38d683f005886e1f59a4.

  • fix(compass-crud): skip $bsonSize projection for ADF
Comment by Githook User [ 04/Jul/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: Revert "Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837" (#4605)"

This reverts commit 66bc0ab994862436f1ee38d683f005886e1f59a4.
Branch: compass-6837-bloated-docs-insight
https://github.com/mongodb-js/compass/commit/56d4c28ac8ce4e46dcb6bc69ade48db2747565cc

Comment by Githook User [ 03/Jul/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837" (#4605)

Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837 (#4566)"

This reverts commit bfb9cbb4231256a42735e555cf322ba812f40577.
Branch: beta-releases
https://github.com/mongodb-js/compass/commit/66bc0ab994862436f1ee38d683f005886e1f59a4

Comment by Githook User [ 30/Jun/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837" (#4605)

Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837 (#4566)"

This reverts commit bfb9cbb4231256a42735e555cf322ba812f40577.
Branch: main
https://github.com/mongodb-js/compass/commit/66bc0ab994862436f1ee38d683f005886e1f59a4

Comment by Githook User [ 30/Jun/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'sergey.petushkov@protonmail.com', 'username': 'gribnoysup'}

Message: Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837 (#4566)"

This reverts commit bfb9cbb4231256a42735e555cf322ba812f40577.
Branch: ga-releases
https://github.com/mongodb-js/compass/commit/fa2e4ab1714845fdd2d777e89ced0f1dc7467a30

Comment by Githook User [ 30/Jun/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'sergey.petushkov@protonmail.com', 'username': 'gribnoysup'}

Message: Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837 (#4566)"

This reverts commit bfb9cbb4231256a42735e555cf322ba812f40577.
Branch: revert-4566
https://github.com/mongodb-js/compass/commit/fa2e4ab1714845fdd2d777e89ced0f1dc7467a30

Comment by Githook User [ 30/Jun/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'sergey.petushkov@protonmail.com', 'username': 'gribnoysup'}

Message: Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837 (#4566)"

This reverts commit bfb9cbb4231256a42735e555cf322ba812f40577.
Branch: revert-4566-compass-6837-bloated-docs
https://github.com/mongodb-js/compass/commit/d1d5416077232228b2c765f1c07c5515fd5c09f5

Comment by Githook User [ 28/Jun/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(compass-crud): add bloated docs insight to the document list COMPASS-6837 (#4566)

  • feat(compass-crud): add bloated docs insight to the document list
Comment by Githook User [ 27/Jun/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(compass-crud): add bloated docs insight to the document list COMPASS-6837 (#4566)

  • feat(compass-crud): add bloated docs insight to the document list
Comment by Githook User [ 23/Jun/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(compass-crud): add bloated docs insight to the document list COMPASS-6837 (#4566)

  • feat(compass-crud): add bloated docs insight to the document list
Comment by Githook User [ 23/Jun/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(compass-crud): add bloated docs insight to the document list COMPASS-6837 (#4566)

  • feat(compass-crud): add bloated docs insight to the document list
Comment by Githook User [ 22/Jun/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(compass-crud): add bloated docs insight to the document list COMPASS-6837 (#4566)

  • feat(compass-crud): add bloated docs insight to the document list
Comment by Githook User [ 22/Jun/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(compass-crud): add bloated docs insight to the document list COMPASS-6837 (#4566)

  • feat(compass-crud): add bloated docs insight to the document list
Comment by Githook User [ 21/Jun/23 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(compass-crud): add bloated docs insight to the document list COMPASS-6837 (#4566)

  • feat(compass-crud): add bloated docs insight to the document list
Generated at Wed Feb 07 22:44:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.