Skip to content

Commit

Permalink
Merge pull request #355 from vselvarajijay/go-live-version
Browse files Browse the repository at this point in the history
bug fix on cocm-registry, rolling back changes
  • Loading branch information
vselvarajijay authored Mar 8, 2024
2 parents 0fd563d + ed87b45 commit f988d6d
Show file tree
Hide file tree
Showing 8 changed files with 1,518 additions and 1,492 deletions.
1,109 changes: 558 additions & 551 deletions apps/cocm-registry/pnpm-lock.yaml

Large diffs are not rendered by default.

12 changes: 4 additions & 8 deletions apps/cocm-registry/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,10 @@ export default function App() {
</Route>
<Route path="/registry" element={<RegistryShell />}>
<Route path={":registry_id"} element={<RegistryPage drawerHandlers={drawerHandlers} />} />
<Route path={":registry_id/dashboard"} element={<DashboardPage />} />
{/*
<Route path={":registry_id/team"} element={<TeamPage />} />
*/}
<Route path={":registry_id/reports"} element={<ReportsPage />} />
{/*
<Route path={":registry_id/apps"} element={<AkelloApps />} />
*/}
<Route path={":registry_id/dashboard"} element={<DashboardPage />} />
<Route path={":registry_id/team"} element={<TeamPage />} />
<Route path={":registry_id/reports"} element={<ReportsPage />} />
<Route path={":registry_id/apps"} element={<AkelloApps />} />
<Route path={":registry_id/apps/:app_id"} element={<AkelloAppSettingsPage />} />
<Route path={":registry_id/patient-referral"} element={<PatientReferralPage />} />
<Route path={":registry_id/patient/:patient_id/treatment-session"} element={<PatientSession />} />
Expand Down
4 changes: 4 additions & 0 deletions apps/cocm-registry/src/components/RegistryCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ const RegistryCard: React.FC<RegistryCardProps> = (props) => {
navigate('/registry/' + props.registry.id);
akello.selectRegistry(props.registry);
}}>
{/*
<Group justify="space-between">
<Avatar radius="xl" />
<div></div>
{
props.registry.stats['safety_risk'] && <Badge color='red'>Safety Risk</Badge>
}
</Group>
*/}

<Text fz="lg" fw={500} mt="md">
{props.registry.name}
Expand All @@ -35,12 +37,14 @@ const RegistryCard: React.FC<RegistryCardProps> = (props) => {
</Text>


{/*
<Text c="dimmed" fz="sm" mt="md">
Minutes completed this month:{' '}
<Text span fw={500} c="bright">
{props.registry.stats.completed_minutes.toFixed(2)}
</Text>
</Text>
*/}
<Text c="dimmed" fz="sm">
Patients:{' '}
<Text span fw={500} c="bright">
Expand Down
11 changes: 4 additions & 7 deletions apps/cocm-registry/src/components/RegistryShell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ const RegistryShell = () => {
label="Registry"
leftSection={<IconTable size="1rem" stroke={1.5} />}
active={window.location.pathname === '/registry/' + akello.getSelectedRegistry()?.id}
/>
{/*
/>
<NavLink
onClick={() => {
navigate('/registry/' + (akello.getSelectedRegistry()?.id ?? '') + '/team');
Expand All @@ -72,8 +71,7 @@ const RegistryShell = () => {
label="Team"
leftSection={<IconUserCircle size="1rem" stroke={1.5} />}
active={window.location.pathname === '/registry/' + (akello.getSelectedRegistry()?.id ?? '') + '/team'}
/>
*/}
/>
<NavLink
onClick={() => {
const selectedRegistry = akello.getSelectedRegistry();
Expand All @@ -85,8 +83,7 @@ const RegistryShell = () => {
label="Billing Report"
leftSection={<IconReportAnalytics size="1rem" stroke={1.5} />}
active={window.location.pathname === '/registry/' + akello.getSelectedRegistry()?.id + '/reports'}
/>
{/*
/>
<NavLink
onClick={() => {
const selectedRegistry = akello.getSelectedRegistry();
Expand All @@ -98,7 +95,7 @@ const RegistryShell = () => {
label="Akello Apps"
leftSection={<IconRobot size="1rem" stroke={1.5} />}
active={window.location.pathname.includes('/registry/' + akello.getSelectedRegistry()?.id + '/apps')}
/> */}
/>
</AppShell.Navbar>
<AppShell.Main>
<Outlet />
Expand Down
6 changes: 3 additions & 3 deletions packages/core/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f988d6d

Please sign in to comment.