1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 09:23:21 +01:00
metamask-extension/app
Mark Stacey 9cfa9ba6b0
Fix pre-initialization UI error state capture (#20529)
In the case where an error is thrown in the UI before initialization
has finished, we aren't capturing the application state correctly for
Sentry errors. We had a test case for this, but the test case was
broken due to a mistake in how the `network-store` was setup (it was
not matching the behavior of the real `local-tstore` module).

The pre-initialization state capture logic was updated to rely solely
upon the `localStore` instance used by Sentry to determine whether the
user had opted-in to metrics or not. This simplifies the logic a great
deal, removing the need for the `getMostRecentPersistedState` state
hook. It also ensures that state is captured corretly pre-
initialization in both the background and UI.
2023-08-18 16:32:28 -02:30
..
_locales Fix Typo in en.json (#20429) 2023-08-16 15:36:33 -02:30
build-types [MMI] Fix element UI in MMI (#20176) 2023-07-26 11:51:11 +02:00
fonts UI-14395: typography v2 (#15408) 2022-08-18 10:51:53 -07:00
images Whats new blockaid popup (#20071) 2023-08-02 16:14:02 +01:00
manifest Integrating ppom-validator with extension (#19511) 2023-07-12 19:50:55 +05:30
scripts Fix pre-initialization UI error state capture (#20529) 2023-08-18 16:32:28 -02:30
vendor/trezor Update postMessage structure for TrezorConnect 8 (#10192) 2021-01-21 11:12:54 -06:00
background.html Integrating snow into metamask (#15580) 2022-11-24 02:36:19 +02:00
home.html [MMI] Conditional change title in home if buildType is MMI (#17898) 2023-03-02 10:18:46 -06:00
loading.html refactor & change html pages 2019-05-04 18:57:19 +02:00
notification.html [MMI] Added custom title for institutional (#19844) 2023-06-30 15:53:55 +02:00
popup.html Integrating snow into metamask (#15580) 2022-11-24 02:36:19 +02:00
trezor-usb-permissions.html chore: Adjust trailing whitespace (#15636) 2022-08-24 14:11:49 -05:00