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

New edit flow #1774

Merged
merged 13 commits into from
Nov 22, 2022
Merged

New edit flow #1774

merged 13 commits into from
Nov 22, 2022

Conversation

thomasrogerlux
Copy link
Contributor

@thomasrogerlux thomasrogerlux commented Nov 9, 2022

πŸ“ Description

Rework the custom edit flow. For more information see the proper Slack channels.

❓ Context

  • Impacted projects: ledger-live-mobile
  • Linked resource(s): FAT-600, FAT-605

βœ… Checklist

  • Test coverage: no UI testing on mobile yet
  • Atomic delivery
  • No breaking changes

πŸ“Έ Demo

N/A, see slack channels

πŸš€ Expectations to reach

Please make sure you follow these Important Steps.

Pull Requests must pass the CI and be internally validated in order to be merged.

@vercel
Copy link

vercel bot commented Nov 9, 2022

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated
live-common-tools βœ… Ready (Inspect) Visit Preview Nov 22, 2022 at 10:04AM (UTC)
3 Ignored Deployments
Name Status Preview Updated
ledger-live-github-bot ⬜️ Ignored (Inspect) Nov 22, 2022 at 10:04AM (UTC)
native-ui-storybook ⬜️ Ignored (Inspect) Nov 22, 2022 at 10:04AM (UTC)
react-ui-storybook ⬜️ Ignored (Inspect) Nov 22, 2022 at 10:04AM (UTC)

@changeset-bot
Copy link

changeset-bot bot commented Nov 9, 2022

πŸ¦‹ Changeset detected

Latest commit: fc70950

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
live-mobile Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link

github-actions bot commented Nov 9, 2022

@ofreyssinet-ledger

Screenshots: βœ…

There are no changes in the screenshots for this PR. If this is expected, you are good to go.

@codecov
Copy link

codecov bot commented Nov 15, 2022

Codecov Report

Base: 47.83% // Head: 63.15% // Increases project coverage by +15.31% πŸŽ‰

Coverage data is based on head (b852dfe) compared to base (d10c727).
Patch has no changes to coverable lines.

❗ Current head b852dfe differs from pull request most recent head fc70950. Consider uploading reports for the commit fc70950 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #1774       +/-   ##
============================================
+ Coverage    47.83%   63.15%   +15.31%     
============================================
  Files          704        1      -703     
  Lines        30822       57    -30765     
  Branches      8129        7     -8122     
============================================
- Hits         14745       36    -14709     
+ Misses       14846       18    -14828     
+ Partials      1231        3     -1228     
Flag Coverage Ξ”
test 63.15% <ΓΈ> (+15.31%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Ξ”
libs/ledgerjs/packages/hw-app-trx/src/Trx.ts
libs/ledger-live-common/src/network.ts
...-live-common/src/hw/getGenuineCheckFromDeviceId.ts
...mmon/src/families/tezos/deviceTransactionConfig.ts
...live-common/src/families/polkadot/hw-getAddress.ts
...ve-common/src/families/crypto_org/serialization.ts
...ledger-live-common/src/families/osmosis/account.ts
...er-live-common/src/families/polkadot/validators.ts
...er-live-common/src/families/solana/js-broadcast.ts
...ger-live-common/src/migrations/accounts-dataset.ts
... and 693 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

β˜” View full report at Codecov.
πŸ“’ Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@ofreyssinet-ledger ofreyssinet-ledger left a comment

Choose a reason for hiding this comment

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

Great job!

Just one thing: it would be great to remove any processing logic from PreviewPostEdit as it's already happening in the previous screen Step2Preview.
It would be much simpler in my opinion. Basically you have to revert some of the changes you did in Step2Preview and just pass the ProcessorRawResult to PreviewPostEdit.

@thomasrogerlux thomasrogerlux force-pushed the feat/FAT-600-new-edit-flow branch from 0a7d3ea to f74aed6 Compare November 21, 2022 15:49
Copy link
Contributor

@ofreyssinet-ledger ofreyssinet-ledger left a comment

Choose a reason for hiding this comment

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

nice! good job

@thomasrogerlux thomasrogerlux merged commit 033cfa3 into develop Nov 22, 2022
@thomasrogerlux thomasrogerlux deleted the feat/FAT-600-new-edit-flow branch November 22, 2022 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Has changes in LLM translations Translation files have been touched
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants