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

Tailwind externalResult ListFilter #5757

Merged
merged 4 commits into from
Jun 23, 2023
Merged

Conversation

Ashesh3
Copy link
Member

@Ashesh3 Ashesh3 commented Jun 22, 2023

WHAT

🤖 Generated by Copilot at c0444d4

This pull request updates the ListFilter component for external results and adds a new WardAutocompleteFormField component for ward selection. The changes aim to improve the code quality and user experience of the frontend application.

Proposed Changes

image

@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 c0444d4

  • Add a new component WardAutocompleteFormField for ward selection based on local body (link)
  • Remove unused imports from the ListFilter component (link)
  • Update imports in the ListFilter component to use the new form field components (link)
  • Remove the loading state variable from the ListFilter component, as it is handled internally by the new form field components (link)
  • Add a helper function field to reduce the boilerplate code for the text form fields in the ListFilter component (link)
  • Add the state and district properties to the filterState object to filter the external results by the user's location (link)
  • Add a helper function getDate to simplify the conversion and validation of date values for the date range form fields in the ListFilter component (link)
  • Replace the legacy LegacyAutoCompleteAsyncField and DateRangePicker components with the new MultiSelectFormField and DateRangeFormField components for the local body, ward, and date range filters in the ListFilter component (link)
  • Replace the legacy LegacyTextInputField component with the new TextFormField component for the srf_id filter in the ListFilter component (link)

@Ashesh3 Ashesh3 requested a review from a team June 22, 2023 10:24
@Ashesh3 Ashesh3 requested a review from a team as a code owner June 22, 2023 10:24
@Ashesh3 Ashesh3 requested a review from vigneshhari June 22, 2023 10:24
@vercel
Copy link

vercel bot commented Jun 22, 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 Jun 22, 2023 10:37am

@netlify
Copy link

netlify bot commented Jun 22, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 72354e0
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/6494240edc43b60008302674
😎 Deploy Preview https://deploy-preview-5757--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 settings.

Co-authored-by: Rithvik Nishad <mail@rithviknishad.dev>
@netlify
Copy link

netlify bot commented Jun 22, 2023

Deploy Preview for care-net failed.

Name Link
🔨 Latest commit 504ff38
🔍 Latest deploy log https://app.netlify.com/sites/care-net/deploys/6494236b7ed0670008974c19

@rithviknishad rithviknishad removed the Deploy-Failed Deplyment is not showing preview label Jun 22, 2023
@github-actions github-actions bot added the cypress failed pull request with cypress test failure label Jun 22, 2023
@nihal467
Copy link
Member

LGTM

@khavinshankar khavinshankar merged commit a570d44 into develop Jun 23, 2023
27 of 29 checks passed
@khavinshankar khavinshankar deleted the tailwind-external-res-filter branch June 23, 2023 00:14
@github-actions
Copy link

@Ashesh3 We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cypress failed pull request with cypress test failure tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants