Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Lightspeed Enabled setting #1797

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

mabashian
Copy link
Member

@mabashian mabashian commented Jan 31, 2025

Addresses https://issues.redhat.com/browse/AAP-31064

The scope of the changes has shifted a bit after initial investigation. We realized that the "Lightspeed Enabled" checkbox was redundant with the user being logged in. The only "automatic" action that Lightspeed takes is code completion (which has it's own checkbox to toggle on/off). All other actions are manually initiated by the user by clicking buttons or executing commands. The fact that they're opting in by taking the action tells us that they actually want to perform that action. I've shifted some of the checks we used to have for "Lightspeed Enabled" to now check to make sure the user is actually logged in to Lightspeed before proceeding. This should simplify the user experience and simply the onboarding of Lightspeed users.

The other change here is defaulting the Ansible > Lightspeed > Suggestions checkbox to "enabled." The original intent behind the ticket was to programatically set this value to true whenever the user logged in to Lightspeed. In reality though, we only want to make sure that this value is set to true initially. Once the user turns it off, it should stay off. The easiest way to achieve this was to simply default the value to true on install. Of course, the suggestion completion won't trigger if the user is logged out of Lightspeed (see above).

@mabashian mabashian force-pushed the mabashian/remove-lightspeed-enabled-checkbox branch from e4352ce to bd83ad4 Compare February 18, 2025 15:58
@mabashian mabashian merged commit ee72056 into main Feb 18, 2025
14 of 15 checks passed
@mabashian mabashian deleted the mabashian/remove-lightspeed-enabled-checkbox branch February 18, 2025 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants