Link to the Figma prototype.
- When the user opens the dropdown: by default, recently viewed artifacts are displayed. The list of recent items is the same than in "Switch to" modal.
- Search behaviour is the same than in "Switch to" modal (the search backend will match on everything)
- When user starts typing, it starts filtering the recently viewed artifacts
- When more than 3 characters are typed, the search results are added in their own section. Only the first 50 results are fetched.
- When the typed value is an integer that matches an artifact id the user can see, there are 3 sections displayed:
- Matching artifact id
- Recently viewed
- Search results
- When there is no Search backend, only recently viewed artifacts are presented
- It's still possible to link with artifact ID (as of today)
- Status are displayed with their real color instead of green/grey for open/closed
For "Parent", there are no search nor recent items. There are only "possible parents" and "matching artifact id".
Modifications of search and history (recently viewed items):
- Add to search and history representations a
type
and per_type_id
keys (eg artifact
and 1234
that would match artifact #1234
).