From 10eba145418a2d9746ac65c85b5675ed4fde4cdd Mon Sep 17 00:00:00 2001 From: Bappadala Rohith Kumar Naidu <198095685+rohitkumarnaidu@users.noreply.github.com> Date: Mon, 27 Jul 2026 18:46:48 +0530 Subject: [PATCH] feat: Corporate Wellness Programs (Issue #162) --- pr324_comments.txt | Bin 0 -> 21378 bytes pr324_utf8.txt | 226 ++++++++++++++++++++++++++++++++ pr325_comments.txt | Bin 0 -> 14884 bytes pr325_utf8.txt | 149 +++++++++++++++++++++ pr326_comments.txt | Bin 0 -> 14888 bytes pr326_utf8.txt | 149 +++++++++++++++++++++ src/App.jsx | 2 + src/pages/CorporateWellness.jsx | 61 +++++++++ 8 files changed, 587 insertions(+) create mode 100644 pr324_comments.txt create mode 100644 pr324_utf8.txt create mode 100644 pr325_comments.txt create mode 100644 pr325_utf8.txt create mode 100644 pr326_comments.txt create mode 100644 pr326_utf8.txt create mode 100644 src/pages/CorporateWellness.jsx diff --git a/pr324_comments.txt b/pr324_comments.txt new file mode 100644 index 0000000000000000000000000000000000000000..182078e6f7354c8d63c1467fab26719d87af087a GIT binary patch literal 21378 zcmeI4O>bP)8OQIYi&m<-t5m6#22c{G!Y^?Wl29BlP693gLL6Gu2-#zMY)l;6cqTY$ z)2{j@y6dK2s4EtwyKed+X#cs+R*Ra>ZjFDs&>`YXJ2=AblubM{c10b+)G!TG^$f=>Pb(tHq)~$ zjosBeKke!Xb06pqYm_smtLX&cHLbcYJb-dfBkya*p+>fKXH(x>`rFlS;IPj9>Og;Y zG-6wKdz#zQxQ_1b>iSU{*%H?K8hJlKjZskB(eq#H^QqwN>eH^)br;wj&H1Q0lh!&& zIDMS%^>l|Bt?G`xw*|8$*n9eYxB8v#1kXOKrZgWM4-&Pr)ohKYGku)SRx^oic)Tbm z_XXp=umBQ}xAZ$O%`0w+l0(7m>FJ)v!f&`@`tJ&_EX|$jk9rQ@dex*@&5E0hpB)0} zRoyq`3uF0qs+zCnL_PA%ygMyCcZJ<{HF|bex-d8|R$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&{mmqOdfhR||9eJh_e_{sl1Q zxgaWd&zFum{q!q>4`r8y1s!+y*thh3UU#U@s&qhD7T;A;TIgZe4)9UUf z+Jn|3uah*i-a(#JU#~nzhw-*ni3-_!Vp#ULoM2M;e@kbQZcDy+uk0nalSSi;{La+4 zwaB*6dHdJqOm}gSIpfH%&;V>7uS#wc+~awjQfJ{$W^LvzjY02X zlyfnp=l8VgtC-$pojHi{YtpDqX%AY(8|1`g^oKXY(ILOPi#=^fmw4Kip3!wYuV*i5 zO?CE~HGEw(66d12 zh$tTC)SS(D@65evvcgcqwf3l15+BDtIn+pY_}QIV*fNlKQ74MU03&X?Vvqm55_QL}Y7rWEdf*De+}|1mc~hHOa(p zw>95LLhtG$CV$syaPEQl?z0e2^6uPZx<4!FN8Xg*Ic09%SG{u_Qyf{)0(8N#dy==l z$-1b7u%5w)9I_ySXYX3i9`V}V=Z@O4S^2t7q2EMaWG}&~j0ai~da$6}gAae&{C_NH z2e!>$p5@#K7$r{4nSqzz_w<|P?`d^%6d*$X8~O%pyrJ=7ongJ-Oih_d&PWe{<^S9< zqwD>&mw?ZQa?X~RVx*Es#{1h)O>~CSC0yRQ`&6EQ9gsL{!@WBGf&J@RYcpx&ta!~1 zHyRoz8>aSkGCC&b%KqmETUXM!W4dza6qIJ<`c?T@j7$ zK1Qs1Q#wtKOUHn}U)HM0!O9g@<+JN6{9x;{&S%$oQAR5=$NoX=GSaDVKhAGI<(lTM&aSby;tHFJ;gN80wN + + +[![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/vallabhatech/CareSync/pull/324?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) + + + + +
+📝 Walkthrough + +## Walkthrough + +Adds an ambulance booking page with address validation, loading and confirmation states, plus localized navigation and a React Router route at `/ambulance-booking`. + +### Changes + +**Ambulance booking** + +|Layer / File(s)|Summary| +|---|---| +|**Ambulance booking form and status flow**
`src/pages/AmbulanceBooking.jsx`|Adds pickup address and emergency detail fields, validates the address, transitions booking status from idle to loading to confirmed, and renders the corresponding form or dispatch alert.| +|**Navigation and route integration**
`src/i18n/locales/en.json`, `src/App.jsx`|Adds the “Ambulance Booking” navigation label, `/ambulance-booking` navigation target, page import, and route.| + +**Estimated code review effort:** 2 (Simple) | ~10 minutes + +**Suggested reviewers:** `copilot` + +### Sequence Diagram(s) + +```mermaid +sequenceDiagram + participant User + participant ReactRouter + participant AmbulanceBooking + participant BookingTimer + User->>ReactRouter: Navigate to /ambulance-booking + ReactRouter->>AmbulanceBooking: Render booking page + User->>AmbulanceBooking: Submit pickup address and emergency details + AmbulanceBooking->>BookingTimer: Schedule confirmation transition + BookingTimer->>AmbulanceBooking: Set status to confirmed + AmbulanceBooking-->>User: Display dispatch confirmation +``` + +
+ + + + +
+🚥 Pre-merge checks | ✅ 4 | ❌ 1 + +### ❌ Failed checks (1 warning) + +| Check name | Status | Explanation | Resolution | +| :-----------------: | :--------- | :------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------- | +| Linked Issues check | ⚠️ Warning | The PR adds an ambulance booking page and route, but it does not implement the real-time tracking requested in issue `#157`. | Add real-time ambulance tracking to the booking flow, or clarify that tracking is handled elsewhere if this PR only covers booking. | + +
+✅ Passed checks (4 passed) + +| Check name | Status | Explanation | +| :------------------------: | :------- | :------------------------------------------------------------------------------------------------------------- | +| Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. | +| Title check | ✅ Passed | The title is concise and accurately reflects the main change: adding ambulance booking. | +| Out of Scope Changes check | ✅ Passed | The changes stay focused on ambulance booking UI, routing, and localization with no clear unrelated additions. | +| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. | + +
+ +
+ + + + +
+✨ Finishing Touches + +
+🧪 Generate unit tests (beta) + +- [ ] Create PR with unit tests + +
+ +
+ + + + +--- + +Thanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=vallabhatech/CareSync&utm_content=324)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. + +
+❤️ Share + +- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) +- [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) +- [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) +- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code) + +
+ + +Comment `@coderabbitai help` to get the list of available commands. + + +-- +author: coderabbitai +association: none +edited: false +status: commented +-- +**Actionable comments posted: 1** + +
+🤖 Prompt for all review comments with AI agents + +``` +Verify each finding against current code. Fix only still-valid issues, skip the +rest with a brief reason, keep changes minimal, and validate. + +Inline comments: +In `@src/pages/AmbulanceBooking.jsx`: +- Around line 10-18: Replace the simulated setTimeout confirmation in +handleBooking with a dispatch-service request that submits the validated address +and emergencyType. Set booking status to confirmed only after a successful +response, retain the returned booking and driver data, and use that data as the +source for real-time ambulance tracking; handle request failures without +reporting a false dispatch. +``` + +
+ +
+🪄 Autofix (Beta) + +Fix all unresolved CodeRabbit comments on this PR: + +- [ ] Push a commit to this branch (recommended) +- [ ] Create a new PR with the fixes + +
+ +--- + +
+ℹ️ Review info + +
+⚙️ Run configuration + +**Configuration used**: defaults + +**Review profile**: CHILL + +**Plan**: Pro Plus + +**Run ID**: `bd911c20-c1d2-4bec-9c80-a6fe3b6131cc` + +
+ +
+📥 Commits + +Reviewing files that changed from the base of the PR and between 1045be3a59b6f62d8d32d0ac747eb0a6b291afb8 and 79c23057d3a4b999c00f5195f6e8d293258792ab. + +
+ +
+📒 Files selected for processing (3) + +* `src/App.jsx` +* `src/i18n/locales/en.json` +* `src/pages/AmbulanceBooking.jsx` + +
+ +
+ + +-- +author: sonarqubecloud +association: none +edited: false +status: none +-- +## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=vallabhatech_CareSync&pullRequest=324) **Quality Gate passed** +Issues +![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=vallabhatech_CareSync&pullRequest=324&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) +![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=vallabhatech_CareSync&pullRequest=324&issueStatuses=ACCEPTED) + +Measures +![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=vallabhatech_CareSync&pullRequest=324&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) +![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=vallabhatech_CareSync&pullRequest=324&metric=new_coverage&view=list) +![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=vallabhatech_CareSync&pullRequest=324&metric=new_duplicated_lines_density&view=list) + + +[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=vallabhatech_CareSync&pullRequest=324) + + +-- diff --git a/pr325_comments.txt b/pr325_comments.txt new file mode 100644 index 0000000000000000000000000000000000000000..fb965569e51e6d13b1523c2a29c762eed99989dc GIT binary patch literal 14884 zcmeI2*-~8B6^8e1QkBXpwB-m%iJQhCgya&kF_LT&O$H@)Lb*^w1D3^P8Z;!82gz&Y z$`{FHZt@UL{%`-iw9n~DjU%gU$3@Y7dY?V4@n6F^|M{k!PSZ*HA|0mV^j`W|dYZO% zwWZI!^o#WK)J|Rf9ctvUu21xNm=5yHgM77}XKkmB?wn{fb~SpUwGGYN*65zD zU*wq$QGKYH`+3)x1-IL}|7-m{)qZ>WYo|?(viG*ue335XvyL)NU*@qBjj*DT9_n{n zdp5N9fj-yMA2bp&`#fFLdT2b#+_qAyCe!I2O_$Pi<{KF=X_tNNu`epviJf=!8I+b2 zcf`rD_C3+v1I{*0$LY_ykK9huq*S#eP3E_T?DW3I&H3V3xt&k5X-3?m z&my}i(YYt;cGKw9UD?9mx;S-3ye__^VIzH(Zi$XN>8tenG$)%u?_Y`fhiOf}*L3$2 zowg?J{7$mEo2In(h4$apF6QzJ(X*-XFST-0qvz8?`cR*<`ol)rI&np7cXZ#Q=e6@v zZC*FqP5mzGFK1oOrFYX6?J}?5bJ}N9S6lj9kc9A&%lf>UN47L`D_zTTcJlb;y!KsP zvnEbhNH_EKa&H9hhs#XSs`kB;R`vH=QE)}veNTBoSEEa^qeDsYxvr1WpI)9en}PAcrC-}U z>;PxBv=4~veT<3z4FWxrU4yCYT~hZ6dRe1 zgu!{gUXT;WeymlS`U9Vc3U4wxT~BXiy8-=)QSce@h!|j+4>f03l!DAqYps?jWKF-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RxCnx#&B}_}5TXR^MrqBrd3u8!wH*VQ|k= zIC4sQM982cM5Xo`U0-etsW0PgMluuZ$DNr{U;2&i(Ogs|KsTNK1Xj0_<>LKf49ghL zWmPwCLg((bU`0Gls_K$AjQe$omgqvw=<}W=#oHlZ00@KJ#`89)K_gwf%}vc&_Imxg zoT}`LjUTH{@e1B2l}Q)quMF) z7x`HK-)~*h5rms~Q=_T=;COv6^{x2vXnsi=UzYA4sJC`Yz4{Vc?`B^&@*ft8Hv)A9}&;=HB9leuJpR%f1V1;0$-*wuIK4{jB%2p~~gd%MRnB z@+oJxKNLhii`R#iZ_4j^=Zf6WIij`vW7IY82UU3`W8KKSV+}lkq3?d6E92mJTZl+d zp5%0uJ>o6o#JrP1bj9lEKJ$d_KqIbM;#n41;<`HceqO;0>cJP80%A@5IY4;eTJ|0C ZU2;;Y9lSNN|Finzo5`W!H2$NC`!5Q?zHa~k literal 0 HcmV?d00001 diff --git a/pr325_utf8.txt b/pr325_utf8.txt new file mode 100644 index 0000000..6e8ecb0 --- /dev/null +++ b/pr325_utf8.txt @@ -0,0 +1,149 @@ +author: vercel +association: none +edited: false +status: none +-- +@rohitkumarnaidu is attempting to deploy a commit to the **vallabhatech's projects** Team on [Vercel](https://vercel.com). + +A member of the Team first needs to [authorize it](https://vercel.com/git/authorize?team=vallabhatech's%20projects&slug=vallabhatechs-projects&teamId=team_XEvLqU3kloqiTS3SEQgSVKnM&type=github&job=%7B%22headInfo%22%3A%7B%22sha%22%3A%224be316d543fb5cc70fa4f8ccc1c9fbf4f416145c%22%7D%2C%22id%22%3A%22QmQFMEu89LRRJb6gX3Rtwy7cLk71dEETHQSDM7AzoVx7pZ%22%2C%22org%22%3A%22vallabhatech%22%2C%22prId%22%3A325%2C%22repo%22%3A%22CareSync%22%7D). + + +-- +author: Copilot (AI) +association: none +edited: false +status: commented +-- +Copilot was unable to review this pull request because the user who requested the review has reached their quota limit. +-- +author: coderabbitai +association: none +edited: false +status: none +-- + + + +> [!WARNING] +> ## Review limit reached +> +> `@rohitkumarnaidu`, you've reached your PR review limit, so we couldn't start this review. +> +> **Next review available in:** **58 minutes** +> +> Enable **[usage-based reviews](https://app.coderabbit.ai/settings/billing?tab=usage&orgId=cc990ced-70c0-4133-8264-3100524c302c)** in Billing to review now. Otherwise, wait until the next included review is available. +> You're only billed for reviews past your plan's rate limits ($0.25/file). +> +>
+> How can I continue? +> +> After more reviews become available, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. +> +> To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. +> +>
+> +> +>
+> How do review limits work? +> +> CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. +> +> For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. +> +> Please refer [docs](https://docs.coderabbit.ai/management/plans#rate-limits) for additional details. +> +>
+> +>
+> Review details +> +>
+> ⚙️ Run configuration +> +> **Configuration used**: defaults +> +> **Review profile**: CHILL +> +> **Plan**: Pro Plus +> +> **Run ID**: `08d43905-41ae-4000-bfea-4f17d984c853` +> +>
+> +>
+> 📥 Commits +> +> Reviewing files that changed from the base of the PR and between 1045be3a59b6f62d8d32d0ac747eb0a6b291afb8 and 4be316d543fb5cc70fa4f8ccc1c9fbf4f416145c. +> +>
+> +>
+> 📒 Files selected for processing (3) +> +> * `src/App.jsx` +> * `src/i18n/locales/en.json` +> * `src/pages/DoctorReviews.jsx` +> +>
+> +>
+ + + + + +
+✨ Finishing Touches + +
+🧪 Generate unit tests (beta) + +- [ ] Create PR with unit tests + +
+ +
+ + + + +--- + +Thanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=vallabhatech/CareSync&utm_content=325)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. + +
+❤️ Share + +- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) +- [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) +- [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) +- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code) + +
+ + +Comment `@coderabbitai help` to get the list of available commands. + + +-- +author: sonarqubecloud +association: none +edited: false +status: none +-- +## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=vallabhatech_CareSync&pullRequest=325) **Quality Gate passed** +Issues +![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=vallabhatech_CareSync&pullRequest=325&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) +![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=vallabhatech_CareSync&pullRequest=325&issueStatuses=ACCEPTED) + +Measures +![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=vallabhatech_CareSync&pullRequest=325&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) +![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=vallabhatech_CareSync&pullRequest=325&metric=new_coverage&view=list) +![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=vallabhatech_CareSync&pullRequest=325&metric=new_duplicated_lines_density&view=list) + + +[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=vallabhatech_CareSync&pullRequest=325) + + +-- diff --git a/pr326_comments.txt b/pr326_comments.txt new file mode 100644 index 0000000000000000000000000000000000000000..54aa95b04ec060137f55c29b6268462823f4a118 GIT binary patch literal 14888 zcmeI2*>W4l6^8pZsY>M)U?rmD#2_ik5+#=@TcRb06)iNWSWdBA6bOK{EN%u!ElK4; z@>;p_MRJ*&JcN_~>mP?bgH5C(xx5t%#9+Gnbf4`%%glejX{FS*Lht2%jXTXT1{&ZB*eu=ZGY z*rU3#nVOlxhuZZ(=YYyn&D_(9o@Tamr=#BuefRYrI_$HT4)y&+Gj??MNNXFK*VWx! zUBApT8#?uYX6|LGF$-?H8vmXCo{8SB{#t2EccI%-qhUxtdI82WNUa&1Sxl@l8?L6OBEc0!mQc*8ezZ z*>PK(^hEbaqx+hRypf9e-_W^=HlL)wXdJm6rPH2jPSRxl+!#t9=)O5$nku*RX(7#v zd-PdkH=}dz>U2A4^6I{9VRT*Wx*}eePR_8IK1;WCj=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01d zY&?7E<~P#5d#|Y1TBpkke)bLCejSHUr|}KP=2ulT9ye;<$W;MdGiT6rMLryh+J4p? zxiHU}K~u6>@{!U9!wZP_rL!>n27+_q@`RdBcjT#CwHiLEt5Oe*R!va_xr0Fl?e~kx zGI$o)%kP5u=>c!t@xBBSAS)@E2s`}%ozl`b8r zXF?nDKr~J+$-VmdYmI+RRVO>=}%yFD_Jgn zKQiuN8PmC}>gK!9xw|b`5l@t=y1b;0(6BDi5?!cy{l71H@rDQ(0K(AGn$Fv(290#_ zMmIHQq4oN8Ia8s(E|0(~T&wnFGY{mMx5d>vvXKY+z9S8;>Dl&eJt^T$b0RwZtGoKN z6rbeUMDe)KiSpVN|UDFYSn|NEJss7+}ecv2f@#E3_O=)~tdR|p;4Q-d$dN1o5 z>!wbid-Frk?b-ZzU7WQuhY_oIzmDECeKEfOU#})QRCm}EX4iN4+1FopEdRE+J}YcL zFDoZI=lvGCLganqcs#`n)Q{}_thUh>9eTk~a~`^xGg2Z?c-fn<2C`mv;MziK_I^Hi z+EC?k=A;*}q`n$yhft?^pv*VCcK= z>&iGd-4-GelqWfTWsi6ZIWg~L5M86z;t3nsgKL&}mPMAhp$@*ES1^Nm@MS&$v8MhU gAUtqA`wsaoIVsf+-Wu8eS^e?5$)VviK2gQ}4{6`Ot^fc4 literal 0 HcmV?d00001 diff --git a/pr326_utf8.txt b/pr326_utf8.txt new file mode 100644 index 0000000..9cc6e40 --- /dev/null +++ b/pr326_utf8.txt @@ -0,0 +1,149 @@ +author: vercel +association: none +edited: false +status: none +-- +@rohitkumarnaidu is attempting to deploy a commit to the **vallabhatech's projects** Team on [Vercel](https://vercel.com). + +A member of the Team first needs to [authorize it](https://vercel.com/git/authorize?team=vallabhatech's%20projects&slug=vallabhatechs-projects&teamId=team_XEvLqU3kloqiTS3SEQgSVKnM&type=github&job=%7B%22headInfo%22%3A%7B%22sha%22%3A%22f72a5c33a3707f0172c56981d5d81882aadb456c%22%7D%2C%22id%22%3A%22QmcR9fpVSFvkRW3pq7iijwVWnCPs4sMzfa75gCBGxxSoTC%22%2C%22org%22%3A%22vallabhatech%22%2C%22prId%22%3A326%2C%22repo%22%3A%22CareSync%22%7D). + + +-- +author: Copilot (AI) +association: none +edited: false +status: commented +-- +Copilot was unable to review this pull request because the user who requested the review has reached their quota limit. +-- +author: coderabbitai +association: none +edited: false +status: none +-- + + + +> [!WARNING] +> ## Review limit reached +> +> `@rohitkumarnaidu`, you've reached your PR review limit, so we couldn't start this review. +> +> **Next review available in:** **56 minutes** +> +> Enable **[usage-based reviews](https://app.coderabbit.ai/settings/billing?tab=usage&orgId=cc990ced-70c0-4133-8264-3100524c302c)** in Billing to review now. Otherwise, wait until the next included review is available. +> You're only billed for reviews past your plan's rate limits ($0.25/file). +> +>
+> How can I continue? +> +> After more reviews become available, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. +> +> To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. +> +>
+> +> +>
+> How do review limits work? +> +> CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. +> +> For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. +> +> Please refer [docs](https://docs.coderabbit.ai/management/plans#rate-limits) for additional details. +> +>
+> +>
+> Review details +> +>
+> ⚙️ Run configuration +> +> **Configuration used**: defaults +> +> **Review profile**: CHILL +> +> **Plan**: Pro Plus +> +> **Run ID**: `bbf5879c-d759-455b-b968-22c76b9e8cec` +> +>
+> +>
+> 📥 Commits +> +> Reviewing files that changed from the base of the PR and between 1045be3a59b6f62d8d32d0ac747eb0a6b291afb8 and f72a5c33a3707f0172c56981d5d81882aadb456c. +> +>
+> +>
+> 📒 Files selected for processing (3) +> +> * `src/App.jsx` +> * `src/components/CookieConsent.jsx` +> * `src/pages/Profile.jsx` +> +>
+> +>
+ + + + + +
+✨ Finishing Touches + +
+🧪 Generate unit tests (beta) + +- [ ] Create PR with unit tests + +
+ +
+ + + + +--- + +Thanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=vallabhatech/CareSync&utm_content=326)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. + +
+❤️ Share + +- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) +- [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) +- [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) +- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code) + +
+ + +Comment `@coderabbitai help` to get the list of available commands. + + +-- +author: sonarqubecloud +association: none +edited: false +status: none +-- +## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=vallabhatech_CareSync&pullRequest=326) **Quality Gate passed** +Issues +![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=vallabhatech_CareSync&pullRequest=326&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) +![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=vallabhatech_CareSync&pullRequest=326&issueStatuses=ACCEPTED) + +Measures +![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=vallabhatech_CareSync&pullRequest=326&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) +![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=vallabhatech_CareSync&pullRequest=326&metric=new_coverage&view=list) +![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=vallabhatech_CareSync&pullRequest=326&metric=new_duplicated_lines_density&view=list) + + +[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=vallabhatech_CareSync&pullRequest=326) + + +-- diff --git a/src/App.jsx b/src/App.jsx index c92a8a0..933dc77 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -44,6 +44,7 @@ import Login from './pages/Login'; import Profile from './pages/Profile'; import DosageCalculator from './pages/DosageCalculator'; import HealthMetrics from './pages/HealthMetrics'; +import CorporateWellness from './pages/CorporateWellness'; import Footer from './components/Footer'; import NotFound from './pages/NotFound'; @@ -346,6 +347,7 @@ function App() { } /> } /> } /> + } /> } /> } /> } /> diff --git a/src/pages/CorporateWellness.jsx b/src/pages/CorporateWellness.jsx new file mode 100644 index 0000000..5932d8e --- /dev/null +++ b/src/pages/CorporateWellness.jsx @@ -0,0 +1,61 @@ +import React from 'react'; +import { Box, Typography, Container, Grid, Card, CardContent, LinearProgress } from '@mui/material'; +import { Business as BusinessIcon, People as PeopleIcon, DirectionsRun as RunIcon, Spa as SpaIcon } from '@mui/icons-material'; + +function CorporateWellness() { + const metrics = [ + { title: 'Total Employees Enrolled', value: '1,245', icon: , progress: 85 }, + { title: 'Avg. Daily Steps', value: '8,432', icon: , progress: 70 }, + { title: 'Active Wellness Plans', value: '342', icon: , progress: 45 }, + { title: 'Company Health Score', value: 'A-', icon: , progress: 92 }, + ]; + + return ( + + + + + Corporate Wellness Dashboard + + + + + Welcome to the HR Admin portal for Corporate Wellness. Here you can track anonymized, aggregate health metrics for your organization to ensure a healthy and productive workforce. + + + + {metrics.map((metric, index) => ( + + + + + {metric.icon} + + {metric.value} + + + + {metric.title} + + + + + + ))} + + + + + Recent Activity & Insights + + + - 120 employees completed the "Step Up" challenge this week.
+ - Mental Health seminars saw a 15% increase in attendance.
+ - 45 new health risk assessments were submitted today. +
+
+
+ ); +} + +export default CorporateWellness;