[COMPASS-7318] System collapse all expanded data while switch the tab Created: 10/Oct/23  Updated: 09/Jan/24  Resolved: 23/Nov/23

Status: Closed
Project: Compass
Component/s: Aggregation pipeline, CRUD
Affects Version/s: 1.40.2
Fix Version/s: 1.41.0

Type: Bug Priority: Minor - P4
Reporter: Иван Вознюк Assignee: Himanshu Singh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS: Windows 11
node.js / npm versions:
Additional info: mongoDB compass version 1.40.2


Story Points: 3
Quarter: FY24Q4
Documentation Changes: Not Needed
Sprint: Iteration Pterodactyl

 Description   

Problem Statement/Rationale

System collapse all expanded data while switch the tab

Steps to Reproduce

1) Open any collection on tab1 and expand data

2) Open any collection on tab2 and expand data

3) Select tab1

Expected Results

All data stay expanded as is

Actual Results

All expanded data collapsed

Additional Notes

This issue reproduced in the version 1.40.2



 Comments   
Comment by Githook User [ 09/Jan/24 ]

Author:

{'name': 'Himanshu Singh', 'email': 'himanshu.singhs@outlook.in', 'username': 'himanshusinghs'}

Message: fix(compass-crud): expanded docs retains state after switching tabs COMPASS-7318 (#5137)

  • fix: expanded docs retains state post tab switch

moved the expanded state of the document/element to HadronDocument/HadronElement

  • moved from normal docs to hadron docs in the store
  • minor refactor
  • refactor related to HadronDocument and HadronElement
  • added options to expand/collapse docs for a stage preview
  • added e2e tests for the expanding / collapsing of documents
Comment by Githook User [ 28/Nov/23 ]

Author:

{'name': 'Himanshu Singh', 'email': 'himanshu.singhs@outlook.in', 'username': 'himanshusinghs'}

Message: fix(compass-crud): expanded docs retains state after switching tabs COMPASS-7318 (#5137)

  • fix: expanded docs retains state post tab switch

moved the expanded state of the document/element to HadronDocument/HadronElement

  • moved from normal docs to hadron docs in the store
  • minor refactor
  • refactor related to HadronDocument and HadronElement
  • added options to expand/collapse docs for a stage preview
  • added e2e tests for the expanding / collapsing of documents
Comment by Githook User [ 28/Nov/23 ]

Author:

{'name': 'Himanshu Singh', 'email': 'himanshu.singhs@outlook.in', 'username': 'himanshusinghs'}

Message: fix(compass-crud): expanded docs retains state after switching tabs COMPASS-7318 (#5137)

  • fix: expanded docs retains state post tab switch

moved the expanded state of the document/element to HadronDocument/HadronElement

  • moved from normal docs to hadron docs in the store
  • minor refactor
  • refactor related to HadronDocument and HadronElement
  • added options to expand/collapse docs for a stage preview
  • added e2e tests for the expanding / collapsing of documents
Comment by Githook User [ 24/Nov/23 ]

Author:

{'name': 'Himanshu Singh', 'email': 'himanshu.singhs@outlook.in', 'username': 'himanshusinghs'}

Message: fix(compass-crud): expanded docs retains state after switching tabs COMPASS-7318 (#5137)

  • fix: expanded docs retains state post tab switch

moved the expanded state of the document/element to HadronDocument/HadronElement

  • moved from normal docs to hadron docs in the store
  • minor refactor
  • refactor related to HadronDocument and HadronElement
  • added options to expand/collapse docs for a stage preview
  • added e2e tests for the expanding / collapsing of documents
Comment by Githook User [ 23/Nov/23 ]

Author:

{'name': 'Himanshu Singh', 'email': 'himanshu.singhs@outlook.in', 'username': 'himanshusinghs'}

Message: fix(compass-crud): expanded docs retains state after switching tabs COMPASS-7318 (#5137)

  • fix: expanded docs retains state post tab switch

moved the expanded state of the document/element to HadronDocument/HadronElement

  • moved from normal docs to hadron docs in the store
  • minor refactor
  • refactor related to HadronDocument and HadronElement
  • added options to expand/collapse docs for a stage preview
  • added e2e tests for the expanding / collapsing of documents
Comment by Githook User [ 22/Nov/23 ]

Author:

{'name': 'Himanshu Singh', 'email': 'himanshu.singhs@outlook.in', 'username': 'himanshusinghs'}

Message: Merge branch 'main' into COMPASS-7318-keep-documents-expanded-when-switching-tabs
Branch: COMPASS-7318-keep-documents-expanded-when-switching-tabs
https://github.com/mongodb-js/compass/commit/09f7255271d98e8b0eab312e518cea95e364a818

Comment by PM Bot [ 10/Oct/23 ]

Hello hd2marketacc@gmail.com, thank you for reaching out to us! The team will review your issue and get back to you soon as soon as possible.

Please review your issue to ensure you've included your environment details and have attached relevant logs (with any sensitive data redacted), so that we're best able to provide you a timely and thorough response. Thanks again!

Generated at Wed Feb 07 22:46:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.