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

Change all 'emr.' messages to 'coreapps.' equivalents #95

Closed
wants to merge 2 commits into from

Conversation

brandones
Copy link
Contributor

No description provided.

@brandones
Copy link
Contributor Author

I went through and checked which ones actually exist in coreapps. Apparently a lot of messages just didn't get migrated, or they were migrated and then removed later. Those messages I'm leaving on emr.

Copy link
Member

@mogoodrich mogoodrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ugh. So when I reviewed this ticket, I didn't realize that a lot of these message codes were being used in UI Commons.

The issue is that Core Apps depends on UI Common so we've got a (light) circular dependency here now. This probably isn't a problem, because I think everyone who uses UI Commons uses Core Apps, but I'm not sure about that... and also, as we try to phase out the 2.0 UI the future it might mean we need to keep Core Apps around longer than we'd like.

My quick thoughts:

  • Move all the "emr.*" properties in the UI Commons messages.properties to the bottom of the file and add a comment that these are deprecated (I think Transifex will maintain comments)

  • Copy all the "emr." properties to new "uicommons." properties and add them to the messages.properties file

  • Do the same in all the message_* files

  • Force push up all the Transifex files

  • Change all usages of "emr." and "coreapps. in UI Commones to "uicommons.*"

I'm open to better suggestions. Alternatively, you could just target the ones that are causing a problem?

(The issue he that we copied over the "emr.*" properties from the defunct EMR module back in the day and didn't bite the bullet then and rename them.)

@brandones
Copy link
Contributor Author

Closing in favor of PIH/openmrs-module-emr#6

@brandones brandones closed this Aug 4, 2021
@brandones brandones deleted the emr-to-coreapps branch August 4, 2021 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants