Skip to content

Conversation

@ovitrif
Copy link
Collaborator

@ovitrif ovitrif commented Aug 4, 2025

This PR adds fixes and polishing for bottom sheets.

Description

  • fix: boost sheet size and spacing
  • refactor: restructure & reorg all sheets
  • fix: backup intro transition to next screen
  • fix: show content behind the new transaction sheet
  • fix: sheets sizing
  • fix: disable calendar buttons if no date is selected
  • fix: bottom sheet previews
  • fix: bitcoin value formatting in previews
  • fix: ActivityAddTagSheet input style and focus on show
  • fix: focus input when entering send address screen
  • fix: ellipsize sheet title text overflow
  • refactor: add and use reusable BottomSheet component

Preview

sheetSizes.mp4

QA Notes

Test all sheets:

  • Large sheets: send, receive, new transaction
  • Medium sheets: backup, pin, lnurl auth
  • Small Sheets: activity add tag, activity filter by tags, boost
  • Calendar sheet: activity filter by date

@ovitrif ovitrif self-assigned this Aug 4, 2025
@ovitrif ovitrif marked this pull request as ready for review August 4, 2025 22:25
@ovitrif ovitrif requested a review from jvsena42 August 4, 2025 22:25
@ovitrif ovitrif enabled auto-merge August 4, 2025 22:27
@ovitrif ovitrif marked this pull request as draft August 5, 2025 08:17
auto-merge was automatically disabled August 5, 2025 08:17

Pull request was converted to draft

@ovitrif
Copy link
Collaborator Author

ovitrif commented Aug 5, 2025

Nice work!

Tested on a Mi A2 Android 10

Refactored yet again 🙈 , probably needs new testing.
Didn't change almost nothing new functionally with the last push, but the refactor updated code for all sheets.

@ovitrif ovitrif marked this pull request as ready for review August 5, 2025 11:45
@ovitrif ovitrif requested a review from jvsena42 August 5, 2025 11:45
@jvsena42
Copy link
Member

jvsena42 commented Aug 5, 2025

Nice work!
Tested on a Mi A2 Android 10

Refactored yet again 🙈 , probably needs new testing. Didn't change almost nothing new functionally with the last push, but the refactor updated code for all sheets.

No problem

@ovitrif
Copy link
Collaborator Author

ovitrif commented Aug 5, 2025

Refactored yet again 🙈 , probably needs new testing. Didn't change almost nothing new functionally with the last push, but the refactor updated code for all sheets.

No problem

Feel free to review & retest, but please don't merge yet, I also want to fix the size for the boost sheet, it should use the Small size preset.
That change would not require retesting of other sheets.

jvsena42
jvsena42 previously approved these changes Aug 5, 2025
@ovitrif
Copy link
Collaborator Author

ovitrif commented Aug 5, 2025

@jvsena42 Updated the boost sheet as well, ready for review of that part and merging 🙏🏻

@ovitrif ovitrif enabled auto-merge August 5, 2025 12:56
@jvsena42
Copy link
Member

jvsena42 commented Aug 5, 2025

Testing...

Copy link
Member

Choose a reason for hiding this comment

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

Tested in Mi A2

The space between the text and the swipe looks too big compared to figma, probably because of the sheet height. I'm not sure if it should be fixed or adaptive with a maximum value.

This could be adjusted in another branch if necessary

image

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I noticed, went with choosing to make it look close to the RN version, instead of creating a separate size for this sheet.

It needed fixed sizing though, as the sheet was changing height depending on user interaction.

Can always improve later 👍🏻

@ovitrif ovitrif merged commit e711bd3 into master Aug 5, 2025
5 checks passed
@ovitrif ovitrif deleted the feat/sheets-polish branch August 5, 2025 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants