Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

feat(incidents): filter incidents #2087

Merged
merged 9 commits into from
May 20, 2020
Merged

feat(incidents): filter incidents #2087

merged 9 commits into from
May 20, 2020

Conversation

marcosvega91
Copy link
Contributor

Add a filter in the incidents page.
Now the possibile filters are only two

  1. reported
  2. all

By default the list is filtered by reported status

fix #2084

Changes proposed in this pull request:

  • replace find method with search
  • add filter in the page
  • update tests

Add a filter in the incidents page. Now the possibile filters are only two 'reported' and 'all'. By
default the list is filtered by reported status

fix #2084
@vercel
Copy link

vercel bot commented May 17, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/hospitalrun/hospitalrun-frontend/czxo6pqeo
✅ Preview: https://hospitalrun-front-git-fork-marcosvega91-feature-filterin-87c27e.hospitalrun.now.sh

@gitpod-io
Copy link

gitpod-io bot commented May 17, 2020

Copy link
Member

@jackcmeyer jackcmeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marcorosas1991 I've requested a few changes! Let me know if you have any questions

src/clients/db/IncidentRepository.ts Outdated Show resolved Hide resolved
src/incidents/incidents-slice.ts Outdated Show resolved Hide resolved
src/incidents/incidents-slice.ts Outdated Show resolved Hide resolved
src/incidents/list/ViewIncidents.tsx Outdated Show resolved Hide resolved
src/clients/db/IncidentRepository.ts Outdated Show resolved Hide resolved
@matteovivona matteovivona changed the title feat(viewincidents): filter incidents feat(incidents): filter incidents May 17, 2020
@jackcmeyer jackcmeyer added incidents 🚀enhancement an issue/pull request that adds a feature to the application labels May 20, 2020
@jackcmeyer jackcmeyer added this to the v2.0 milestone May 20, 2020
@jackcmeyer jackcmeyer merged commit 5309a85 into HospitalRun:master May 20, 2020
@marcosvega91 marcosvega91 deleted the feature/filter_incidents branch May 20, 2020 08:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🚀enhancement an issue/pull request that adds a feature to the application incidents
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filter incidents by status
2 participants