bcgov / nr-compliance-enforcement

A scalable solution that manages public complaints as well as investigative case files for multiple Compliance and Enforcement divisions across the natural resource sector.
Apache License 2.0
3 stars 2 forks source link

chore: CE-749 Display message to user to remove filters when no complaints are found #716

Closed joshgamache closed 1 month ago

joshgamache commented 1 month ago

Addresses CE-749. Adds information to adjust filters when no complaints return.

Changes 🚧

How Has This Been Tested? 🔬

To test 🔬

  1. Run a local instance of the application, log in.
  2. On the complaints list page, add filters until no items return.
    • A message should display in the list view: "No complaints found using your current filters. Remove or change your filters to see complaints.".
  3. On the complaints map page, add filters until no items return.
    • A message should display in the alert box: "No complaints found using your current filters. Remove or change your filters to see complaints.".

Checklist 📃


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud