Closed nick-livefront closed 14 hours ago
Attention: Patch coverage is 83.33333%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 33.44%. Comparing base (
2df8643
) to head (72ec9be
). Report is 41 commits behind head on main.
:white_check_mark: All tests successful. No failed tests found.
Files with missing lines | Patch % | Lines |
---|---|---|
apps/browser/src/platform/browser/browser-api.ts | 50.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
đ¨ Try these New Features:
Checkmarx One â Scan Summary & Details â 43062958-dc1d-4f5f-aa05-5d2bf1052f95
@jprusik @dani-garcia @gbubemismith I added a commit here to make rejecting on an error configurable. That way existing implementations that don't have error handling in place won't throw for uncaught errors.
đī¸ Tracking
PM-15065 Slack Discussion
đ Objective
When on a non-standard page or empty tab is focused when opening the extension, the vault was taking longer than expected to load. This was caused from a message never being received in the
collectPageDetailsFromTab$
observable.sendMessage
fails in Chrome and Firefox. That error was ignored in thetabSendMessage
, I now rejected the promise to surface the error.url
, I added a check for that as there wouldn't be autofill information (to my knowledge)Rejecting the promise
This approach falls in line with what is happening but it is also introducing a new set of logic where
tabSendMessage
is called. Scanning the codebase there are places that have error handling and some that do not. If there is a more idiomatic approach, let me know!đ¸ Screenshots
đĻŽ Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or âšī¸ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or đ (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or â ī¸ (:warning:
) for more significant problems or concerns needing attention:seedling:
) or âģī¸ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes