-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
feat(seer-cursor): add cursor integration CTA in settings page #103153
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
…page integration - Add reusable CursorIntegrationCta component for prompting users to configure Cursor integration - Integrate CTA component into Seer project settings page - Export makeProjectSeerPreferencesQueryKey for cache management - Add query invalidation on preferences update for better cache consistency
|
what does it look like if automation is disabled entirely? |
it doesn't consider that, but good callout because we should make it so if you have the cursor integration setup but automation turned off it stays in the second state and turns automation on when you press the button |
|
@roaga updated the second state |
| const [isDismissed, setIsDismissed] = useState(() => { | ||
| if (!dismissible || !dismissKey) { | ||
| return false; | ||
| } | ||
| return localStorage.getItem(dismissKey) === 'true'; | ||
| }); |
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.
you might try useLocalStorageState here to simplify some of this
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.
cleaned up
| @@ -324,6 +325,7 @@ function ProjectSeer({ | |||
| })} | |||
| /> | |||
| <ProjectSeerGeneralForm project={project} /> | |||
| <CursorIntegrationCta project={project} /> | |||
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.
i feel like props dismissKey and dismissible were added but aren't being used
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.
oh yeah this was for using it in the seer drawer too, but moved to using an onboarding step instaed.
| if (!organization) { | ||
| return null; | ||
| } |
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.
not possible
❌ 4 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
Makes the cursor agent integration more discoverable by adding callouts to the seer project settings page. The setup handoff button will set the stopping point to cursor handoff and invalidate + make sure the dropdown state is updated. Without integration set up: <img width="2844" height="418" alt="image" src="https://github.com/user-attachments/assets/8fe21d53-fc6d-4da0-a149-77c851f68ceb" /> With integration set up but without handoff set or automation is off: <img width="2640" height="830" alt="CleanShot 2025-11-12 at 01 30 11@2x" src="https://github.com/user-attachments/assets/2b5d8011-848c-4585-b1b9-1e7f4f117c22" /> <img width="2634" height="574" alt="CleanShot 2025-11-12 at 01 30 02@2x" src="https://github.com/user-attachments/assets/2e956428-bd33-481f-a1ae-e5b22ace3c7b" /> With handoff setup: <img width="2930" height="498" alt="image" src="https://github.com/user-attachments/assets/db5e0ada-a812-4f6f-8185-ef394fbb1eee" /> Followed by #103156
Makes the cursor agent integration more discoverable by adding callouts to the seer project settings page. The setup handoff button will set the stopping point to cursor handoff and invalidate + make sure the dropdown state is updated.
Without integration set up:




With integration set up but without handoff set or automation is off:
With handoff setup:
Followed by #103156