Skip to content
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

chore(IT Wallet): [SIW-1964] Add failure screen for missing credentials in presentation #6702

Merged
merged 9 commits into from
Feb 13, 2025

Conversation

gispada
Copy link
Collaborator

@gispada gispada commented Feb 11, 2025

Warning

Depends on #6694

Short description

This PR adds a failure screen for missing credentials in the remote presentation flow. Note that since the presentation flow is still a work in progress, the screen is not fully implemented.

List of changes proposed in this pull request

  • Improved typing of failure reasons
  • Added a case for missing credentials

How to test

Currently the only way to test the screen is to mock it, forcing the MISSING_CREDENTIALS failure.

Copy link
Contributor

PR Title Validation for conventional commit type

All good! PR title follows the conventional commit type.

Copy link
Contributor

github-actions bot commented Feb 11, 2025

Jira Pull Request Link

This Pull Request refers to Jira issues:

Copy link

codecov bot commented Feb 11, 2025

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 50.00%. Comparing base (20d6906) to head (935be1a).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...entation/remote/screens/ItwRemoteFailureScreen.tsx 0.00% 6 Missing ⚠️
...res/itwallet/presentation/remote/machine/guards.ts 0.00% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6702      +/-   ##
==========================================
- Coverage   50.01%   50.00%   -0.02%     
==========================================
  Files        1557     1557              
  Lines       32438    32445       +7     
  Branches     7345     7295      -50     
==========================================
  Hits        16223    16223              
- Misses      16163    16183      +20     
+ Partials       52       39      -13     
Files with missing lines Coverage Δ
...es/itwallet/presentation/remote/machine/failure.ts 20.00% <ø> (ø)
...es/itwallet/presentation/remote/machine/machine.ts 60.00% <ø> (ø)
...res/itwallet/presentation/remote/machine/guards.ts 20.00% <0.00%> (-5.00%) ⬇️
...entation/remote/screens/ItwRemoteFailureScreen.tsx 7.69% <0.00%> (-2.31%) ⬇️

... and 13 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ddffe88...935be1a. Read the comment docs.

Copy link
Collaborator

@RiccardoMolinari95 RiccardoMolinari95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@mastro993 mastro993 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Base automatically changed from SIW-1962-remote-presentation-check-wi to master February 12, 2025 12:24
Copy link

dpulls bot commented Feb 12, 2025

🎉 All dependencies have been resolved !

@gispada gispada added this pull request to the merge queue Feb 13, 2025
github-merge-queue bot pushed a commit that referenced this pull request Feb 13, 2025
…ls in presentation (#6702)

> [!WARNING]
> Depends on #6694

## Short description
This PR adds a failure screen for missing credentials in the remote
presentation flow. Note that since the presentation flow is still a work
in progress, the screen is not fully implemented.

## List of changes proposed in this pull request
- Improved typing of failure reasons
- Added a case for missing credentials

## How to test
Currently the only way to test the screen is to mock it, forcing the
`MISSING_CREDENTIALS` failure.

---------

Co-authored-by: RiccardoMolinari95 <[email protected]>
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 13, 2025
@gispada gispada added this pull request to the merge queue Feb 13, 2025
Merged via the queue into master with commit c89685c Feb 13, 2025
22 checks passed
@gispada gispada deleted the SIW-1964-missing-credential-screen branch February 13, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants