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

Micro frontend refactor #3

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
bd92cbe
added vite configuration
khavinshankar Dec 14, 2024
524d536
added shadcn and replaced classNames with cn
khavinshankar Dec 14, 2024
1b7be68
replaced CareIcon with lucide icon
khavinshankar Dec 14, 2024
3046843
duplicated required utils from core
khavinshankar Dec 14, 2024
f87d3d4
replaced ButtonV2 with shadcn button
khavinshankar Dec 14, 2024
f19d559
replaced useQuery and request utils with tanstack query
khavinshankar Dec 17, 2024
49f559a
added required form fields, common components, utils from care core
khavinshankar Dec 18, 2024
ac7e568
imported required types from core and refactored types
khavinshankar Dec 18, 2024
87bbe5a
TEMP: removed context usages to fix errors
khavinshankar Jan 3, 2025
e36869d
cleanout existing abdm code and start fresh
khavinshankar Jan 8, 2025
dd81dd2
use translations from core repo
khavinshankar Jan 8, 2025
73b1bb8
use envs from core module
khavinshankar Jan 8, 2025
7f745d0
wired abha linking feature in patient home actions
khavinshankar Jan 8, 2025
0e37674
fixed styling conflicts with core app
khavinshankar Jan 8, 2025
d0bb665
fixed styling conflicts with core app
khavinshankar Jan 9, 2025
4972d48
wired abha linking feature in patient registration form
khavinshankar Jan 9, 2025
96059cb
added consent request create form
khavinshankar Jan 13, 2025
20f5a9e
added abdm encounter tabs to list consent requests and artifacts
khavinshankar Jan 13, 2025
c6200af
added health information view page
khavinshankar Jan 13, 2025
7f23bf9
added and wired configure health facility registration form
khavinshankar Jan 15, 2025
86e0639
updated __CORE_ENV__ implementation
khavinshankar Jan 21, 2025
e8ef56e
remove unwanted console logs
khavinshankar Jan 24, 2025
7b34ac4
handle onSuccess for consent create and hf id linking
khavinshankar Jan 24, 2025
dd56b91
added loaders for buttons while making api requests
khavinshankar Jan 24, 2025
272adfa
set default color as primary color in badge and button
khavinshankar Jan 24, 2025
8cfa761
moved i18n into the plug
khavinshankar Jan 27, 2025
7a83cf1
minor cleanup
khavinshankar Jan 27, 2025
45e1fd8
Cleaned up the flow (#6)
khavinshankar Feb 5, 2025
7d8eebf
fixed toast position overwriting issue
khavinshankar Feb 5, 2025
679dcce
upgraded sonner package
khavinshankar Feb 5, 2025
f4c3b2f
fixed deploy fail
khavinshankar Feb 5, 2025
78a9b35
Merge pull request #8 from ohcnetwork/micro-fe-dup
khavinshankar Feb 5, 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
21 changes: 21 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "src/index.css",
"baseColor": "gray",
"cssVariables": false,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
"iconLibrary": "lucide"
}
28 changes: 28 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'

export default tseslint.config(
{ ignores: ['dist'] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ['**/*.{ts,tsx}'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
},
)
Loading