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

Edited the nursing care section to a table under nursing tab of patient #8579

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Sahil-Sinha-11
Copy link

@Sahil-Sinha-11 Sahil-Sinha-11 commented Sep 21, 2024

Proposed Changes

@ohcnetwork/care-fe-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

@Sahil-Sinha-11 Sahil-Sinha-11 requested a review from a team as a code owner September 21, 2024 09:15
Copy link

netlify bot commented Sep 21, 2024

👷 Deploy request for care-ohc pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 436d4bd

Comment on lines +74 to +80
const groupedByDate: any = {};
dataToDisplay.forEach((item: any) => {
if (!groupedByDate[item.date]) {
groupedByDate[item.date] = [];
}
groupedByDate[item.date].push(item);
});
Copy link
Member

Choose a reason for hiding this comment

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

Can we keep the logic too similar to what's present in the Routine table at least?

Ideally let's have a reusable component for this, as it could be re-used in couple of other places as well eventually.

Let's also avoid the usage of any

Copy link
Member

Choose a reason for hiding this comment

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

Also discard changes made to the lockfile.

@rithviknishad
Copy link
Member

Also, not all tasks mentioned in the issue is solved. Drop a comment once ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancements to Nursing tab UI
2 participants