-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
ref(insights): rename resource module to asset module #70951
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
3baab1c
fix
DominikB2014 35f1711
fix
DominikB2014 84f3ba3
rename resource module to assets
DominikB2014 b8918ea
update
DominikB2014 17fd896
Merge branch 'master' into DominikB2014/change-naming-assets
DominikB2014 06218b7
update
DominikB2014 22cff42
Merge remote-tracking branch 'origin/master' into DominikB2014/change…
DominikB2014 609dbbb
update route
DominikB2014 b953b58
update links
DominikB2014 c90f066
widget title
DominikB2014 0b916e4
Merge remote-tracking branch 'origin/master' into DominikB2014/change…
DominikB2014 a350a9d
code review
DominikB2014 a36a5f4
update
DominikB2014 0cf801c
update samples panel
DominikB2014 7eb240d
update
DominikB2014 50fb90b
fix routes
DominikB2014 2edb494
update
DominikB2014 e245c28
update
DominikB2014 c187147
test case
DominikB2014 4757bb5
fix test
DominikB2014 794ed11
fix test
DominikB2014 55a5815
fix test
DominikB2014 c1864a5
fix test
DominikB2014 8950717
Update index.tsx
DominikB2014 1213fe2
code review
DominikB2014 aeb0a6e
fix
DominikB2014 80b2712
fix lint
DominikB2014 e8d0619
Merge remote-tracking branch 'origin/master' into DominikB2014/change…
DominikB2014 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
14 changes: 11 additions & 3 deletions
14
static/app/views/performance/browser/resources/settings.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
import {t} from 'sentry/locale'; | ||
|
||
export const MODULE_TITLE = t('Resources'); | ||
export const BASE_URL = 'browser/resources'; | ||
|
||
export const MODULE_TITLE = t('Assets'); | ||
export const DATA_TYPE = t('Asset'); | ||
export const BASE_URL = 'browser/assets'; // Name of the data shown (singular) | ||
export const MODULE_DESCRIPTION = t( | ||
'Find large and slow-to-load resources used by your application and understand their impact on page performance.' | ||
); | ||
|
||
export const PERFORMANCE_MODULE_TITLE = t('Resources'); | ||
export const PERFORMANCE_BASE_URL = 'browser/resources'; | ||
export const PERFORMANCE_DATA_TYPE = t('Resource'); | ||
export const PERFORMANCE_MODULE_DESCRIPTION = t( | ||
'Find large and slow-to-load resources used by your application and understand their impact on page performance.' | ||
); | ||
|
||
export const MODULE_DOC_LINK = 'https://docs.sentry.io/product/performance/resources/'; |
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Prefixed with
Performance
so that once we move to insights, we just delete these and it all makes sense still. If we prefixed with insights, we would either have to live with it, or refactor this variable.