(For context, I released Autocompeter.com last week and now I'm thinking about improvements)

I posted a question on Twitter about which highlighting formatting people prefer and got some interesting feedback. More about that later.

The piece of feedback that really got my attention came from my friend Honza Král.
He wondered if not the whole word should be highlighted instead of just the beginning of the word.

I've actually been thinking about that too but never got around to trying it out. Until now.

Before

Before

After

After

What do you think?

I have the code in a branch and I'm still mulling it over. There's sort of a convention to just highlight based on what you've typed so far. I don't want to be too weird because when people don't feel familiar they don't like what they see even if the new actually is better.

Comments

David MASSE

It's easier to get in the blink of an eye the world matching the search. It's a clever update.

Peter Bengtsson

Well thank you. I just pushed this branch into master yesterday.

Your email will never ever be published.

Previous:
gulp-header is the best! April 9, 2015 JavaScript
Next:
Benchmarking Autocompeter April 12, 2015 Go
Related by category:
How to SSG a Vite SPA April 26, 2025 JavaScript
Switching from Next.js to Vite + wouter July 28, 2023 JavaScript
An ideal pattern to combine React Router with TanStack Query November 18, 2024 JavaScript
get in JavaScript is the same as property in Python February 13, 2025 JavaScript
Related by keyword:
A quicksearch for Bugzilla using Autocompeter January 27, 2016 Python, Web development, Mozilla, JavaScript
Autocompeter is Dead. Long live Autocompeter! January 9, 2017 Python, Web development, Go
Autocompeter.com April 2, 2015 Go, JavaScript
How I installed letsencrypt for Nginx January 26, 2016 Linux, Web development