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

Settings screen rewrite #510

Open
wants to merge 2 commits into
base: 1.21
Choose a base branch
from

Conversation

odeyaio
Copy link
Contributor

@odeyaio odeyaio commented Sep 15, 2024

Settings screen rewrite

This pull request completely rewrites settings screen to be more maintainable, user-friendly and accessible.

image

Short list of changes:

  • Complete code rewrite with lots of improvements in readability and logic inspired by Sodium and YACL approaches
  • New, more compact and nicer layout for settings, brighter colors
  • New tooltip look with fancy gradient
  • New search field that will help to find any needed option. You can filter them by name, tooltip and current value
  • Keyboard navigation in GUI with Arrow keys and TAB
  • Useful shortcuts like SHIFT+P to get into vanilla settings or CTRL(CMD)+L to focus search field
  • Scrolling strings, Z-axis support for borders and strings and performance improvements in GuiRenderer
  • JAR size improvements: reduced size of icons and logo
  • VideoMode handling refactor and fixes
  • Config refactor and removal of VideoMode from it (saves ~100 bytes!)
  • "Current" option in Fullscreen Resolution that just uses system display settings
  • Removal of unnecessary translation fields ("Auto" for Device Selector)
  • Small grammar fixes

And more... (maybe forgot something)

@odeyaio odeyaio marked this pull request as draft September 15, 2024 17:13
@odeyaio odeyaio marked this pull request as ready for review September 22, 2024 13:54
@odeyaio odeyaio changed the base branch from 1.20.x to 1.21 September 28, 2024 15:46
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.

1 participant