UMB-CS-682-Team-03 / tracker

0 stars 0 forks source link

Fix counter when there are no results #48

Closed rouilj closed 5 months ago

rouilj commented 6 months ago

If I open the classhelper for superseder and choose a keyword that no issue uses I see the following:

image

This should probably be '0 - 0' not '1 - 0'.

Fixing this to show 0 - 0 (which does not need translation) or "no issues found" (which should be eligible for translation) when on page 1 and there is nothing to show will complete the issue.


This is a case of an empty state.

See:

for more info. If we had more time, I would brainstorm with you as to how we could better inform the user. E.G. have the selection pane show the statement:

There are no issues using the keyword 'hey'. Change your search inputs and search again.

but for now we will just follow roundup's default with an empty 'empty state'.

patel-malav commented 5 months ago

Commit - d4a0c0a2fc50115b95d2b5bf708fd82dbfe953bc

addresses this issue