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

Enhancement of patient details page #8856

Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
d1cf45f
adjusted ui of patient details
Mahendar0701 Oct 19, 2024
094f120
shifted blocks to right
Mahendar0701 Oct 21, 2024
c035914
small changes
Mahendar0701 Oct 21, 2024
e509984
solved merge conflicts
Mahendar0701 Oct 21, 2024
a5eb4a2
solved merge conflicts
Mahendar0701 Oct 21, 2024
7c34b14
added changes
Mahendar0701 Oct 22, 2024
06a328b
removed unused code
Mahendar0701 Oct 22, 2024
c154f4a
added translations
Mahendar0701 Oct 23, 2024
29612b2
added changes according to proposed design
Mahendar0701 Oct 26, 2024
1a4a8a7
Merge branch 'develop' into adjusting-margins-in-patient-details#8808
Mahendar0701 Oct 26, 2024
43798cf
fixing failed build
Mahendar0701 Oct 26, 2024
db55334
fixing build
Mahendar0701 Oct 26, 2024
89a655e
Resolved conflicts after applying stash
Mahendar0701 Oct 28, 2024
1a2252a
added links to tabs
Mahendar0701 Oct 28, 2024
c944522
merged
Mahendar0701 Oct 28, 2024
e060ef2
untracked ConsultationFeedTab.tsx
Mahendar0701 Oct 28, 2024
25411ae
refactored code
Mahendar0701 Oct 31, 2024
8807c39
Merge branch 'develop' into adjusting-margins-in-patient-details#8808
Mahendar0701 Oct 31, 2024
45f6675
replaced type any with required one's
Mahendar0701 Nov 1, 2024
9f2e1fb
Improve styling [WIP]: Add sticky behavior to tab and side navigation…
vinutv Nov 2, 2024
3b3d9ac
implement dynamic sidebar color updates on section scroll
Mahendar0701 Nov 3, 2024
21c8b97
Merge branch 'develop' into adjusting-margins-in-patient-details#8808
Mahendar0701 Nov 3, 2024
3bbb0d2
added edit buttons to each section with navigation and scroll functio…
Mahendar0701 Nov 3, 2024
b85cd90
Improve styling [WIP]: Fix spacing for the 3 column layout
vinutv Nov 3, 2024
7e34614
Improve styling [WIP]: fix the right column spacing and broken stylin…
vinutv Nov 3, 2024
8954eac
Update colors for the breadcrumbs
vinutv Nov 4, 2024
d7d35c4
Improve small-screen styling and label text color consistency
vinutv Nov 4, 2024
c2efc15
resolved merge conflicts
Mahendar0701 Nov 5, 2024
1cf2c04
Adjust z-index for menu component to resolve layering issues
vinutv Nov 6, 2024
a54b4c9
Shorten tab names for improved readability on patient page UI
vinutv Nov 6, 2024
361b2e6
Update spacing for the patient profile
vinutv Nov 6, 2024
08f32ca
added notes tab and removed disabled buttons
Mahendar0701 Nov 7, 2024
d30f75d
Update spacing for badges, patient card text style
vinutv Nov 8, 2024
41899aa
action panel updated, removed dropdown from patient card and refactor…
Mahendar0701 Nov 8, 2024
025ea59
added alert and info labels in patient card
Mahendar0701 Nov 9, 2024
705bc2d
added coderabbit suggestions
Mahendar0701 Nov 9, 2024
2561120
resolved merge conflicts
Mahendar0701 Nov 11, 2024
2271735
resolved conflicts
Mahendar0701 Nov 12, 2024
61f9f56
cleanup
shivankacker Nov 21, 2024
2cee6be
bugfix
shivankacker Nov 21, 2024
bd1c358
fixed merge conflicts
shivankacker Nov 21, 2024
f4e73d3
encounters page complete
shivankacker Nov 21, 2024
a18d593
finished up
shivankacker Nov 21, 2024
f69bc09
commented out ABHA number
shivankacker Nov 22, 2024
f99c534
tests
shivankacker Nov 22, 2024
a5ca361
tests 2: electric boogaloo
shivankacker Nov 22, 2024
4dbfc64
Tests 3 : When will we be free?
shivankacker Nov 22, 2024
63bc825
Test 4 : This is so bore
shivankacker Nov 22, 2024
60eeb5e
Test 5 : Hardly Alive
shivankacker Nov 22, 2024
2f1a7ae
revert package lock
shivankacker Nov 22, 2024
7a9bba3
Merge branch 'develop' of https://github.com/ohcnetwork/care_fe into …
shivankacker Nov 22, 2024
7a250d1
Tests 6: I just wanna fix
shivankacker Nov 22, 2024
9d60463
Tests 7 : We might go till eleven
shivankacker Nov 22, 2024
4e3c732
Tests 8 : Flaky tests break my rate
shivankacker Nov 22, 2024
a87c965
Tests 9 : Is this really flaky or does my mind not shine?
shivankacker Nov 22, 2024
7575e3f
added margin between insurance details
Mahendar0701 Nov 23, 2024
0c18c32
handled volunter tab, Rename Sample Test to Service Request, page spe…
Mahendar0701 Nov 25, 2024
1ab994c
test case
Mahendar0701 Nov 25, 2024
4b28d62
Merge branch 'develop' into adjusting-margins-in-patient-details#8808
nihal467 Nov 25, 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: 3 additions & 0 deletions src/Components/Common/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ const toColor = (name: string): [string, string] => {
};

const initials = (name: string): string => {
if (!name) {
return ""; // Return empty string or a default value if the name is undefined or null
}
Mahendar0701 marked this conversation as resolved.
Show resolved Hide resolved
Mahendar0701 marked this conversation as resolved.
Show resolved Hide resolved
return name
.split(" ")
.slice(0, 2)
Expand Down
8 changes: 4 additions & 4 deletions src/Components/Patient/InsuranceDetailsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ export const InsuranceDetialsCard = (props: InsuranceDetails) => {

return (
<div className="w-full">
<div className="h-full space-y-2 rounded-lg bg-white p-7 shadow">
<div className="border-b border-dashed pb-2 text-xl font-bold text-secondary-900">
Policy Details
<div className="h-full space-y-2 pr-5">
<div className="mr-4 w-full pb-2 text-xl font-bold text-secondary-900">
Insurance Details
Mahendar0701 marked this conversation as resolved.
Show resolved Hide resolved
</div>
{data ? (
<div className="grid grid-cols-1 gap-2 sm:grid-cols-2 md:grid-cols-2">
<div className="border-gray-150 grid grid-cols-1 gap-2 rounded-md border bg-white p-5 shadow sm:grid-cols-2 md:grid-cols-2">
Mahendar0701 marked this conversation as resolved.
Show resolved Hide resolved
<div className=" ">
<div className="text-sm font-semibold leading-5 text-zinc-400">
Member ID
Expand Down
Loading
Loading