-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
feat(seer): Enable bulk editing seer automation #91807
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
static/gsApp/views/seerAutomation/seerAutomationProjectList.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Scott Cooper <scttcper@gmail.com>
static/gsApp/views/seerAutomation/seerAutomationProjectList.tsx
Outdated
Show resolved
Hide resolved
static/gsApp/views/seerAutomation/seerAutomationProjectList.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Scott Cooper <scttcper@gmail.com>
Co-authored-by: Scott Cooper <scttcper@gmail.com>
@@ -49,8 +57,10 @@ function ProjectSeerSetting({project, orgSlug}: {orgSlug: string; project: Proje | |||
|
|||
export function SeerAutomationProjectList() { | |||
const organization = useOrganization(); | |||
const {projects, fetching, fetchError} = useProjects(); | |||
const api = useApi(); | |||
const {projects, fetching, fetchError, reloadProjects} = useProjects(); |
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.
reloadProjects here won't do anything since we're using useDetailedProject to fetch additional project details. see https://github.com/getsentry/sentry/blob/master/static/app/utils/useDetailedProject.tsx#L18-L27
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.
gotcha, switching to invalidating the detailed project queries if that works
static/gsApp/views/seerAutomation/seerAutomationProjectList.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Scott Cooper <scttcper@gmail.com>
<img width="1369" alt="Screenshot 2025-05-16 at 10 10 08 AM" src="https://github.com/user-attachments/assets/d5e14874-7ac7-4b10-a129-22a671b14a6d" /> <img width="1333" alt="Screenshot 2025-05-16 at 10 10 04 AM" src="https://github.com/user-attachments/assets/3b3afb53-d0a9-4b9b-af93-78393b9495b8" /> <img width="1380" alt="Screenshot 2025-05-16 at 10 09 59 AM" src="https://github.com/user-attachments/assets/b1bf57d3-a187-4e94-a6f7-8dfbf10f1f6c" /> --------- Co-authored-by: Scott Cooper <scttcper@gmail.com> Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.