You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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 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 🙌.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WHAT
🤖 Generated by Copilot at c0444d4
This pull request updates the
ListFilter
component for external results and adds a newWardAutocompleteFormField
component for ward selection. The changes aim to improve the code quality and user experience of the frontend application.Proposed Changes
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at c0444d4
WardAutocompleteFormField
for ward selection based on local body (link)ListFilter
component (link)ListFilter
component to use the new form field components (link)loading
state variable from theListFilter
component, as it is handled internally by the new form field components (link)field
to reduce the boilerplate code for the text form fields in theListFilter
component (link)state
anddistrict
properties to thefilterState
object to filter the external results by the user's location (link)getDate
to simplify the conversion and validation of date values for the date range form fields in theListFilter
component (link)LegacyAutoCompleteAsyncField
andDateRangePicker
components with the newMultiSelectFormField
andDateRangeFormField
components for the local body, ward, and date range filters in theListFilter
component (link)LegacyTextInputField
component with the newTextFormField
component for the srf_id filter in theListFilter
component (link)