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

WIP: Care Plugin Support #8660

Merged
merged 48 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
1833bf8
Plugs WIP
gigincg Sep 29, 2024
21214fc
Merge branch 'develop' into plugs
gigincg Sep 29, 2024
31035c4
Enforce Node.js version 20 and update package.json
gigincg Sep 29, 2024
b62840e
Rewrite types for all Routes
gigincg Sep 29, 2024
03da7d4
Add onSave tailwindcss ordering
gigincg Sep 30, 2024
c890524
Fix Plugin Nav; Other fixes
gigincg Sep 30, 2024
82ece77
Pre-Plug
gigincg Sep 30, 2024
a00a6ba
Fix Vite Config
gigincg Oct 1, 2024
186f736
Update package-lock
gigincg Oct 1, 2024
6cef8a4
Updates: Plugin Systems
gigincg Oct 1, 2024
d13ca5a
Merge branch 'develop' into plugs
nihal467 Oct 1, 2024
7281ff1
Merge branch 'develop' into plugs
gigincg Oct 3, 2024
646c691
Add Workspaces; Add local mode; Clear livekit dependencies
gigincg Oct 8, 2024
26b9725
Merge branch 'plugs' of github.com:coronasafe/care_fe into plugs
gigincg Oct 8, 2024
e4c2e81
Fix package-lock
gigincg Oct 8, 2024
42d9bb9
Merge branch 'develop' into plugs
gigincg Oct 8, 2024
68f40c4
Merge branch 'develop' into plugs
gigincg Oct 8, 2024
2ac8670
Add preinstall script for plugins; Reduce redundant code
gigincg Oct 9, 2024
6284724
Test: Add Duplicate npm i
gigincg Oct 9, 2024
ea82d88
Attempt to fix Plugin Builds
gigincg Oct 9, 2024
5df965d
Build Updates
gigincg Oct 9, 2024
b67c990
Move to DigitalOcean Backend
gigincg Oct 11, 2024
006b2a8
Cleanup Plugins
gigincg Oct 11, 2024
7de8701
Linting
gigincg Oct 11, 2024
dfb5b6b
Cleanup AppRouter
gigincg Oct 11, 2024
52e3f71
Switch to DO Backend; Expand cursorRules
gigincg Oct 11, 2024
4c9a2bd
Purge useConfig
gigincg Oct 12, 2024
abb7241
Clear Testing Aftermath in SidebarItem
gigincg Oct 12, 2024
d84ea85
Refactor Icons Implementation
gigincg Oct 12, 2024
cd6db91
Rename HospitalList to FacilityList
gigincg Oct 12, 2024
61314f5
Merge branch 'develop' into plugs
gigincg Oct 12, 2024
a50ea01
Add a types for LegendInput
gigincg Oct 12, 2024
957b9e4
i18n User Profile
gigincg Oct 13, 2024
1447913
Merge branch 'develop' into plugs
nihal467 Oct 14, 2024
b6f6f69
update lockfile
rithviknishad Oct 14, 2024
8c4a7be
Clear unintented config for scribe
gigincg Oct 14, 2024
b8139f5
Add care- to className for icons
gigincg Oct 14, 2024
54e9f9a
modified the map icon identifier for cypress
nihal467 Oct 14, 2024
e0e46d0
fix tailwindcss class order
rithviknishad Oct 14, 2024
24b3e8b
Trigger Build
khavinshankar Oct 15, 2024
633231d
Solved merge conflicts
shivankacker Oct 15, 2024
0f1248b
Add setup to README
gigincg Oct 15, 2024
9b185c0
update lockfile again....
rithviknishad Oct 15, 2024
82b0923
Merge branch 'develop' into plugs
rithviknishad Oct 15, 2024
de02a13
switched to using envs instead of json config. Updated package pullin…
shivankacker Oct 16, 2024
60874ae
updated vulnerable code
shivankacker Oct 16, 2024
e37f9af
update readme to include the new install command
shivankacker Oct 16, 2024
05bc74c
Merge branch 'develop' into plugs
gigincg Oct 16, 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
19 changes: 19 additions & 0 deletions .cursorrules
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Care is a React Typescript Project, built with Vite and styled with TailwindCSS.

Care uses a custom useQuery hook to fetch data from the API. APIs are defined in the api.tsx file

Here's an example of how to use the useQuery hook to fetch data from the API:

```
useQuery from "@core/Common/hooks/useQuery";
const { data, loading, error } = useQuery(routes.getFacilityUsers, {
facility_id: "1",
});

request from "@core/Common/utils/request";
const { res } = await request(routes.partialUpdateAsset, {
pathParams: { external_id: assetId },
body: data,
});
```

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ bun.lockb
# Cypress
cypress/downloads
cypress/fixtures/token.json

# Care Apps
/apps/*
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
gigincg marked this conversation as resolved.
Show resolved Hide resolved
7 changes: 3 additions & 4 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"semi": true,
"jsxSingleQuote": false,
"arrowParens": "always",
"tailwindFunctions": [
"classNames"
]
}
"tailwindFunctions": ["classNames"],
gigincg marked this conversation as resolved.
Show resolved Hide resolved
"plugins": ["prettier-plugin-tailwindcss"]
}
Loading
Loading