Skip to content

feat(browser-starfish): frontend project settings - #62131

Merged
DominikB2014 merged 4 commits into
masterfrom
DominikB2014/project-setting-frontend
Jan 9, 2024
Merged

DominikB2014 merged 4 commits into
masterfrom
DominikB2014/project-setting-frontend

Conversation

@DominikB2014

@DominikB2014 DominikB2014 commented Dec 20, 2023 •

Copy link
Copy Markdown
Contributor

This PR complements the backend change here #62025, more work for #60482
This should be merged after

It adds to UI to enable/disable images from project settings.

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 20, 2023
DominikB2014 added a commit that referenced this pull request Jan 8, 2024
Work for #60482 

1. Adds a basic UI to enable disable image view.

<img width="1264" alt="image"
src="https://github.com/getsentry/sentry/assets/44422760/a58d6ce6-7bc0-4edf-9a9f-5491fb1fac66">

2. When you select show only links the following is shown
<img width="1255" alt="image"
src="https://github.com/getsentry/sentry/assets/44422760/a804efe5-4481-4c4b-bc61-43fb72659d87">

3. If you select go to settings, you go to the performance page
settings.

4. If an image has an error, we will display the grey box again
<img width="753" alt="image"
src="https://github.com/getsentry/sentry/assets/44422760/2654013d-e9b3-4891-86c2-2ba48d6c2030">

A couple TODOs to actually use this
1. We don't have an image icon, going to work on that in a future PR, an
SVG is probably okay here?
2. We need to merge in #62131 and #62025 to have the actual setting
DominikB2014 added a commit that referenced this pull request Jan 9, 2024
)

Work for #60482 

This PR adds a new endpoint to enable/disable images for the resource
module as a project settings.
Complements #62131 , this PR shall be merged and deployed first.

TODO: 
- [x] Add some more error handling
- [x] Add tests
<img width="767" alt="image"
src="https://github.com/getsentry/sentry/assets/44422760/84196e45-3311-459f-b16b-c7693a659063">
@DominikB2014
DominikB2014 merged commit 6e42048 into master Jan 9, 2024
@DominikB2014
DominikB2014 deleted the DominikB2014/project-setting-frontend branch January 9, 2024 21:09
trillville pushed a commit that referenced this pull request Jan 19, 2024
Work for #60482 

1. Adds a basic UI to enable disable image view.

<img width="1264" alt="image"
src="https://github.com/getsentry/sentry/assets/44422760/a58d6ce6-7bc0-4edf-9a9f-5491fb1fac66">

2. When you select show only links the following is shown
<img width="1255" alt="image"
src="https://github.com/getsentry/sentry/assets/44422760/a804efe5-4481-4c4b-bc61-43fb72659d87">

3. If you select go to settings, you go to the performance page
settings.

4. If an image has an error, we will display the grey box again
<img width="753" alt="image"
src="https://github.com/getsentry/sentry/assets/44422760/2654013d-e9b3-4891-86c2-2ba48d6c2030">

A couple TODOs to actually use this
1. We don't have an image icon, going to work on that in a future PR, an
SVG is probably okay here?
2. We need to merge in #62131 and #62025 to have the actual setting
trillville pushed a commit that referenced this pull request Jan 19, 2024
)

Work for #60482 

This PR adds a new endpoint to enable/disable images for the resource
module as a project settings.
Complements #62131 , this PR shall be merged and deployed first.

TODO: 
- [x] Add some more error handling
- [x] Add tests
<img width="767" alt="image"
src="https://github.com/getsentry/sentry/assets/44422760/84196e45-3311-459f-b16b-c7693a659063">
trillville pushed a commit that referenced this pull request Jan 19, 2024
This PR complements the backend change here #62025, more work for #60482
This should be merged after

It adds to UI to enable/disable images from project settings.
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 25, 2024

This branch was successfully deployed

1 active deployment
Preview — 1817df79 Deployed Jan 9, 2024 by vercel[bot]
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.

2 participants