Bram-Hub/LEGUP

[ENHANCEMENT] Single root reference for application version.

Opened this issue · 0 comments

Describe the current behavior of what you're trying to improve. If your enhancement request related to a problem, please also describe the problem.

Java files each store a separate instance of the application version information (usually as a String).

Describe the improvement you'd like

Have all these separate instances instead be references to a single object detailing the application's version information.

Describe alternatives you've considered

i.e. Have all instances of "Version #.#.#" instead be references to a String from a Version singleton. Puzzle Files also have references to the Legup version but those can be ignored, as updating them must be done manually and currently has no easy solution for automation.

Additional Context

Currently known files with application version information:

  • HomePanel.java
  • ProofEditor.java
  • PuzzleEditorPanel.java