-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(insights): Closing mobile span details panel breaks screen (#83571)
By default the `useSamplesDrawer()` removes the `transaction` query parameter when being closed. This unfortunately doesn't work well for mobile screens detail pages as the underlying screen already operates on the `transaction` query param (e.g. `/insights/mobile/mobile-screens/details?tab=app_start&transaction=TransactionActivity`). Once the panel is closed the underlying screen looses it's state / turns into an empty state: https://github.com/user-attachments/assets/db2c8fb3-6615-4752-a1fe-23ee4ac02011 This PR fixes this by providing a way to override the default close behavior. It also fixes the panel links when the Mobile Screens feature is enabled.
- Loading branch information
Showing
7 changed files
with
90 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters