Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Patient Filter for Review Missed #7328

Merged
merged 20 commits into from
Apr 17, 2024

Conversation

jainvedant392
Copy link
Contributor

Proposed Changes

@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers

Merge Checklist

  • Add specs that demonstrate bug / test a new feature.
  • Update product documentation.
  • Ensure that UI text is kept in I18n files.
  • Prep screenshot or demo video for changelog entry, and attach it to issue.
  • Request for Peer Reviews
  • Completion of QA

@jainvedant392 jainvedant392 requested a review from a team as a code owner March 3, 2024 13:39
Copy link

vercel bot commented Mar 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 12, 2024 2:19pm

Copy link

netlify bot commented Mar 3, 2024

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 0c10474
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/661e4fa8a7126e00080984cc
😎 Deploy Preview https://deploy-preview-7328--care-egov-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

package.json Outdated
@@ -128,6 +128,7 @@
"autoprefixer": "^10.4.14",
"cypress": "^13.5.0",
"cypress-localstorage-commands": "^2.2.3",
"dotenv": "^16.4.5",
Copy link
Member

Choose a reason for hiding this comment

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

Why was this added? Context?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually, I don't know why using env variables wasn't working in vite.config.mts, when I used "import 'dotenv/config'", it worked. That's the reason.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that was onw of the reasons why I was unable to connect to the local care backend.

Copy link
Member

Choose a reason for hiding this comment

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

We are using direnv in this repository to load environment variables as configured here

Copy link
Member

Choose a reason for hiding this comment

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

You could also connect to your local backend using:

CARE_API=https://127.0.0.1:8000/ bun run dev

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also, after removing dotenv, when I am using process.env.CARE_API, in vite.config.mts, its not working, but working when I am explicitly mentioning https://127.0.0.1:9000/.

Copy link
Member

Choose a reason for hiding this comment

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

CARE_API=127.0.0.1:9000 bun run dev I added the above line in my .env, but unable to connect to the local backend which is running at http://localhost:9000.

You shouldn't add that to the .env
Instead use that to run in the terminal directly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, if that's the thing, will try to do it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hey, I have pushed some changes, could you please review them and suggest if any modification is required.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also all the tests are now passing successfully.

@github-actions github-actions bot added the merge conflict pull requests with merge conflict label Mar 4, 2024
Copy link

github-actions bot commented Mar 4, 2024

👋 Hi, @jainvedant392,
Conflicts have been detected against the base branch. Please rebase your branch against the base branch.


This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there.

Copy link
Member

@rithviknishad rithviknishad left a comment

Choose a reason for hiding this comment

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

Other than @Ashesh3 's comments, LGTM

@github-actions github-actions bot removed the merge conflict pull requests with merge conflict label Mar 4, 2024
@jainvedant392
Copy link
Contributor Author

Hey @rithviknishad, friendly reminder.

@rithviknishad
Copy link
Member

@jainvedant392 ensure checks are passing. Cypress tests and Lint checks are failing.

@jainvedant392
Copy link
Contributor Author

@jainvedant392 ensure checks are passing. Cypress tests and Lint checks are failing.

Yeah I will check for that. Can you help me on how to ensure these checks are running successfully?

@Ashesh3
Copy link
Member

Ashesh3 commented Mar 8, 2024

Seems like all checks are passing - LGTM

@jainvedant392
Copy link
Contributor Author

Hey @rithviknishad, I have written the test for this filter in the backend PR.

@nihal467
Copy link
Member

@rithviknishad is it good for testing

@nihal467
Copy link
Member

LGTM

@nihal467 nihal467 added tested reviewed reviewed by a core member and removed needs testing labels Apr 16, 2024
@khavinshankar khavinshankar merged commit 821cf2a into ohcnetwork:develop Apr 17, 2024
27 of 29 checks passed
Copy link

@jainvedant392 Your efforts have helped advance digital healthcare and TeleICU systems. 🚀 Thank you for taking the time out to make CARE better. We hope you continue to innovate and contribute; your impact is immense! 🙌

@jainvedant392 jainvedant392 deleted the issue6745 branch April 17, 2024 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reviewed reviewed by a core member tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Patient Advanced Filter: filter by review missed
5 participants