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

Refactoring and Stax UX revamp #270

Merged
merged 25 commits into from
Jul 12, 2024
Merged

Refactoring and Stax UX revamp #270

merged 25 commits into from
Jul 12, 2024

Commits on Jul 2, 2024

  1. Split process_outputs into two separate preprocess_outputs and displa…

    …y_external_outputs functions
    bigspider committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    7e4acf4 View commit details
    Browse the repository at this point in the history
  2. Add simplified transaction validation on devices with a large screen …

    …using NBGL.
    
    If a transaction has only a single non-change output, then we can fit the
    "Amount", "To" and "Fees" fields in a single screen.
    bigspider committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    721ec16 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Simplify and refactor swap code.

    By caching the first few external outputs during output preprocessing, we can greatly
    simplify the handling of the swap-related code, and the simplified UX for a single
    external output.
    
    This also allows to move all the swap-related checks in a single function.
    Finally, by moving all the checks not related to user approval out of show_alerts
    and display_output, we can omit calling these functions at all during swaps.
    bigspider committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    e2a1e18 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ccbf62 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    705f4d2 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Configuration menu
    Copy the full SHA
    6c2be42 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Update self-transfer screen; support self-transfers in the simplified…

    … transaction flow on flex/stax
    bigspider committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    d239361 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Updated sign_psbt tests to reflect the new UX.

    Various simplifications in the code to generate the ragger instructions.
    bigspider committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    aff17b2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d754f7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    622b04e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bb59e60 View commit details
    Browse the repository at this point in the history
  5. Show the 'Processing...' spinner immediately when signing starts, ins…

    …tead of waiting for the timeout
    bigspider committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    81f6efd View commit details
    Browse the repository at this point in the history
  6. Remove obsolete code

    bigspider committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    c0ffdb6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a03429b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    128786b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    783aa15 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    67f4135 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4023ff8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4b1f0e0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1852840 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Configuration menu
    Copy the full SHA
    13cca55 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9c355d View commit details
    Browse the repository at this point in the history
  3. Update address verification flow to use the standard NBGL api; switch…

    … remaining flows to use 'accounts' instead of 'wallet policy'
    bigspider committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    0886412 View commit details
    Browse the repository at this point in the history
  4. Update ragger snapshots

    bigspider committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    a314da7 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Update Stax snapshots to API level 21

    Minor adjustments needed in some tests as the page splitting changed.
    bigspider committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    40c3623 View commit details
    Browse the repository at this point in the history