Skip to content

Add lock input feedback#6137

Open
FilipHarald wants to merge 1 commit into
basecamp:quattrofrom
FilipHarald:filip/quickshell-lock-input-feedback
Open

Add lock input feedback#6137
FilipHarald wants to merge 1 commit into
basecamp:quattrofrom
FilipHarald:filip/quickshell-lock-input-feedback

Conversation

@FilipHarald

Copy link
Copy Markdown

Adds animation so that long passwords still gives visual feedback on inputs. Also did a PR to hyprlock in #6131 . This one is unfortunately a little bit more imposing. I found it easier to scale the border than animate the chars. Happy for feedback!

Also started discussion here: #6130

20260625_155223.mp4

Copilot AI review requested due to automatic review settings June 25, 2026 13:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds visual input feedback to the lock screen password field by pulsing the input border on each password edit, improving usability for long passwords where dot animations are less effective.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Changes:

  • Pulse the lock input field border when passwordText changes (non-empty).
  • Dynamically adjust BorderSurface.borderSpec during the pulse animation.

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

Comment on lines +118 to +120
borderSpec: root.inputBorderPulseWidth > 0 && !root.errorState
? Border.surfaceSpec("lock", "border-active", Color.lock.borderActive, root.outlineThickness + root.inputBorderPulseWidth, "border-alpha")
: root.inputBorderSpec
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