creativecommons / creativecommons/cc-resource-archive

[Feature] display a message when no resources are found matching the filters

Open
#295 5 comments 0 reactions 0 assignees View on GitHub
✨ goal: improvement 🏁 status: ready for work 💻 aspect: code 🟩 priority: low
Dominant language
Dockerfile
Stars
66
Forks
137
PR merge metrics
No merged PRs in 30d

Description

## Problem
When a user selects various filters from `topic`, `medium` and `language`, there is a possibility that none of the resource match the selected combination of filters. In this case, the user can get confused as nothing shows up on the screen.

## Description

A text message should show up. which describes that no resources matched to the selected filters so the user knows it is not a problem in his machine that nothing is showing up.

## Additional context
For example, this combination of filters: [a website about licenses in arabic language](https://resources.creativecommons.org/all/?&topic=licenses&medium=website&language=ar)

## Implementation

- [x] I would be interested in implementing this feature.

Contributor guide

Open the contributing guide

Research direction

Start from the filtered resource listing shown by the example URL and trace how the topic, medium, and language filters produce the visible results. Reproduce a combination with no matches, then make the listing display a clear no-resources message instead of appearing empty.

Written by the indexing model from the issue text.

Assessment

Tech stack
jekyll
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.