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

UI4: Modal Post-Migration Fixes #4718

Merged
merged 14 commits into from
Jan 18, 2024
Merged

UI4: Modal Post-Migration Fixes #4718

merged 14 commits into from
Jan 18, 2024

Commits on Jan 18, 2024

  1. Fix ModalUi4 styling

    - Fix blur positioning for fullscreen modals
    - Remove extra view for rounding BlurView bounds
    - Remove extra view around non-scrolling children. This allows `flex: 1` children without a modal-wide scroll to work as they did before.
    - Move title handling into the modal itself.
    Jon-edge committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    b83fa33 View commit details
    Browse the repository at this point in the history
  2. Partially "nuggetize" ModalParts

    This is an interim quick fix before we just fully remove dependencies on ModalParts.
    There's no need to retain anything from ModalParts anymore once fully migrated to UI4 - they weren't really doing anything special to begin with.
    Jon-edge committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    c4a268c View commit details
    Browse the repository at this point in the history
  3. Fix ButtonsModal buttons

    Quick hack fix to kind of obtain the result of ButtonsViewUi4 with consistent button widths.
    An additional audit will need to be performed to determine which buttons should be primary/secondary/tertiary before we can migrate them to ButtonsViewUi4 and enforce our rule of not having multiple buttons of the same type in a column layout.
    Jon-edge committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    1e22115 View commit details
    Browse the repository at this point in the history
  4. Pull ModalTitle into the title prop of Ui4

    Some modals have inconsistent centered titles and this change unifies them all.
    Making this change will allow us to easily center all titles later if that's what we prefer.
    Jon-edge committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    e33c647 View commit details
    Browse the repository at this point in the history
  5. Restyle FlipInputModal2

    Needs a redesign. We have a bunch of empty title space here, and at the same time we can't push the FlipInput card all the way up there because then the X button would have weird alignment over the inner FlipInput card
    Jon-edge committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    9091469 View commit details
    Browse the repository at this point in the history
  6. Restyle WalletListMenuModal

    Jon-edge committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    b73cb15 View commit details
    Browse the repository at this point in the history
  7. Restyle ConfirmContinueModal

    Jon-edge committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    f0285fe View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    49c3a2c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6795cc4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    beb9473 View commit details
    Browse the repository at this point in the history
  11. Restyle WalletListModal

    Jon-edge committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    dfbd08b View commit details
    Browse the repository at this point in the history
  12. Update InputTesterScene

    - Use more UI4
    - Add modal tests
    Jon-edge committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    17b4100 View commit details
    Browse the repository at this point in the history
  13. Restyle HelpModal

    Jon-edge committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    4bca52f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    28f261c View commit details
    Browse the repository at this point in the history