Skip to content

ref(shared-views): Rewire reordering event handler to use new endpoint#89108

Merged
MichaelSun48 merged 2 commits into
masterfrom
msun/sharedViews/rewireReorderingEndpoint
Apr 9, 2025
Merged

ref(shared-views): Rewire reordering event handler to use new endpoint#89108
MichaelSun48 merged 2 commits into
masterfrom
msun/sharedViews/rewireReorderingEndpoint

Conversation

@MichaelSun48

Copy link
Copy Markdown
Contributor

Creates the frontend hook that calls the new PUT /group-search-views/starred/order/ endpoint to reorder views, rather than using the now deprecated PUT /group-search-views/ endpoint, like before.

Rewires the onReorderComplete hook to call the new endpoint instead.

@MichaelSun48 MichaelSun48 requested a review from malwilley April 8, 2025 21:29
@MichaelSun48 MichaelSun48 requested a review from a team as a code owner April 8, 2025 21:29
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 8, 2025
Comment on lines +21 to +26
export const useUpdateGroupSearchViewStarredOrder = (
options: Omit<
UseMutationOptions<void, RequestError, UpdateGroupSearchViewStarredOrderVariables>,
'mutationFn'
> = {}
) => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would leave out options until you need them

@codecov

codecov Bot commented Apr 9, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #89108      +/-   ##
==========================================
- Coverage   87.69%   82.91%   -4.79%     
==========================================
  Files       10094    10094              
  Lines      571188   571187       -1     
  Branches    22446    22446              
==========================================
- Hits       500929   473621   -27308     
- Misses      69851    97158   +27307     
  Partials      408      408              

@MichaelSun48 MichaelSun48 merged commit f02cfca into master Apr 9, 2025
@MichaelSun48 MichaelSun48 deleted the msun/sharedViews/rewireReorderingEndpoint branch April 9, 2025 19:02
Christinarlong pushed a commit that referenced this pull request Apr 10, 2025
#89108)

Creates the frontend hook that calls the new `PUT`
`/group-search-views/starred/order/` endpoint to reorder views, rather
than using the now deprecated `PUT` `/group-search-views/` endpoint,
like before.

Rewires the onReorderComplete hook to call the new endpoint instead.
andrewshie-sentry pushed a commit that referenced this pull request Apr 22, 2025
#89108)

Creates the frontend hook that calls the new `PUT`
`/group-search-views/starred/order/` endpoint to reorder views, rather
than using the now deprecated `PUT` `/group-search-views/` endpoint,
like before.

Rewires the onReorderComplete hook to call the new endpoint instead.
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants