Comments (10)
I'll check it out.
from webmarks.
Thanks for your request, Ben! Are you talking about mobile or desktop usage? I'm not a fan of JavaScript getting in the way of standard UI behavior, so on desktop I'd prefer to have the user select the text themselves in case they want to replace it.
However, on mobile it's not so easy to select text, so the usual way to ease clearing of search fields is a delete (x) button on the right hand side. I think this could be useful for sure.
from webmarks.
Thank you for your answer Sebastian !
I'm talking about desktop usage :)
This request follows #46 where search field is now re-focused after something has been clicked.
This of course improves user experience, speeds up Webmarks usage.
I then think it could even be better if, when there is some text inside the search field, in addition for the field to be focused, the text could also be selected.
So that the user can type something new without having to first clear the field.
Of course I think this requires some JS (select()
function I think).
from webmarks.
Some news regarding this ? :)
Many thanks !
from webmarks.
No news. Last thing I did was updating the underlying framework and all code. I'll have a go at this one next.
from webmarks.
OK, thank you Sebastian 👍
from webmarks.
I just deployed a new version, which shows a button for clearing the search field when it contains text. This should solve it nicely on both mobile and desktop. (It will also keep/re-set the focus on the field when clicking it.)
I also improved the layout of the search field a little bit.
from webmarks.
Thank you Sebastian 👍
Use case was also the following : you search for a bookmark, click on it, read this new opened page.
You come back to Webmarks and want to search for another bookmark.
It would then be nice for the previous searched text to be selected, so that you can enter new text directly without having to click / select or whatever.
Do you then see why I would have liked the text to be selected ?
from webmarks.
I understand the use case, but I don't think selecting text is the best way to go here in regards to balancing various different use cases. The field already has focus, so in order to select the text before typing more, you could just press CTRL+A for example. But you could also decide to add more text to the search phrase.
I'm open to check out any pull requests changing this behavior, but I'll leave it like this for now. It's very similar to almost every search field on the Web, but with the added auto-focus when coming back.
from webmarks.
Understood, thank you for your feedback Sebastian 👍
from webmarks.
Related Issues (20)
- Import from other places HOT 2
- No CORS info in Apache 304 responses HOT 3
- Improve rendering performance for large bookmark collections HOT 1
- Add general info page to app HOT 1
- Move repo to Gitea HOT 1
- Error when trying to save bookmark via bookmarklet HOT 1
- Debounce search input processing
- Translate to more languages HOT 8
- When updating a URL, delete the existing RS document HOT 1
- Getting error when trying to connect Dropbox or GDrive HOT 3
- Add missing translations
- Add all supported languages to the Web App Manifest
- Google Drive integration throws error on overview page HOT 11
- Dropbox: support for "App folder" access HOT 1
- Tags/Folders HOT 2
- Delete button hidden by widget when disconnected
- [Question] How do you export Bookmarks? HOT 4
- Change Google Drive OAuth scope to app folder
- Infinite-scrolling pagination doesn't work immediately after initial sync of more than one page of items HOT 1
- Google Drive error: "This app is blocked" HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webmarks.