Content
View differences
Updated by Judith Roth 18 days ago
**As** a user who wants to insert a work package link in a document
**I want to** get feedback while we are waiting for the network or when no results are found
**so that** I don't have to guess if it is still searching or not
**Acceptance criteria**
* When searching for a work package a spinner is shown until the results are there
* When searching via slash command: Spinner appears at the right end of the input field
* When searching via hash: Spinner appears at the right end of the "Type to search work packages" message box
* When no results are found, we show "No results" work packages to display" (inside or instead of the search result dropdown - not selectable of course)
* When there is a network error we show "Error. Please try again" (inside or instead of the search result dropdown - not selectable of course)
**Technical notes**
* If possible, we should use the same spinner as Primer does (and we should use the same spinner everywhere where we need one - if necessary, align other places)
**Permissions and visibility considerations**
* _To whom is this feature visible?_
* _When is it not visible?_
**Translation considerations**
* _Key terms and phrases in the key languages_
**Out of scope**
* <br>
_Set the_ **To be informed/consulted teams** _field to include all teams necessary to be informed of the changes._
**I want to** get feedback while we are waiting for the network or when no results are found
**so that** I don't have to guess if it is still searching or not
**Acceptance criteria**
* When searching for a work package a spinner is shown until the results are there
* When searching via slash command: Spinner appears at the right end of the input field
* When searching via hash: Spinner appears at the right end of the "Type to search work packages" message box
* When no results are found, we show "No results"
* When there is a network error we show "Error. Please try again" (inside or instead of the search result dropdown - not selectable of course)
**Technical notes**
* If possible, we should use the same spinner as Primer does (and we should use the same spinner everywhere where we need one - if necessary, align other places)
**Permissions and visibility considerations**
* _To whom is this feature visible?_
* _When is it not visible?_
**Translation considerations**
* _Key terms and phrases in the key languages_
**Out of scope**
* <br>
_Set the_ **To be informed/consulted teams** _field to include all teams necessary to be informed of the changes._