[issue2551236] Handle empty states in index view
John Rouillard <[email protected]> Tue, 01 Nov 2022 01:47:09 +0000
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
New submission from John Rouillard: It is possible for the index page for issues to return no data. Causes: * there are no issues * user has no access to issues that match search params * search params don't match anything Currently an empty table consisting of just a header row with no additional copy is produced. It would be nice to have this empty state handled better. See https://pencilandpaper.io/articles/empty-states specifically: https://pencilandpaper.io/articles/empty-states#no-search-results-pattern for example if there are no issues, Welcome the user to Roundup and provide a link to create an issue (and teach them that they can use the new issue link). If there is at least one issue and the user is not logged in, add note that the user may need to log in to have the search work. Alternatively tell the user that no issues (or other class) matched the search. Maybe recap what the search terms were and provide a link to edit the search. This probably needs a new template function "HandleEmptyState" as it would be done in a template, but we can reuse the template function in jinja and TAL and easily plug it into the index pages for the various tracker templates. ---------- components: Web interface messages: 7655 nosy: rouilj priority: normal severity: minor status: new title: Handle empty states in index view type: rfe _________________________________________________ Roundup tracker <[email protected]> <https://issues.roundup-tracker.org/issue2551236> _________________________________________________