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

Phani | A-1206828243895868 | Remove debouncing and add API cancellation for Appointment Patient Search #323

Merged
merged 4 commits into from
Mar 26, 2024

Conversation

Phanindra-tw
Copy link
Contributor

No description provided.

@@ -59,6 +65,11 @@ export const PatientSearch = (props) => {
label: intl.formatMessage({id: 'DROPDOWN_TYPE_TO_SEARCH_MESSAGE', defaultMessage: 'Type to search'}),
disabled: true
}]);
} else{
setItems([{
label: intl.formatMessage({id: 'DROPDOWN_LOADING_MESSAGE', defaultMessage: 'Loading...'}),

Choose a reason for hiding this comment

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

Can we refactor this if possible ?

separating this into a constants and set the value, we can also add the disabled key also incase if this disabled value is not changing in so many places.

@Phanindra-tw Phanindra-tw merged commit 50d1176 into Bahmni-IPD-master Mar 26, 2024
2 checks passed
@Phanindra-tw Phanindra-tw deleted the add-api-cancellation branch April 10, 2024 07:39
Arjun-Go pushed a commit that referenced this pull request May 22, 2024
…on for Appointment Patient Search (#323)

* Phani : Add logic to Cancel API calls in-flight

* Phani : Fix tests

* Phani : Remove debounce related code

* Phani : Add method to create disabled dropdown options
SanoferSameera pushed a commit that referenced this pull request Jun 11, 2024
* Bindu |Change the update error message (#309)

* Phani | A-1206828243895868 | Remove debouncing and add API cancellation for Appointment Patient Search (#323)

* Phani : Add logic to Cancel API calls in-flight

* Phani : Fix tests

* Phani : Remove debounce related code

* Phani : Add method to create disabled dropdown options

* A-1207131329891848 | Filtering on Awaiting Appointments should query the backend (#330)

* fix. awaiting appointments search post API update

* add. filter for awaiting appointments for bulk waitlists

* fix. existing tests after appointments earch API update

* add. test for checking appointments earch getting called when a filter is selected

* fix. awaiting appointment list after applying filter (#331)

* BAH-3860 | Fix build failure

* BAH-3860 | remove test

---------

Co-authored-by: Himabindu T <tbindu@thoughtworks.com>
Co-authored-by: Phanindra-tw <v.tadikonda@thoughtworks.com>
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.

None yet

2 participants