Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7800

Update saving ai settings flow

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Iteration Zephyrosaurus
    • Not Needed
    • Developer Tools

      Only show the ai settings when the enable ai settings is enabled/disabled.
      Currently, we save the compass settings on the "Save" button instead of just immediately saving on a setting checkbox click. Also, we automatically close the setting modal after saving changes. It causes some inconveniences for the Atlas login and GenAI flow. For example, if we want to enable AI, we need to first click and save the "Enable AI Features" setting, and then reopen settings and login with Atlas. This becomes especially confusing when according to the new designs we put the checkbox and the Atlas login card on a separate "Artificial Intelligence" tab.

      We could change the way we save all settings in favor of immediately saving them on the checkbox click.

      Consider corner cases, when some options have effects on other options, e.g. enabling read-only mode necessarily also disables the shell option, and the setting can actually have an effect on features already on the screen. Like shell will actually reset every time you toggle this setting.

       

      Related Stlack thread: https://mongodb.slack.com/archives/GDTJXPHD0/p1711635817479729

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            alena.khineika@mongodb.com Alena Khineika
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: