-
Notifications
You must be signed in to change notification settings - Fork 210
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
(fix) O3-3890 Help menu (and menu items) should use a standard Carbon… #1164
Open
Samstar10
wants to merge
39
commits into
openmrs:main
Choose a base branch
from
Samstar10:fix/change-links-to-carbon
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
c470659
(fix) O3-3891: Adjust Change Language Modal Size to Small
Samstar10 675378a
(fix) O3-3891: Adjust Change Language Modal Size to Small
Samstar10 700b47b
(fix) O3-3891: Adjust Change Language Modal Size to Small
Samstar10 26d30e5
(fix) O3-3891: Adjust Change Language Modal Size to Small
Samstar10 1df72a9
(fix) O3-3890 Help menu (and menu items) should use a standard Carbon…
Samstar10 2a25a9d
(fix) O3-3890 Help menu should use carbon design standards
Samstar10 cc86b33
(fix) remove the change language link file.
Samstar10 5d49bc0
(fix) O3-3891: Adjust Change Language Modal Size to Small (#1162)
Samstar10 a69def6
(feat) O3-4018: Add Information and checkmarkFilled icons to the styl…
usamaidrsk 83bd341
(chore) Update translations from Transifex (#1086)
github-actions[bot] 41bb523
(fix) Fix merging configuration files to properly call readFile
ibacher 8c36d9f
(fix) Pass patient object to the banner action buttons (#1158)
vasharma05 9be3a43
(feat) O3-3774: Add implementation for the Nav Group (#1116)
hadijahkyampeire 64abbff
(chore) Update translations from Transifex (#1165)
github-actions[bot] 42e3b62
(chore) Update translations from Transifex (#1167)
github-actions[bot] 30c81fe
(chore) O3-4018: Add checkmarkFilled and information icons mocks (#1166)
usamaidrsk efb7351
(chore) O3-4011 - refactor patient banner to have patient identifiers…
chibongho 1846ee0
(refactor) Refactor REST API calls to reuse restBaseUrl (#1168)
denniskigen 6946eae
fix CheckmarkFilled icon registration (#1170)
usamaidrsk fe432a0
(fix) fix checkmark filled icon (#1171)
usamaidrsk 15ccea3
(fix) fix checkmark filled icon (#1172)
usamaidrsk 0c5ed99
(fix) Translation overrides should only apply to the specified language
ibacher 40879f5
(fix) O3-4018: Fix checkmarkFilled icon and remove broken information…
ibacher 8034703
(fix) O3-4018: Add fixed Information icon set
ibacher c002d8a
(fix) O3-4018: Add icon docs
ibacher 798f29a
(feat) Add variable name extractor to expression runner (#1173)
ibacher 2472b81
(chore) Update TX configuration for merged translations\n
ibacher 1305ecf
(chore) Update translations from Transifex (#1169)
github-actions[bot] 7fbd81f
(BREAKING) Retire concept of ConnectedExtension (#1154)
ibacher 03c4540
(fix) Expression evaluator should use typeof not instanceof to detect…
samuelmale 9dc2ada
(fix) useAssignedExtensions should not return undefined
ibacher 84c2bf7
(feat) add CheckmarkOutlineIcon (#1176)
usamaidrsk d6eb647
(feature) O3-3859 Ability to customize or add logos at the bottom of …
suubi-joshua 5bc90c2
(chore) Update translations from Transifex (#1175)
github-actions[bot] 071d83f
(fix) Fix docstring for extractVariableNames (#1178)
brandones f3dd5de
(fix) O3-3888: Tweak help menu hover state (#1179)
elishabantana bd6f8ec
(test) O3-4011 - add mock for PatientBannerPatientIdentifier (#1181)
chibongho 3d49273
(fix) O3-3891: Adjust Change Language Modal Size to Small
Samstar10 9122f78
(fix) O3-3890 Help menu should use carbon design standards
Samstar10 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
packages/apps/esm-help-menu-app/src/help-menu/components/contact-us.component.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
packages/apps/esm-help-menu-app/src/help-menu/components/docs.component.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
import React from 'react'; | ||
import { useTranslation } from 'react-i18next'; | ||
import styles from './styles.scss'; | ||
import { ArrowUpRight } from '@carbon/react/icons'; | ||
import { ArrowUpRight } from '@carbon/react/icons' | ||
import { Link } from '@carbon/react'; | ||
|
||
const Docs = () => { | ||
const { t } = useTranslation(); | ||
return ( | ||
<Link | ||
className={styles.helpButton} | ||
style={{ textDecoration: 'none' }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto. |
||
href="https://o3-docs.openmrs.org" | ||
rel="noopener noreferrer" | ||
renderIcon={ArrowUpRight} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import React from 'react'; | ||
import { useTranslation } from 'react-i18next'; | ||
import styles from './styles.scss'; | ||
import { ArrowUpRight } from '@carbon/react/icons'; | ||
import { ArrowUpRight } from '@carbon/react/icons' | ||
import { Link } from '@carbon/react'; | ||
|
||
const ReleaseNotes = () => { | ||
|
@@ -10,6 +10,7 @@ const ReleaseNotes = () => { | |
return ( | ||
<Link | ||
className={styles.helpButton} | ||
style={{ textDecoration: 'none' }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto |
||
href="https://o3-docs.openmrs.org/docs/changelog" | ||
rel="noopener noreferrer" | ||
renderIcon={ArrowUpRight} | ||
|
6 changes: 6 additions & 0 deletions
6
packages/apps/esm-help-menu-app/src/help-menu/components/styles.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
@use '@carbon/layout'; | ||
@use '@carbon/type'; | ||
@use '@carbon/colors'; | ||
@import '~@openmrs/esm-styleguide/src/vars'; | ||
|
||
.helpButton { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
padding: layout.$spacing-03; | ||
color: black !important; | ||
&:focus { | ||
outline: none; | ||
} | ||
} | ||
|
||
.helpButton:hover { | ||
background: colors.$gray-10-hover; | ||
} |
4 changes: 2 additions & 2 deletions
4
packages/apps/esm-help-menu-app/src/help-menu/help-popup.component.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 12 additions & 10 deletions
22
packages/apps/esm-implementer-tools-app/translations/am.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
{ | ||
"activeItemSourceText": "The current value comes from ", | ||
"backendModules": "Backend Modules", | ||
"backendModules": "Backend modules", | ||
"checkImplementerToolsMessage": "Check the Backend Modules tab in the Implementer Tools for more details", | ||
"clearConfig": "Clear Local Config", | ||
"clearConfig": "Clear local config", | ||
"close": "Close", | ||
"configuration": "Configuration", | ||
"description": "Description", | ||
"downloadConfig": "Download Config", | ||
"downloadConfig": "Download config", | ||
"edit": "Edit", | ||
"editValueButtonText": "Edit", | ||
"enabled": "Enabled", | ||
"extensions": "Extensions", | ||
"featureFlag": "Feature Flag", | ||
"featureFlags": "Feature Flags", | ||
"frontendModules": "Frontend Modules", | ||
"installedVersion": "Installed Version", | ||
"featureFlag": "Feature flag", | ||
"featureFlags": "Feature flags", | ||
"frontendModules": "Frontend modules", | ||
"installedVersion": "Installed version", | ||
"itemDescriptionSourceDefaultText": "The current value is the default.", | ||
"jsonEditor": "JSON Editor", | ||
"jsonEditor": "JSON editor", | ||
"missing": "Missing", | ||
"moduleName": "Module Name", | ||
"moduleName": "Module name", | ||
"modulesWithMissingDependenciesWarning": "Some modules have unresolved backend dependencies", | ||
"requiredVersion": "Required Version", | ||
"resetToDefaultValueButtonText": "Reset to default", | ||
"uiEditor": "UI Editor", | ||
"uiEditor": "UI editor", | ||
"unknownVersion": "unknown", | ||
"updateConfig": "Update config", | ||
"value": "Value", | ||
"viewModules": "View modules" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
packages/apps/esm-implementer-tools-app/translations/de.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"activeItemSourceText": "The current value comes from ", | ||
"backendModules": "Backend modules", | ||
"checkImplementerToolsMessage": "Check the Backend Modules tab in the Implementer Tools for more details", | ||
"clearConfig": "Clear local config", | ||
"close": "Close", | ||
"configuration": "Configuration", | ||
"description": "Description", | ||
"downloadConfig": "Download config", | ||
"edit": "Edit", | ||
"editValueButtonText": "Edit", | ||
"enabled": "Enabled", | ||
"extensions": "Extensions", | ||
"featureFlag": "Feature flag", | ||
"featureFlags": "Feature flags", | ||
"frontendModules": "Frontend modules", | ||
"installedVersion": "Installed version", | ||
"itemDescriptionSourceDefaultText": "The current value is the default.", | ||
"jsonEditor": "JSON editor", | ||
"missing": "Missing", | ||
"moduleName": "Module name", | ||
"modulesWithMissingDependenciesWarning": "Some modules have unresolved backend dependencies", | ||
"requiredVersion": "Required Version", | ||
"resetToDefaultValueButtonText": "Reset to default", | ||
"uiEditor": "UI editor", | ||
"unknownVersion": "unknown", | ||
"updateConfig": "Update config", | ||
"value": "Value", | ||
"viewModules": "View modules" | ||
} |
26 changes: 14 additions & 12 deletions
26
packages/apps/esm-implementer-tools-app/translations/es.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
{ | ||
"activeItemSourceText": "El valor coriente viene de ", | ||
"backendModules": "Modulos backend", | ||
"checkImplementerToolsMessage": "Consulta la pestaña Módulos de Backend en las Herramientas del Implementador para obtener más detalles", | ||
"clearConfig": "Borrar config", | ||
"activeItemSourceText": "El valor actual viene de ", | ||
"backendModules": "Módulos Backend", | ||
"checkImplementerToolsMessage": "Consulta la pestaña Módulos Backend en las Herramientas del Implementador para obtener más detalles", | ||
"clearConfig": "Borrar configuración local", | ||
"close": "Cerrar", | ||
"configuration": "Configuración", | ||
"description": "Descripción", | ||
"downloadConfig": "Descargar config", | ||
"downloadConfig": "Descargar configuración", | ||
"edit": "Editar", | ||
"editValueButtonText": "Editar", | ||
"enabled": "Habilitado", | ||
"extensions": "Extensiones", | ||
"featureFlag": "Feature Flag", | ||
"featureFlags": "Feature Flags", | ||
"frontendModules": "Frontend Modules", | ||
"featureFlag": "Feature flag", | ||
"featureFlags": "Feature flags", | ||
"frontendModules": "Módulos Frontend", | ||
"installedVersion": "Versión instalada", | ||
"itemDescriptionSourceDefaultText": "El valor coriente es lo predeterminado.", | ||
"jsonEditor": "Editar como JSON", | ||
"missing": "Falta", | ||
"moduleName": "Nombre de modulo", | ||
"modulesWithMissingDependenciesWarning": "Some modules have unresolved backend dependencies", | ||
"moduleName": "Nombre del módulo", | ||
"modulesWithMissingDependenciesWarning": "Algunos módulos tienen dependencias del backend sin resolver", | ||
"requiredVersion": "Versión requerida", | ||
"resetToDefaultValueButtonText": "Volver al valor predeterminado", | ||
"uiEditor": "Editór visual", | ||
"unknownVersion": "desconocida", | ||
"uiEditor": "Editor visual", | ||
"unknownVersion": "desconocido/a", | ||
"updateConfig": "Actualizar configuración", | ||
"value": "Valor", | ||
"viewModules": "Ver módulos" | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should move to
styles.scss
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@denniskigen for some reason whenever I move this to the styles.css it does not work. This is the only way it works.