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

Production release v3.0.3 #11035

Merged
merged 49 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
c269220
Fix cursor pointer issue in Settings page - prevent pointer symbol on…
michael-020 Feb 24, 2025
4e1d3db
Add Confirmation Pop-up to Prevent Accidental Exception Deletions (#1…
modamaan Feb 25, 2025
b741d54
Basic CRUD pages for Devices (#10560)
rithviknishad Feb 25, 2025
6097a92
Profile redirection in Users Card and Design sync with dept Users des…
AdityaJ2305 Feb 25, 2025
cd9aa81
Fix: Medicine Section Bugs (#10613)
AdityaJ2305 Feb 25, 2025
5b18095
Fix overflow of medication details for better responsiveness (#10732)
DonXavierdev Feb 25, 2025
dfeda14
Added Symptoms onset date field in encounters overview (#10759)
hrit2773 Feb 25, 2025
b45e620
Potential fix for code scanning alert no. 116: DOM text reinterpreted…
rithviknishad Feb 25, 2025
a51d39c
Fix: Bugs in valueset page (#10738)
AdityaJ2305 Feb 25, 2025
6ffedec
Redesign: Departments page root view (#10411)
DonXavierdev Feb 26, 2025
fde54b3
Fix: Add a new list view to locations in the facility settings (#10672)
abhimanyurajeesh Feb 26, 2025
c097957
Redirect on updating questionnaire (#10796)
Sulochan-khadka Feb 26, 2025
b40c931
Treatment Summary UI Enhancement (#10563)
AdityaJ2305 Feb 27, 2025
6c95ea4
API queries: fail fast and retry only for network errors and HTTP 502…
rithviknishad Feb 27, 2025
7bb209d
Location Edit Form and Files Fixes (#10751)
Jacobjeevan Feb 27, 2025
4748ab7
Add tooltips to facility, organization, and patient switchers (#10766)
Rishith25 Feb 27, 2025
5c0a73c
Fix: Disable submit/save buttons until changes are made on any Edit/U…
Rishith25 Feb 27, 2025
6a6d67a
Add Facility Map Link (#10755)
AdityaJ2305 Feb 27, 2025
cdb10f9
Fix unnecessary scrollbar on facility overview page (#10833)
vinutv Feb 27, 2025
9b82db3
Encounter Info Card (#10792)
amjithtitus09 Feb 27, 2025
5ffc6b3
Cypress: User Avatar Modification (#10592)
DonXavierdev Feb 27, 2025
f1150a8
Fix: Inconsistent Feature Badge Styling Across Pages (#10839)
AdityaJ2305 Feb 27, 2025
d9a1ecf
fix: Improve responsiveness in Encounter medicine tab (#10767)
Tanuj1718 Feb 27, 2025
006821a
Fix : Rotation Functionality in "Files" Section (#10799)
Jeffrin2005 Feb 27, 2025
97c1b97
Fix : FacilityOrganizationSelector Displays Only First 15 Entries (#1…
Rishith25 Feb 27, 2025
0dba28a
bugfix:fix Overapping greenindicator and scrollbar in Patient Details…
ashwinpraveengo Feb 27, 2025
b6b9181
Modified the cypress viewport (#10851)
nihal467 Feb 27, 2025
432c614
Added Location sheet, removed Location Question (#10810)
amjithtitus09 Feb 27, 2025
cf1292b
Fix : Alignment of Country List in Phone Number Search (#10778)
Jeffrin2005 Feb 27, 2025
07387b9
Ensure DialogContent Accessibility by Adding Description Support (#10…
modamaan Feb 28, 2025
05744c6
"Updates edit icons and link styling" #10812 (#10862)
muzammil-13 Feb 28, 2025
3b16dc7
Remove Questionnaire show screen (#10864)
amjithtitus09 Feb 28, 2025
75d757f
Removed the extra color class from symptoms list (#10867)
vishaljoshi789 Feb 28, 2025
e502bfb
Medicine Administer List Should Only Show Active Medicines (#10858)
AdityaJ2305 Feb 28, 2025
10c9b22
Patient | Mark death (#10843)
amjithtitus09 Feb 28, 2025
d7ab9a0
Print Prescription UI update (#10856)
AdityaJ2305 Feb 28, 2025
d38bd72
Merge pull request #10876 from ohcnetwork/develop
rithviknishad Feb 28, 2025
17fa3d6
Fixed facility home actions styles (#10835)
khavinshankar Feb 28, 2025
d218d8b
fix: Update phone number without removing whole number (#10884)
Tanuj1718 Mar 1, 2025
f4a8399
Delete .github/workflows/issue-automation.yml (#10873)
tellmeY18 Mar 1, 2025
2eca6a4
Enable Patient Edit button for deceased Patient (#10882)
amjithtitus09 Mar 1, 2025
dfd30ca
UI/UX: Fix Zoom Toggle Button Positioning Issue (#10907) (#10908)
AdityaP700 Mar 1, 2025
39bb22a
Made file preview dialog responsive (#10913)
khavinshankar Mar 1, 2025
fd3182a
Merge pull request #10914 from ohcnetwork/develop
rithviknishad Mar 1, 2025
ce6c912
Fix: Added cancel button in `ValueSetForm` (#10916)
abhijeetkhokhar Mar 1, 2025
957f5e5
style: Enhance button styling in CreateEncounterForm (#10919)
yash-learner Mar 1, 2025
2af9062
Fix: User Dashboard Responsive Issue causing unnecessary horizontal s…
abhijeetkhokhar Mar 3, 2025
5e51506
Update ml translations (#10951)
rithviknishad Mar 3, 2025
a5d4d47
Merge pull request #10952 from ohcnetwork/develop
khavinshankar Mar 3, 2025
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: 3 additions & 0 deletions .example.env
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,6 @@ REACT_ALLOWED_LOCALES="en,hi,ta,ml,mr,kn"

# ISO 3166-1 Alpha-2 code for the default country code (default: "IN")
REACT_DEFAULT_COUNTRY=

# Maps fallback URL template (default:"https://www.openstreetmap.org/?mlat={lat}&mlon={long}&zoom=15")
REACT_MAPS_FALLBACK_URL_TEMPLATE=
48 changes: 0 additions & 48 deletions .github/workflows/issue-automation.yml

This file was deleted.

4 changes: 4 additions & 0 deletions care.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ const careConfig = {
defaultEncounterType: (env.REACT_DEFAULT_ENCOUNTER_TYPE ||
"hh") as EncounterClass,

mapFallbackUrlTemplate:
env.REACT_MAPS_FALLBACK_URL_TEMPLATE ||
"https://www.openstreetmap.org/?mlat={lat}&mlon={long}&zoom=15",

gmapsApiKey:
env.REACT_GMAPS_API_KEY || "AIzaSyDsBAc3y7deI5ZO3NtK5GuzKwtUzQNJNUk",

Expand Down
1 change: 1 addition & 0 deletions cypress/e2e/patient_spec/patient_creation.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ describe("Patient Management", () => {
];

beforeEach(() => {
cy.viewport(1920, 1080);
cy.loginByApi("doctor");
cy.visit("/");
});
Expand Down
1 change: 1 addition & 0 deletions cypress/e2e/patient_spec/patient_details.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const patientDetails = new PatientDetails();

describe("Patient Management", () => {
beforeEach(() => {
cy.viewport(1920, 1080);
cy.loginByApi("devdoctor");
cy.visit("/");
});
Expand Down
1 change: 1 addition & 0 deletions cypress/e2e/patient_spec/patient_encounter.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const patientEncounter = new PatientEncounter();

describe("Patient Encounter Questionnaire", () => {
beforeEach(() => {
cy.viewport(1920, 1080);
cy.loginByApi("devnurse");
cy.visit("/");
});
Expand Down
22 changes: 22 additions & 0 deletions cypress/e2e/users_spec/user_avatar.cy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { UserAvatar } from "@/pageObject/Users/UserAvatar";

describe("User Profile Avatar Modification", () => {
const userAvatar = new UserAvatar("teststaff4");
beforeEach(() => {
cy.loginByApi("teststaff4");
cy.visit("/");
});
it("should modify an avatar", () => {
userAvatar
.navigateToProfile()
.interceptUploadAvatarRequest()
.clickChangeAvatarButton()
.uploadAvatar()
.clickSaveAvatarButton()
.verifyUploadAvatarApiCall()
.interceptDeleteAvatarRequest()
.clickChangeAvatarButton()
.clickDeleteAvatarButton()
.verifyDeleteAvatarApiCall();
});
});
Binary file added cypress/fixtures/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions cypress/fixtures/users.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@
"devdoctor": {
"username": "developdoctor",
"password": "Test@123"
},
"teststaff4": {
"username": "teststaff4",
"password": "Test@123"
}
}
59 changes: 59 additions & 0 deletions cypress/pageObject/Users/UserAvatar.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
export class UserAvatar {
username: string;
constructor(username: string) {
this.username = username;
}

navigateToProfile() {
cy.visit(`/users/${this.username}`);
return this;
}

interceptUploadAvatarRequest() {
cy.intercept("POST", `/api/v1/users/${this.username}/profile_picture/`).as(
"uploadAvatar",
);
return this;
}

clickChangeAvatarButton() {
cy.verifyAndClickElement('[data-cy="change-avatar"]', "Change Avatar");
return this;
}

uploadAvatar() {
cy.get('input[title="changeFile"]').selectFile(
"cypress/fixtures/avatar.jpg",
{ force: true },
);
return this;
}

clickSaveAvatarButton() {
cy.verifyAndClickElement('[data-cy="save-cover-image"]', "Save");
return this;
}

verifyUploadAvatarApiCall() {
cy.wait("@uploadAvatar").its("response.statusCode").should("eq", 200);
return this;
}

interceptDeleteAvatarRequest() {
cy.intercept(
"DELETE",
`/api/v1/users/${this.username}/profile_picture/`,
).as("deleteAvatar");
return this;
}

clickDeleteAvatarButton() {
cy.verifyAndClickElement('[data-cy="delete-avatar"]', "Delete");
return this;
}

verifyDeleteAvatarApiCall() {
cy.wait("@deleteAvatar").its("response.statusCode").should("eq", 204);
return this;
}
}
Loading
Loading