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

Fixed Add a better search UI for patients index page #8691 #8834

Merged
Merged
Show file tree
Hide file tree
Changes from 86 commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
c55d12e
Add shadcn components
bodhish Oct 18, 2024
6b0daf2
Add seach by multiple fileds
bodhish Oct 19, 2024
0c6200c
Merge remote-tracking branch 'g/filter-component' into issues/8691-ad…
i0am0arunava Oct 20, 2024
cb5d577
Add seach by multiple fileds
i0am0arunava Oct 20, 2024
c4cfde4
required changes fixed
i0am0arunava Oct 22, 2024
9aa5285
conflict resolved
i0am0arunava Oct 22, 2024
b5b51b4
sd
i0am0arunava Oct 23, 2024
2c8e255
conflict resolved
i0am0arunava Oct 23, 2024
85a7ce6
Merge branch 'develop' into issues/8691-add-better-serchui
i0am0arunava Oct 23, 2024
ecda175
conflict resolved
i0am0arunava Oct 24, 2024
4a5d79d
checked
i0am0arunava Oct 24, 2024
67c8fcf
solved
i0am0arunava Oct 24, 2024
49ae4dd
Merge branch 'develop' into issues/8691-add-better-serchui
gigincg Oct 25, 2024
0cec042
tested locally
i0am0arunava Oct 29, 2024
185b44b
Merge remote-tracking branch 'fh/develop' into issues/8691-add-better…
i0am0arunava Oct 29, 2024
7262ada
Merge branch 'issues/8691-add-better-serchui' of https://github.com/i…
i0am0arunava Oct 29, 2024
6115516
tested locally
i0am0arunava Oct 29, 2024
65b58bc
tested done locally
i0am0arunava Oct 29, 2024
b6e1aca
tested done locally made required changes and removed unused packages…
i0am0arunava Oct 30, 2024
490d266
Merge branch 'develop' into issues/8691-add-better-serchui
i0am0arunava Oct 30, 2024
3028543
fised issue erroclassname=hidden
i0am0arunava Oct 30, 2024
38ad7d0
Merge branch 'issues/8691-add-better-serchui' of https://github.com/i…
i0am0arunava Oct 30, 2024
6b962dc
Merge branch 'develop' into issues/8691-add-better-serchui
i0am0arunava Oct 30, 2024
a6b754d
fised issue erroclassname=hidden
i0am0arunava Oct 30, 2024
973d068
added i18n content for serchfield compnent
i0am0arunava Oct 30, 2024
c7bb7b7
added i18n content for serchfield compnent
i0am0arunava Oct 30, 2024
4c9d929
type are defined in correct way
i0am0arunava Oct 30, 2024
c9404a8
Update src/components/Patient/ManagePatients.tsx
i0am0arunava Oct 30, 2024
593eda3
Update src/CAREUI/display/Count.tsx
i0am0arunava Oct 30, 2024
ba889eb
Update src/Locale/en.json
i0am0arunava Oct 30, 2024
0d3bf62
Update src/Locale/en.json
i0am0arunava Oct 30, 2024
a3d1fb9
type are defined in correct way
i0am0arunava Oct 30, 2024
2a33019
phonehelp section problem is fixed
i0am0arunava Oct 30, 2024
e535a94
type are defined in correct way
i0am0arunava Oct 30, 2024
9efea86
work removed usestae and useeffect and added phhelp feature in a simp…
i0am0arunava Oct 31, 2024
fe09b27
work removed usestae and useeffect and added phhelp feature in a simp…
i0am0arunava Oct 31, 2024
1919710
fixed at a one time only one filter will be applied for the serchbymu…
i0am0arunava Nov 2, 2024
7d4a20d
Merge branch 'develop' into issues/8691-add-better-serchui
i0am0arunava Nov 2, 2024
4f15037
error function name changed to Onerro in phnumberfiedl and serchbyfield
i0am0arunava Nov 2, 2024
f7c535f
error function name changed to Onerro in phnumberfiedl and serchbyfield
i0am0arunava Nov 2, 2024
6ff1219
made some changes,requseted by reviewer
i0am0arunava Nov 3, 2024
a8936a5
fixed the bug related to filter when applying advanced filter
i0am0arunava Nov 4, 2024
c8ce4cc
fixed the bug related to filter when applying advanced filter
i0am0arunava Nov 4, 2024
144511f
Merge branch 'develop' into issues/8691-add-better-serchui
i0am0arunava Nov 4, 2024
04bd5b1
hide help added
i0am0arunava Nov 4, 2024
25ff81d
Merge branch 'issues/8691-add-better-serchui' of https://github.com/i…
i0am0arunava Nov 4, 2024
9287679
hide help added
i0am0arunava Nov 4, 2024
795a7c3
Merge branch 'develop' into issues/8691-add-better-serchui
i0am0arunava Nov 5, 2024
9e5826b
merged develop
i0am0arunava Nov 16, 2024
0067cde
fixed: clear input value after clearing filter
i0am0arunava Nov 17, 2024
eb4b6bf
Merge remote-tracking branch 'gh/develop' into issues/8691-add-better…
i0am0arunava Nov 17, 2024
189896e
Discard changes to .env
sainak Nov 18, 2024
e039027
fixed
i0am0arunava Nov 18, 2024
bac1db6
Merge remote-tracking branch 'hgh/develop' into issues/8691-add-bette…
i0am0arunava Nov 18, 2024
3e75b22
merge conflict resolving
i0am0arunava Nov 19, 2024
7a4ecac
debouncing added for search field
i0am0arunava Nov 19, 2024
b7e3e00
debouncing added for search field
i0am0arunava Nov 19, 2024
acc6362
Merge branch 'develop' into issues/8691-add-better-serchui
i0am0arunava Nov 20, 2024
db5962c
Merge branch 'develop' into issues/8691-add-better-serchui
i0am0arunava Nov 21, 2024
12af40e
fixed debouncing and prevent unnecessary api calls
i0am0arunava Nov 24, 2024
fa58519
Merge remote-tracking branch 'xx/develop' into issues/8691-add-better…
i0am0arunava Nov 24, 2024
9102b20
cleanup
shivankacker Nov 26, 2024
a9746cc
minor fixes
shivankacker Nov 26, 2024
241a1f1
Merge branch 'develop' into issues/8691-add-better-serchui
shivankacker Nov 26, 2024
53a6c35
Fixed keyboard shortcutes
shivankacker Nov 26, 2024
84c1155
Merge branch 'issues/8691-add-better-serchui' of https://github.com/i…
shivankacker Nov 26, 2024
1ed4ba6
fix merge conflicts
shivankacker Nov 27, 2024
6148674
Merge branch 'develop' into issues/8691-add-better-serchui
shivankacker Nov 27, 2024
c8e2ec0
fixing tests
shivankacker Nov 27, 2024
5a5ff27
fix params
shivankacker Nov 27, 2024
a98d667
remove print
shivankacker Nov 27, 2024
1f43e3a
testing tests
shivankacker Nov 27, 2024
bf74945
coderabbit suggestions
shivankacker Nov 27, 2024
7e9a5d9
: )
shivankacker Nov 27, 2024
1fb9d4d
fix api
shivankacker Nov 27, 2024
690a6a3
Reverting
shivankacker Nov 27, 2024
900327b
revert scribe translations
shivankacker Nov 28, 2024
ad14ec8
Merge branch 'develop' into issues/8691-add-better-serchui
nihal467 Nov 29, 2024
b31d082
Merge branch 'develop' into issues/8691-add-better-serchui
nihal467 Dec 3, 2024
62d41fa
added search bar in facility page and improved debounce
shivankacker Dec 3, 2024
22f326b
Merge branch 'issues/8691-add-better-serchui' of https://github.com/i…
shivankacker Dec 3, 2024
429dc27
fix tests
shivankacker Dec 3, 2024
16d6df8
??
shivankacker Dec 3, 2024
4b8c42e
tests
shivankacker Dec 3, 2024
e749d9a
fix ids
shivankacker Dec 3, 2024
14aff33
fix merge conflicts
shivankacker Dec 4, 2024
1507227
fix merge conflicts
shivankacker Dec 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cypress/e2e/patient_spec/PatientHomepage.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,15 @@ describe("Patient Homepage present functionalities", () => {
patientHome.verifyPatientExportRequest();
});

it("Verify the functionality of the patient tab pagination", () => {
it("Test Pagination on Patient List Page", () => {
let firstPatientPageOne: string;
cy.get('[data-cy="patient"]')
.first()
.invoke("text")
.then((patientOne: string) => {
firstPatientPageOne = patientOne.trim();
pageNavigation.navigateToNextPage();
cy.wait(2000);
shivankacker marked this conversation as resolved.
Show resolved Hide resolved
pageNavigation.verifyCurrentPageNumber(2);
cy.get('[data-cy="patient"]')
.first()
Expand Down
3 changes: 1 addition & 2 deletions cypress/pageobject/Facility/FacilityHome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ class FacilityHome {
}

typeFacilitySearch(facilityName: string) {
cy.get("#search-by-facility").click().clear();
cy.get("#search-by-facility").click().type(facilityName);
cy.get("#facility-search").click().clear().type(facilityName);
}

clickMenuItem(itemName: string) {
Expand Down
6 changes: 4 additions & 2 deletions cypress/pageobject/Patient/PatientCreation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ export class PatientPage {
}

visitPatient(patientName: string) {
cy.get("#name").click().type(patientName);
cy.get('[data-test-id="patient-search__name"]').click();
cy.get("#patient-search").click().type(patientName); // Type the patient name
cy.intercept("GET", "**/api/v1/consultation/**").as("getPatient");
cy.get("#patient-name-list").contains(patientName).click();
cy.wait(2000);
Expand Down Expand Up @@ -66,7 +67,8 @@ export class PatientPage {
}

typePatientNameList(patientName: string) {
cy.get("#name").click().type(patientName);
cy.get('[data-test-id="patient-search__name"]').click();
cy.get("#patient-search").click().type(patientName);
}

typePatientAddress(address: string) {
Expand Down
Loading
Loading