Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Enhance routing error html page #14619
This PR improves two things on the routing error html page:
Implement fuzzy matching for route search on routing error html page
Usually, when I hit the routing error html page, I would try to use the search field to find the route,
So if I have the following routes, and I do a search for "profile", these routes wouldn't appear as results.
With the change, doing a search for "profiles" would return the above routes as results.
Improve CSS styling for routing error html page
Improve the CSS stylings for the routing error html page.
@carlosantoniodasilva Adding screenshots for before and after.
@schneems The list does gets shorter as the path gets more complete, i.e. original functionality is still retained. I hope the screenshots help to explain how it would work.
Table with odd even rows highlight
Fuzzy search (more)
hmm, so if you put in a route for
On Mon, Apr 7, 2014 at 9:57 PM, Winston email@example.com wrote:
Thanks! I'm really excited about this PR. Thank you for helping :)
On Wed, Apr 9, 2014 at 8:54 AM, Winston firstname.lastname@example.org wrote:
Added another commit to the PR which splits the results into 'exact matches' and 'fuzzy matches'. Screenshots below. Let me know what you think! Thank you!
Default look and feel.
Search that doesn't match anything.
No exact matches. Some fuzzy matches.
Some exact matches. Some fuzzy matches.
Some exact matches. No fuzzy matches.