-
Notifications
You must be signed in to change notification settings - Fork 245
feat(compass-generative-ai): Add plugin to generative ai package to show opt-in for project setting in DE COMPASS-8378 #6489
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
Conversation
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/store/atlas-optin-reducer.ts
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/store/atlas-optin-reducer.ts
Outdated
Show resolved
Hide resolved
Anemy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, left a couple suggestions.
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/components/ai-signin-modal.tsx
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/store/atlas-optin-reducer.ts
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/store/atlas-optin-reducer.ts
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/store/atlas-optin-reducer.ts
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/store/atlas-optin-reducer.ts
Outdated
Show resolved
Hide resolved
Anemy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Left a couple suggestions
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
Outdated
Show resolved
Hide resolved
Anemy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Looking good, left a couple suggestions. I think we're almost there!
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
Outdated
Show resolved
Hide resolved
packages/compass-generative-ai/src/components/ai-optin-modal.tsx
Outdated
Show resolved
Hide resolved
Anemy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, one small tweak. Trying it out now
packages/compass-generative-ai/src/components/ai-optin-modal.spec.tsx
Outdated
Show resolved
Hide resolved
Anemy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wahoo! Looks good. Left 2 small suggestions, not blockers. Nice work
Description
Update the compass-generative-ai package to have a plugin used in CompassWeb to show the opt-in modal. This opt-in modal, when a user clicks to enable it, calls to set the setting on the backend when clicked. Change the current sign in flow to only show the sign in flow if a user isn’t already authenticated.
This is a user setting.
More info in the tech design: https://docs.google.com/document/d/1to8ghEzI600WxQm08T5nzNfFLkeLDx55EtYxDb4Lvno/edit#bookmark=id.d6b8bffb4
Checklist
Motivation and Context
Open Questions
Dependents
Types of changes