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

Assets date picker #6338

Merged
merged 16 commits into from
Oct 4, 2023
Merged

Conversation

suprabathk
Copy link
Contributor

@suprabathk suprabathk commented Sep 25, 2023

WHAT

🤖 Generated by Copilot at 888cbe6

Replaced DateInputV2 with DateFormField in asset-related forms to improve date input and validation. Simplified the DateInputV2 component by removing unused code. Added labels and comments for clarity.

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

HOW

🤖 Generated by Copilot at 888cbe6

  • Replace DateInputV2 component with DateFormField component in AssetServiceEditModal.tsx and AssetCreate.tsx to simplify label and error handling (link, link, link, link, link, link, link)
  • Remove unused useRef hook, popover ref, ref prop, and onBlur handler from DateInputV2 component in DateInputV2.tsx to clean up code (link, link, link, link)
  • Add comment to disable eslint rule for literal strings in AssetCreate.tsx as a temporary workaround until translation files are updated (link)

@suprabathk suprabathk requested a review from a team September 25, 2023 07:25
@suprabathk suprabathk requested a review from a team as a code owner September 25, 2023 07:25
@vercel
Copy link

vercel bot commented Sep 25, 2023

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 Oct 2, 2023 11:28pm

@netlify
Copy link

netlify bot commented Sep 25, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 2083092
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/651b51e3964e790008cf3cfe
😎 Deploy Preview https://deploy-preview-6338--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.

src/Components/Assets/AssetServiceEditModal.tsx Outdated Show resolved Hide resolved
src/Components/Assets/AssetServiceEditModal.tsx Outdated Show resolved Hide resolved
src/Components/Facility/AssetCreate.tsx Outdated Show resolved Hide resolved
@nihal467
Copy link
Member

LGTM

@github-actions
Copy link

👋 Hi, @suprabathk,
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.

@github-actions github-actions bot added the merge conflict pull requests with merge conflict label Sep 26, 2023
@khavinshankar khavinshankar removed the merge conflict pull requests with merge conflict label Sep 26, 2023
@khavinshankar
Copy link
Member

@rithviknishad can u re-review this once

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.

Are you sure these translation keys are present in the translation JSON files?

@rithviknishad
Copy link
Member

Refer: #4467 @suprabathk

@nihal467
Copy link
Member

nihal467 commented Oct 2, 2023

LGTM

@khavinshankar
Copy link
Member

@rithviknishad can you re-review this once

@rithviknishad
Copy link
Member

@khavinshankar

@khavinshankar khavinshankar merged commit 4f02469 into ohcnetwork:develop Oct 4, 2023
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: date picker- asset service update
4 participants