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

Add custom text input widget with cursor, to use in search page #329

Merged
merged 4 commits into from
Jan 16, 2024

Conversation

micleo2
Copy link
Contributor

@micleo2 micleo2 commented Jan 5, 2024

I found using the search bar to be a confusing experience without a cursor. This adds a very simple implementation. You can type, delete with backspace, and navigate with left/right arrows. This can be easily extended in the future to support some basic Emacs-style navigation: by word, end of line etc.

Short video containing usage:
https://github.com/aome510/spotify-player/assets/12721457/5a342c28-d447-4696-ac48-e3d4f0b283bc

Copy link
Owner

@aome510 aome510 left a comment

Choose a reason for hiding this comment

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

Thank you for the PR. Look great!

Sorry for the late review, I can only have a chance to look into it after my vacation. I also push a small commit to cleanup a few things.

@aome510 aome510 merged commit 2460425 into aome510:master Jan 16, 2024
3 checks passed
@micleo2 micleo2 deleted the cursor-search-input branch February 3, 2024 07:51
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.

None yet

2 participants