[COMPASS-6296] Display on the fly a derived info pillow for enableShell setting Created: 14/Nov/22  Updated: 29/Oct/23  Resolved: 19/Nov/22

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

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

Issue Links:
Issue split
split from COMPASS-6062 Implement enableShell option Closed
Epic Link: COMPASS-5816
Documentation Changes: Not Needed
Sprint: Iteration Octopus

 Description   

When selecting the readOnly setting immediately show an info pillow for the enableShell setting informing users that this property is derived from the readOnly.



 Comments   
Comment by Githook User [ 01/Dec/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix(compass-settings): keep internal state of settings modal up-to-date COMPASS-6296 (#3782)

Refactor the settings modal internals so that it keeps a “sandbox”
storage of preferences that are not store directly, but have the same
behavior as the actual preferences storage, instead of manually
tracking settings changes.

This way, we can ensure that we can display the state of a setting
without actually having to save it (in the specific case that requires
this is the `enableShell` / `readOnly` pair, where clicking `readOnly`
should immediately indicate that setting it also changes `enableShell`.
Branch: update-compass-shell-to-shared-config
https://github.com/mongodb-js/compass/commit/112bf8f8b20d7181824478f76e627ee32d6e03d7

Comment by Githook User [ 25/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix(compass-settings): keep internal state of settings modal up-to-date COMPASS-6296 (#3782)

Refactor the settings modal internals so that it keeps a “sandbox”
storage of preferences that are not store directly, but have the same
behavior as the actual preferences storage, instead of manually
tracking settings changes.

This way, we can ensure that we can display the state of a setting
without actually having to save it (in the specific case that requires
this is the `enableShell` / `readOnly` pair, where clicking `readOnly`
should immediately indicate that setting it also changes `enableShell`.
Branch: compass-6057-refactor-auto-updates
https://github.com/mongodb-js/compass/commit/112bf8f8b20d7181824478f76e627ee32d6e03d7

Comment by Githook User [ 21/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix(compass-settings): keep internal state of settings modal up-to-date COMPASS-6296 (#3782)

Refactor the settings modal internals so that it keeps a “sandbox”
storage of preferences that are not store directly, but have the same
behavior as the actual preferences storage, instead of manually
tracking settings changes.

This way, we can ensure that we can display the state of a setting
without actually having to save it (in the specific case that requires
this is the `enableShell` / `readOnly` pair, where clicking `readOnly`
should immediately indicate that setting it also changes `enableShell`.
Branch: COMPASS-6061-implement-enabledevtools-option
https://github.com/mongodb-js/compass/commit/112bf8f8b20d7181824478f76e627ee32d6e03d7

Comment by Githook User [ 21/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix(compass-settings): keep internal state of settings modal up-to-date COMPASS-6296 (#3782)

Refactor the settings modal internals so that it keeps a “sandbox”
storage of preferences that are not store directly, but have the same
behavior as the actual preferences storage, instead of manually
tracking settings changes.

This way, we can ensure that we can display the state of a setting
without actually having to save it (in the specific case that requires
this is the `enableShell` / `readOnly` pair, where clicking `readOnly`
should immediately indicate that setting it also changes `enableShell`.
Branch: COMPASS-6291-preserve-preview-if-pipeline-fails
https://github.com/mongodb-js/compass/commit/112bf8f8b20d7181824478f76e627ee32d6e03d7

Comment by Githook User [ 21/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix(compass-settings): keep internal state of settings modal up-to-date COMPASS-6296 (#3782)

Refactor the settings modal internals so that it keeps a “sandbox”
storage of preferences that are not store directly, but have the same
behavior as the actual preferences storage, instead of manually
tracking settings changes.

This way, we can ensure that we can display the state of a setting
without actually having to save it (in the specific case that requires
this is the `enableShell` / `readOnly` pair, where clicking `readOnly`
should immediately indicate that setting it also changes `enableShell`.
Branch: COMPASS-6298-pipeline-tests
https://github.com/mongodb-js/compass/commit/112bf8f8b20d7181824478f76e627ee32d6e03d7

Comment by Githook User [ 21/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix(compass-settings): keep internal state of settings modal up-to-date COMPASS-6296 (#3782)

Refactor the settings modal internals so that it keeps a “sandbox”
storage of preferences that are not store directly, but have the same
behavior as the actual preferences storage, instead of manually
tracking settings changes.

This way, we can ensure that we can display the state of a setting
without actually having to save it (in the specific case that requires
this is the `enableShell` / `readOnly` pair, where clicking `readOnly`
should immediately indicate that setting it also changes `enableShell`.
Branch: update-compass-instance-to-shared-config
https://github.com/mongodb-js/compass/commit/112bf8f8b20d7181824478f76e627ee32d6e03d7

Comment by Githook User [ 19/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix(compass-settings): keep internal state of settings modal up-to-date COMPASS-6296 (#3782)

Refactor the settings modal internals so that it keeps a “sandbox”
storage of preferences that are not store directly, but have the same
behavior as the actual preferences storage, instead of manually
tracking settings changes.

This way, we can ensure that we can display the state of a setting
without actually having to save it (in the specific case that requires
this is the `enableShell` / `readOnly` pair, where clicking `readOnly`
should immediately indicate that setting it also changes `enableShell`.
Branch: main
https://github.com/mongodb-js/compass/commit/112bf8f8b20d7181824478f76e627ee32d6e03d7

Comment by Githook User [ 18/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: fix(compass-settings): keep internal state of settings modal up-to-date COMPASS-6296

Refactor the settings modal internals so that it keeps a “sandbox”
storage of preferences that are not store directly, but have the same
behavior as the actual preferences storage, instead of manually
tracking settings changes.

This way, we can ensure that we can display the state of a setting
without actually having to save it (in the specific case that requires
this is the `enableShell` / `readOnly` pair, where clicking `readOnly`
should immediately indicate that setting it also changes `enableShell`.
Branch: 6296-variant-save-disabled
https://github.com/mongodb-js/compass/commit/978a8060a9c50bc2f7f5349a8675d8c12490776c

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