Skip to content

ref(scraps): adopt GlobalModal#114447

Merged
natemoo-re merged 9 commits intomasterfrom
nm/scraps/modal
May 1, 2026
Merged

ref(scraps): adopt GlobalModal#114447
natemoo-re merged 9 commits intomasterfrom
nm/scraps/modal

Conversation

@natemoo-re
Copy link
Copy Markdown
Member

Following up on #113489 #113968, this PR moves GlobalModal into Scraps.

  • The canonical import is now @sentry/scraps/modal.
  • The only API change is renaming the hook from useGlobalModal -> useModal.

Additional refactors to come.

@natemoo-re natemoo-re requested review from a team as code owners April 30, 2026 17:14
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 30, 2026
Comment thread static/app/views/navigation/index.tsx
@natemoo-re natemoo-re enabled auto-merge (squash) May 1, 2026 20:55
@natemoo-re natemoo-re merged commit 88dc59e into master May 1, 2026
67 checks passed
@natemoo-re natemoo-re deleted the nm/scraps/modal branch May 1, 2026 21:01
NicoHinderling pushed a commit that referenced this pull request May 1, 2026
Following up on #113489 #113968, this PR moves `GlobalModal` into
Scraps.
- The canonical import is now `@sentry/scraps/modal`.
- The only API change is renaming the hook from `useGlobalModal` ->
`useModal`.

Additional refactors to come.
cleptric pushed a commit that referenced this pull request May 5, 2026
Following up on #113489 #113968, this PR moves `GlobalModal` into
Scraps.
- The canonical import is now `@sentry/scraps/modal`.
- The only API change is renaming the hook from `useGlobalModal` ->
`useModal`.

Additional refactors to come.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants