-
Notifications
You must be signed in to change notification settings - Fork 10
IA-2044: Adding id to org unit base info tab #2630
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
base: develop
Are you sure you want to change the base?
Conversation
quang-le
left a comment
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.
| disabled={disabled} | ||
| /> | ||
| </FormControlComponent> | ||
| </FormControlComponent> |
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.
You need ton configure your linter to remove these trailing spaces
| <TableBody> | ||
| <Row | ||
| label={formatMessage(MESSAGES.ID)} | ||
| value={orgUnit.id ?? '-'} |
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.
| value={orgUnit.id ?? '-'} | |
| value={orgUnit.id ?? textPlaceholder} |
You need to add the import from bluesquare-components
| "iaso.stock.version.dialog.delete": "¿Estás seguro de que quieres eliminar esta versión?", | ||
| "iaso.tasks.no_logs_to_show": "No hay registros para mostrar." | ||
| "iaso.tasks.no_logs_to_show": "No hay registros para mostrar.", | ||
| "iaso.orgUnits.id": "ID" |
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.
You need to delete this
| "iaso.orgUnits.forms.noData": "Aucun formulaire", | ||
| "iaso.orgUnits.formsHelperText": "Soumissions du formulaire", | ||
| "iaso.orgUnits.GPSWarning": "Les coordonnées GPS ne seront PAS mises à jour pour les unités d'org qui ont déjà des données géographiques", | ||
| "iaso.orgUnits.id": "ID", |
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.
same

What problem is this PR solving? Explain here in one sentence.
Related JIRA tickets : https://bluesquare.atlassian.net/browse/IA-2044
Self proofreading checklist
Changes
The Org unit base info tab didn't display the ID. The user had to navigate to the main org unit lists. I added the ID so that it can be displayed with other org units elements.
How to test
Go to Org unit list, click on the view button in the action cell, the info tab should display the details of the org unit with its ID.
Print screen / video
Upload here print screens or videos showing the changes.
Notes
Things that the reviewers should know:
Follow the Conventional Commits specification
The merge message of a pull request must follow the Conventional Commits specification.
This convention helps to automatically generate release notes.
Use lowercase for consistency.
Example:
Note that the Jira reference is preceded by a line break.
Both the line break and the Jira reference are entered in the Add an optional extended description… field.