Skip to content
Snippets Groups Projects

no-search-result

Merged schneider210 requested to merge issue/#67-no-search-result into develop

This MR is about the fix of having an error message displayed by default (without firing a query).

Additionally

  • the message contains the search term entered
  • message appears if you enter whitespace only or if you fire an empty request
  • pagination only shows up, when the amount of hits exceeds the size defined (20+)

How to test:

1) Prerequisites

  • git checkout issue/#67-no-search-result
  • npm run dev (if it doesn't already)
  • point your browser to http://localhost:8080 (or whichever port your runtime env suggests)

2) Test it by:

  • click on the search btn located at the top bar

expected: => a clean search page should show up without any error message / alert shown anymore

  • enter a nonsense search term like abc into the input field

expected: => an error messages is displayed containing the search term you recently entered (there aren't any matches)

  • enter an arabic search term, e.g. سرحادوم

expexted => you should see the ususal result of hits without any error message

Closes #67 (closed)

Edited by schneider210

Merge request reports

Pipeline #220080 passed

Pipeline passed for 561e8621 on issue/#67-no-search-result

Deployed to issue--67-no-‎search-result‎ 3 years ago

Merged by schneider210schneider210 3 years ago (Aug 12, 2021 1:30pm UTC)

Loading

Pipeline #220082 passed

Pipeline passed for 15e4c8ad on develop

Deployed to ma‎in‎ 3 years ago
Deployed to dev‎elop‎ 3 years ago

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading