Skip to content

Conversation

ix0rai
Copy link
Member

@ix0rai ix0rai commented Feb 24, 2025

finally modularises the menu bar. this class was so obnoxious

  • adds consistent state updating (adding list entries, updating button selections, etc) via a unified method
    • some options that weren't previously updated are now updated!
  • adds consistent retranslation via a unified method
    • nearly all submenus were never retranslated, now they are!
  • swaps translations for mapping formats from mapping_format.${service id} to {service id}
    • fixes translations not being properly applied
    • plugins cannot provide their own translations for their formats, this needs to be addressed
  • updates the menu bar to a multiclass/multipackage setup where each submenu is its own class

based on #255

@ix0rai ix0rai added user interface affects the enigma ui refactor improvements that don't impact functionality labels Feb 24, 2025
@ix0rai ix0rai changed the base branch from master to develop/2.7 August 18, 2025 01:09
ix0rai added 6 commits August 30, 2025 17:44
# Conflicts:
#	enigma-swing/src/main/java/org/quiltmc/enigma/gui/GuiController.java
#	enigma-swing/src/main/java/org/quiltmc/enigma/gui/config/StatsSection.java
#	enigma-swing/src/main/java/org/quiltmc/enigma/gui/dialog/StatsDialog.java
#	enigma-swing/src/main/java/org/quiltmc/enigma/gui/element/MenuBar.java
#	enigma-swing/src/main/java/org/quiltmc/enigma/gui/element/StatsTooltipPanel.java
#	enigma-swing/src/main/java/org/quiltmc/enigma/gui/node/ClassSelectorClassNode.java
#	enigma/src/main/java/org/quiltmc/enigma/api/stats/StatsGenerator.java
Copy link
Member

@supersaiyansubtlety supersaiyansubtlety left a comment

Choose a reason for hiding this comment

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

Looks great, way cleaner!

just a few question, nitpicks, and a couple visual bugs

@ix0rai ix0rai merged commit 94025f3 into QuiltMC:develop/2.7 Sep 2, 2025
3 of 4 checks passed
@ix0rai ix0rai deleted the menu-bar-refactor branch September 2, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor improvements that don't impact functionality user interface affects the enigma ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants