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

Cosmetic changes to DWIN/E3V2 UI's #26980

Open
wants to merge 20 commits into
base: bugfix-2.1.x
Choose a base branch
from

Conversation

classicrocker883
Copy link
Contributor

@classicrocker883 classicrocker883 commented Apr 17, 2024

Description

Mostly updating CrealityUI + ProUI spacing. Some tweaking of comments.

  • Removed whitespace and unnecessary spacing - mostly from dwin.cpp
  • Use GET_TEXT_F and MSG_... from language_en.h instead of literal Strings in CrealityUI, which was a TODO:

No other real important code changes, merely just cosmetic or rearranging of code

  • Removed single use MSG_UBL_MESH_LEVELING, swap w/`MSG_MESH_LEVELING
  • Removed MSG_INFO_PRINTER_STATS_MENU, swap w/MSG_INFO_STATS_MENU
  • Rerranged part of language_*.h for readability/group alike

Requirements

Benefits

Less clumped, crowded.
Better readability.

Configurations

Related Issues

@sjasonsmith
Copy link
Contributor

@classicrocker883 just to let you know, I'm avoiding merging anything with cosmetic changes. The style of Marlin is hard to decipher, and outside of thinkyhead most of us don't really know what changes are welcome.

I'm happy to review and merge bug fixes or or other functional changes if their benefit is clear and I understand the change, but the presence of any cosmetic "cleanup" mixed in makes it much harder for me to consider merging.

@sjasonsmith
Copy link
Contributor

I also think the title calling this PR "cosmetic" changes is incomplete. It seems like you have several other improvements (or at least changes) mixed in with the truly cosmetic changes, which would be nice to evaluate on their own.

@classicrocker883 classicrocker883 changed the title Cosmetic changes to DWIN/E3V2 UI's Cosmetic changes to DWIN/E3V2 UI's, rearrange+add Level Menu to ProUI Apr 22, 2024
@classicrocker883 classicrocker883 changed the title Cosmetic changes to DWIN/E3V2 UI's, rearrange+add Level Menu to ProUI Cosmetic changes to DWIN/E3V2 UI's May 29, 2024
@classicrocker883
Copy link
Contributor Author

This PR is ready for merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants