Skip to content

Commit

Permalink
Merge branch 'develop' into fix/hide-button-with-no-uread-notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
matteoscurati authored Jun 18, 2024
2 parents bdd695e + 85783b1 commit f2f17b5
Show file tree
Hide file tree
Showing 23 changed files with 747 additions and 280 deletions.
13 changes: 13 additions & 0 deletions app/_locales/en/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions app/scripts/lib/setupSentry.js
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,13 @@ export default function setupSentry({ release, getState }) {
tracesSampleRate: 0.01,
beforeSend: (report) => rewriteReport(report, getState),
beforeBreadcrumb: beforeBreadcrumb(getState),
// Client reports are automatically sent when a page's visibility changes to
// "hidden", but cancelled (with an Error) that gets logged to the console.
// Our test infra sometimes reports these errors as unexpected failures,
// which results in test flakiness. We don't use these client reports, so
// we can safely turn them off by setting the `sendClientReports` option to
// `false`.
sendClientReports: false,
});

/**
Expand Down
2 changes: 2 additions & 0 deletions test/e2e/default-fixture.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ function defaultFixture(inputChainId = CHAIN_IDS.LOCALHOST) {
'__FIXTURE_SUBSTITUTION__currentDateInMilliseconds',
showTestnetMessageInDropdown: true,
trezorModel: null,
newPrivacyPolicyToastClickedOrClosed: true,
newPrivacyPolicyToastShownDate: Date.now(),
usedNetworks: {
[CHAIN_IDS.MAINNET]: true,
[CHAIN_IDS.LINEA_MAINNET]: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"showAccountBanner": true,
"trezorModel": null,
"onboardingDate": "object",
"newPrivacyPolicyToastClickedOrClosed": "object",
"newPrivacyPolicyToastShownDate": "object",
"newPrivacyPolicyToastClickedOrClosed": "boolean",
"newPrivacyPolicyToastShownDate": "number",
"hadAdvancedGasFeesSetPriorToMigration92_3": false,
"nftsDropdownState": {},
"termsOfUseLastAgreed": "number",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
"showAccountBanner": true,
"trezorModel": null,
"onboardingDate": "object",
"newPrivacyPolicyToastClickedOrClosed": "object",
"newPrivacyPolicyToastShownDate": "object",
"newPrivacyPolicyToastClickedOrClosed": "boolean",
"newPrivacyPolicyToastShownDate": "number",
"hadAdvancedGasFeesSetPriorToMigration92_3": false,
"nftsDropdownState": {},
"termsOfUseLastAgreed": "number",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
"0x5": true,
"0x539": true
},
"newPrivacyPolicyToastClickedOrClosed": "boolean",
"newPrivacyPolicyToastShownDate": "number",
"snapsInstallPrivacyWarningShown": true
},
"CurrencyController": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
"0x5": true,
"0x539": true
},
"newPrivacyPolicyToastClickedOrClosed": "boolean",
"newPrivacyPolicyToastShownDate": "number",
"snapsInstallPrivacyWarningShown": true
},
"CurrencyController": {
Expand Down
Loading

0 comments on commit f2f17b5

Please sign in to comment.