[COMPASS-5944] Add in progress badge to the indexes table Created: 07/Jul/22  Updated: 28/Sep/22  Resolved: 02/Sep/22

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

Type: Task Priority: Major - P3
Reporter: Alena Khineika Assignee: Alena Khineika
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2022-06-24 at 12.11.20.png    
Issue Links:
Documented
Epic Link: COMPASS-5485
Story Points: 5
Documentation Changes: Needed
Documentation Changes Summary:

We allow users to close the create index dialog while creating the index is still in progress because it can take a while and we don't want to force users to stay on this form. Once the user pressed the “Cancel” button or closed the modal with X, keep an "In progress…" pillow while the process is not finished, and either remove it as soon as the index is successfully created or replace it with a "Failed" pillow in case of error.

Since several indexes can be created one by one and have "In progress…" pillows, we won't be able to reopen the modal with an error. We add on hover tooltip for the "Failed" pillow so users have an access to the error message.

Users can remove failed indexes from the indexes table. The in-progress indexes can not be removed manually.


 Description   

[Can be descoped if we exceed the planned time]

Display the “In progress…” pillow for indexes that were just created from the Compass UI to notify users that it can take a while until their new indexes are ready.

We will keep track of the `db.createIndex` promise, immediately close the dialog once the user pressed the “Create Index” button, keep the "In progress…" banner while the promise is not fulfilled, and either remove it or show an error as soon as it resolves or rejects



 Comments   
Comment by Githook User [ 28/Sep/22 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: feat: add progress badge to the indexes table COMPASS-5944 (#3399)

  • feat: add in progress badge to the indexes table COMPASS-5944
  • fix: in case of error remove from in progress array
  • feat: display failed pillow
  • feat: add tooltip with error mesage
  • test: fix e2e drop index modal selector
  • fix: combobox dark styles
  • fix: swap buttons
Comment by Githook User [ 07/Sep/22 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: feat: add progress badge to the indexes table COMPASS-5944 (#3399)

  • feat: add in progress badge to the indexes table COMPASS-5944
  • fix: in case of error remove from in progress array
  • feat: display failed pillow
  • feat: add tooltip with error mesage
  • test: fix e2e drop index modal selector
  • fix: combobox dark styles
  • fix: swap buttons
Comment by Githook User [ 06/Sep/22 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: feat: add progress badge to the indexes table COMPASS-5944 (#3399)

  • feat: add in progress badge to the indexes table COMPASS-5944
  • fix: in case of error remove from in progress array
  • feat: display failed pillow
  • feat: add tooltip with error mesage
  • test: fix e2e drop index modal selector
  • fix: combobox dark styles
  • fix: swap buttons
Comment by Githook User [ 06/Sep/22 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: feat: add progress badge to the indexes table COMPASS-5944 (#3399)

  • feat: add in progress badge to the indexes table COMPASS-5944
  • fix: in case of error remove from in progress array
  • feat: display failed pillow
  • feat: add tooltip with error mesage
  • test: fix e2e drop index modal selector
  • fix: combobox dark styles
  • fix: swap buttons
Comment by Githook User [ 02/Sep/22 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: feat: add progress badge to the indexes table COMPASS-5944 (#3399)

  • feat: add in progress badge to the indexes table COMPASS-5944
  • fix: in case of error remove from in progress array
  • feat: display failed pillow
  • feat: add tooltip with error mesage
  • test: fix e2e drop index modal selector
  • fix: combobox dark styles
  • fix: swap buttons
Comment by Githook User [ 01/Sep/22 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: Merge remote-tracking branch 'origin/main' into COMPASS-5944-indexes-table-in-progress-badge
Branch: COMPASS-5944-indexes-table-in-progress-badge
https://github.com/mongodb-js/compass/commit/0cd61cdf99cb78cfd4926e843139b28408a7587d

Comment by Githook User [ 01/Sep/22 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: Merge remote-tracking branch 'origin/main' into COMPASS-5944-indexes-table-in-progress-badge

  1. Conflicts:
  2. package-lock.json
    Branch: COMPASS-5944-indexes-table-in-progress-badge
    https://github.com/mongodb-js/compass/commit/793789fb26d17c54d21b9b463146057fcec46a7c
Comment by Githook User [ 30/Aug/22 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: Merge remote-tracking branch 'origin/main' into COMPASS-5944-indexes-table-in-progress-badge
Branch: COMPASS-5944-indexes-table-in-progress-badge
https://github.com/mongodb-js/compass/commit/2e4bc1547a5e465d05b4cc35420856659b6683b1

Comment by Githook User [ 29/Aug/22 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: Merge remote-tracking branch 'origin/main' into COMPASS-5944-indexes-table-in-progress-badge
Branch: COMPASS-5944-indexes-table-in-progress-badge
https://github.com/mongodb-js/compass/commit/7525779f513f4d6e05a2b52c2bc6e8ddf094d10a

Comment by Githook User [ 29/Aug/22 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: feat: add in progress badge to the indexes table COMPASS-5944
Branch: COMPASS-5944-indexes-table-in-progress-badge
https://github.com/mongodb-js/compass/commit/23b70cec9fe6e19612774bdd06192c950cc79fbc

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