ryanmio / PumpkinPal

An open-source companion app for pumpkin growers
https://pumpkinpal.app/
3 stars 0 forks source link

Use Descriptive Placeholder or Tooltip in Search Box in Search.js #126

Open ryanmio opened 1 year ago

ryanmio commented 1 year ago

Component to Edit:

Reason for Change:

Recommended Change:

Helpful Information:

ryanmio commented 1 year ago

Good Idea: Enhances UX by guiding users, reduces cognitive load.

Implementation Tips:

// Example: More descriptive placeholder
<SearchBox
  onSearchChange={handleSearch}
  placeholder="Search for growers, pumpkins, or sites by name, location, etc."
  // ...
/>
// Example: Tooltip (pseudo-code)
<Tooltip content="Search by name, location, etc.">
  <SearchBox
    // ...
  />
</Tooltip>

The more descriptive the guide, the better the user engagement and satisfaction.