Skip to content

[Refactor] Replace instructions_text with disappearing toast in ScanScreen#734

Closed
FazleRabbbiferdaus172 wants to merge 1 commit intoSeedSigner:devfrom
FazleRabbbiferdaus172:refactor/non_emulator/DisappearingToast_scanScreen
Closed

[Refactor] Replace instructions_text with disappearing toast in ScanScreen#734
FazleRabbbiferdaus172 wants to merge 1 commit intoSeedSigner:devfrom
FazleRabbbiferdaus172:refactor/non_emulator/DisappearingToast_scanScreen

Conversation

@FazleRabbbiferdaus172
Copy link
Contributor

@FazleRabbbiferdaus172 FazleRabbbiferdaus172 commented Apr 16, 2025

Description

This PR replaces the instruction text previously drawn directly onto the ScanScreen with a disappearing toast overlay. The change addresses the existing TODO comment in the codebase that suggested switching to a disappearing toast.

Include screenshots of any new or modified screens (or at least explain why they were omitted)
image

This pull request is categorized as a:

  • New feature
  • Bug fix
  • Code refactor
  • Documentation
  • Other

Checklist

  • I’ve run pytest and made sure all unit tests pass before sumbitting the PR

If you modified or added functionality/workflow, did you add new unit tests?

  • No, I’m a fool
  • Yes
  • N/A

I have tested this PR on the following platforms/os:

@FazleRabbbiferdaus172 FazleRabbbiferdaus172 force-pushed the refactor/non_emulator/DisappearingToast_scanScreen branch from 57bfffa to 024922f Compare July 26, 2025 15:17
@kdmukai
Copy link
Contributor

kdmukai commented Jul 29, 2025

The TODO comment you reference ends in a question mark and unfortunately in this case I'm not convinced it's the right way to go.

Once the message disappears, if you set the SeedSigner down, there's no longer any indication that it's still running:

PXL_20250729_212028469_edit.mp4

Whereas the current code would at least give some hint that the screen is still alive:

PXL_20250729_212127846 RAW-01 COVER


The UX for the toast needs work (the original tip on that screen was never ideal, but this presentation is worse):

PXL_20250729_212000416 RAW-01 COVER


But for now I'm a NACK on this change, mostly just due to the "it's not off but it looks like it's off" problem. For our security model, that's a pretty big potential mistake for a user to make.

@kdmukai kdmukai moved this from SoB Needs Code Review to SoB In Progress in @SeedSigner Development Board Jul 29, 2025
@FazleRabbbiferdaus172
Copy link
Contributor Author

should I close the pr?

@kdmukai
Copy link
Contributor

kdmukai commented Aug 27, 2025

should I close the pr?

I think so, yes.

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.

2 participants