Skip to content

fix: 🐛 Update login flow to use display and wait for PIN verification#16

Merged
highesttt merged 2 commits into
mainfrom
15-bug-change-the-inputdatafield-for-the-pin-to-a-displayandwait
Jan 16, 2026
Merged

fix: 🐛 Update login flow to use display and wait for PIN verification#16
highesttt merged 2 commits into
mainfrom
15-bug-change-the-inputdatafield-for-the-pin-to-a-displayandwait

Conversation

@highesttt

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the LINE bridge login flow to use the LoginProcessDisplayAndWait interface instead of the previous UserInput approach for PIN verification steps. This improves the user experience by providing automatic polling and continuation rather than requiring manual button clicks.

Changes:

  • Refactored PIN verification to use DisplayAndWait login step type with automatic polling
  • Added Wait() method implementing the LoginProcessDisplayAndWait interface
  • Extracted common login response handling into a new handleLoginResponse() method
  • Updated README with clarification on configuration and additional login methods via Beeper Desktop

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
pkg/connector/connector.go Implements LoginProcessDisplayAndWait interface, adds Wait() and handleLoginResponse() methods, updates PIN verification flow to use display-and-wait pattern
README.md Adds default value for public_address configuration and documents alternative login method via Beeper Desktop Settings

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkg/connector/connector.go Outdated
Comment thread pkg/connector/connector.go
@highesttt highesttt merged commit e26cf95 into main Jan 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

bug: 🐛 Change the InputDataField for the PIN to a DisplayAndWait

2 participants