•  
     
    story #24971 [modal] search for artifacts
Summary
Empty
[modal] search for artifacts
Empty

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:
      1. Matching artifact id
      2. Recently viewed
        • (with filtered results)
      3. Search results
        • (with 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).
Empty
Empty
Status
Trackers
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#24971
Manuel Vacelet (vaceletm)
2022-12-15 18:00
2022-01-04 17:45
3653

References

Follow-ups

User avatar
Joris MASSON (jmasson)2022-12-01 17:48

Only the first 50 results are fetched for fulltext search


  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
Joris MASSON (jmasson)2022-11-21 09:34

type_id is renamed per_type_id


  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
Joris MASSON (jmasson)2022-11-17 11:03

Contextual information on searched items is removed for now. We might add it after getting real usage feedback.


  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
Joris MASSON (jmasson)2022-11-15 15:10

History route must also be modified


  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
Joris MASSON (jmasson)2022-11-15 14:38
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes