Skip to content

STAND-122: Display OpenMRS Platform Version in Standalone App Window#79

Merged
dkayiwa merged 28 commits intoopenmrs:masterfrom
Muta-Jonathan:STAND-122
Jul 23, 2025
Merged

STAND-122: Display OpenMRS Platform Version in Standalone App Window#79
dkayiwa merged 28 commits intoopenmrs:masterfrom
Muta-Jonathan:STAND-122

Conversation

@Muta-Jonathan
Copy link
Member

See https://openmrs.atlassian.net/browse/STAND-122

Description

This pull request enhances the OpenMRS Standalone application by displaying the running Platform version in the main window title. This provides users with quick visibility into the platform version they are using, which is particularly helpful for testers, implementers, and developers.

It addresses the comment here - #78 (comment)

Changes Introduced:

Introduced logic in MainFrame to retrieve the openmrs.version using StandaloneUtil.getPlatformVersion().
Updated MainFrame.setTitle() to include the platform version in the window title, e.g., OpenMRS Standalone Platform 2.7.0-SNAPSHOT
Ensured compatibility by loading the version string from standalone.properties (resolved from Maven during the build).

Old Screenshot

Screenshot 2025-07-23 at 3 15 47 PM

New Screenshot

Screenshot 2025-07-23 at 4 09 43 PM

@dkayiwa
Copy link
Member

dkayiwa commented Jul 23, 2025

Why do you repeat the version?

@Muta-Jonathan
Copy link
Member Author

Why do you repeat the version?

Was addressing this comment here #78 (comment)
What could be the better approach do u mean I need to only mention in the title Window?

@dkayiwa
Copy link
Member

dkayiwa commented Jul 23, 2025

Why do you repeat it?

@Muta-Jonathan
Copy link
Member Author

Why do you repeat it?

I think repeating it makes the version more clear however can reduce on the duplication in the modes would that make a difference?

@dkayiwa
Copy link
Member

dkayiwa commented Jul 23, 2025

How do other applications in the industry do it?

@Muta-Jonathan
Copy link
Member Author

How do other applications in the industry do it?

In my Research
Most desktop or enterprise apps mention the version once, usually in the window title, splash screen, or bottom corner (status bar). They do not repeat the version in every option or label in the UI. so let me correct this in the standard way

@Muta-Jonathan
Copy link
Member Author

Muta-Jonathan commented Jul 23, 2025

New Looks now

Screenshot 2025-07-23 at 5 32 01 PM

Also for the start dialog
Screenshot 2025-07-23 at 5 58 53 PM

cc @dkayiwa

@dkayiwa
Copy link
Member

dkayiwa commented Jul 23, 2025

Can we remove the .DS_Store files?

@Muta-Jonathan
Copy link
Member Author

addressed @dkayiwa

@dkayiwa dkayiwa merged commit 06a02f3 into openmrs:master Jul 23, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants