Skip to content

Commit

Permalink
Remove more occurrences of breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen committed May 22, 2024
1 parent fea87a6 commit 696225e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,16 +133,13 @@ yarn
The patient chart consists of the following parts:

- Navigation menu
- Breadcrumbs menu
- Patient header
- Chart review / Dashboards
- Workspace
- Side menu

The **navigation menu** lives on the left side of the screen and provides links to dashboards in the patient chart.

The **breadcrumbs menu** gets shown at the top of the page under the navigation bar. It shows the user their current location relative to the information architecture and helps them quickly navigate to a parent level or previous step.

The **patient header** contains the [patient banner](packages/esm-patient-banner-app/README.md). Uninvasive notifications also appear in this area following actions such as form submissions.

The **chart review** area is the main part of the screen. It displays whatever dashboard is active.
Expand Down
9 changes: 0 additions & 9 deletions packages/esm-patient-forms-app/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {
defineConfigSchema,
getAsyncLifecycle,
getSyncLifecycle,
registerBreadcrumbs,
subscribePrecacheStaticDependencies,
syncAllDynamicOfflineData,
} from '@openmrs/esm-framework';
Expand All @@ -25,14 +24,6 @@ export const importTranslation = require.context('../translations', false, /.jso
export function startupApp() {
defineConfigSchema(moduleName, configSchema);

registerBreadcrumbs([
{
path: `${window.spaBase}/offline-tools/forms`,
title: 'Offline forms',
parent: `${window.spaBase}/offline-tools`,
},
]);

setupPatientFormSync();
setupDynamicFormDataHandler();
subscribePrecacheStaticDependencies(() => syncAllDynamicOfflineData('form'));
Expand Down

0 comments on commit 696225e

Please sign in to comment.