Background goal
While working on T350037: ZObjectSelector: Pre-populate the results with most common objects when the selection type is Z60/Language or Z4/Type we learned that is currently not possible to open a menu when people focus the Lookup.
During research we learned that there's an educational opportunity to proactively display suggested or recommended results when people focus a lookup field (based on the current context).
In the specific case of Wikifunctions, when people focus a lookup field that is used for the input type of a function, we could open the menu with the most used types for function inputs.
User stories
add at least one user story
Design spec
Open questions
- Do we want to implement this as a base behavior for Lookup? - No, this will affect the Lookup just if an initial list of menu items is passed into the Lookup. In this case, it will open the menu on focus, and keep the menu open when the input is cleared.
Acceptance criteria (or Done)
Design
- Figma component:
- Update the Figma main component including this version with initial suggestions
- Include it as use case in the the Figma spec sheet
Code
- Implement this component's use case in Codex