-
-
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.
ref(insights): rename resource module to asset module (#70951)
Renaming the `resources` module to `assets` resonates better with FE devs. This does all the renaming in sentry itself, and there's another PR up for docs getsentry/sentry-docs#10047 --------- Co-authored-by: George Gritsouk <[email protected]>
- Loading branch information
1 parent
6bb769e
commit e9472ff
Showing
15 changed files
with
507 additions
and
387 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
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.