Menu
  • UX Trending
  • UX PODCASTS
    • DESIGN UNTANGLED
    • UX CAKE
  • UX Reading Room
  • UX Portfolio Building
  • UX JOBS
    • Atlanta
    • Dallas
    • Los Angeles
UXShareLab… everything you need to know about UX and more…
for the user experience design community

Search

Browse: Home   /   Natural-language query guide

Natural-language query guide

by UXStackExchange on February 10, 2018 in uxstackexchange

I am making a search which is really a thinly-veiled SQL query.

For example: "Cities where population is less than 1000".

  • Cities = type of object
  • where = signals condition
  • population = attribute
  • is less than = operator
  • 1000 = value

Because it's not true NLQ, it needs a guide to help the user enter in the proper syntax. I have imagined two ways of displaying that guide.

The first way puts the options on the right. Pros: Options always in the same place Cons: A lot of eye travel

enter image description here

The second way puts a prompt under where the user's text cursor is. Pros: Much less eye travel Cons: A large visual object is jumping around the screen. It might be obtrusive and annoying for people who have learned the syntax and rather look just at what they're typing. enter image description here

Which option is better? Is there a third option?

Tags: UX Stack Exchange

Sign Up for the latest in UX News...

Enter your email address to subscribe to UXShareLab and receive notifications of new posts by email.

Join 834 other subscribers

Related Posts

Open new window to manage customers in a desktop application?
Open new window to manage customers in a desktop application?
UX laptop on a budget [migrated]
UX laptop on a budget [migrated]
Create Business Cards as Unique as You with Print Peppermint Sponsored
Create Business Cards as Unique as You with Print Peppermint Sponsored
What are usability implications of using magic link/password-less only login for older users?
What are usability implications of using magic link/password-less only login for older users?

Natural-language query guide

by UXStackExchange on February 10, 2018 in uxstackexchange

I am making a search which is really a thinly-veiled SQL query.

For example: "Cities where population is less than 1000".

  • Cities = type of object
  • where = signals condition
  • population = attribute
  • is less than = operator
  • 1000 = value

Because it's not true NLQ, it needs a guide to help the user enter in the proper syntax. I have imagined two ways of displaying that guide.

The first way puts the options on the right. Pros: Options always in the same place Cons: A lot of eye travel

enter image description here

The second way puts a prompt under where the user's text cursor is. Pros: Much less eye travel Cons: A large visual object is jumping around the screen. It might be obtrusive and annoying for people who have learned the syntax and rather look just at what they're typing. enter image description here

Which option is better? Is there a third option?

Tags: UX Stack Exchange

Related Posts

The Impact of Voice in UX Design: And what to do about it
The Impact of Voice in UX Design: And what to do about it
What Should Happen When a WordPress Theme or Plugin License Expires?
What Should Happen When a WordPress Theme or Plugin License Expires?
Do we still need a Remember Me button on websites? Or can we rely on modern browsers to handle this?
Do we still need a Remember Me button on websites? Or can we rely on modern browsers to handle this?
User created an account using their phone number- how to ask for the user's email as well?
User created an account using their phone number- how to ask for the user’s email as well?
← User Experience (UX) Designer
task analysis in design thinking →

Topics

UX Rockstars uxstackexchange User Experience User Interaction user-behavior UX User testing Visual Design WordPress Gutenberg UX Jobs Los Angeles uxbooth Universal Design & Accessibility UX Design UI User Research Web Design WordPress Plugins wordpress web-app UX Jobs Atlanta UX Toolbox UX Jobs Dallas UX Jobs in Atlanta Usability UI design

Feeds

UI UI design Universal Design & Accessibility Usability user-behavior User Experience User Interaction User Research User testing UX uxbooth UX Design UX Jobs Atlanta UX Jobs Dallas UX Jobs in Atlanta UX Jobs Los Angeles UX Rockstars uxstackexchange UX Toolbox Visual Design web-app Web Design wordpress WordPress Gutenberg WordPress Plugins

<span>recent posts</span>

  • UX in 2018: The human element

    • Anywhere
  • Three Takeaways from the Hawai’i Missile False Alarm

    • Anywhere
  • UX in 2018: Content

    • Anywhere
  • UX in 2018: Design, Development, and Accessibility

    • Anywhere
  • The Power and Danger of Persuasive Design

    • Anywhere

connect to uxsharelab

Enter your email address to subscribe to receive notifications of new posts by email.

UXShareLab. Copyright © 2018. All rights reserved.

  • Contact UXShareLab
  • UXShareLab Community
  • UX PROCESS
  • Recommended Reading
  • UX StackExchange