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

Add missing titles #156

Merged
merged 6 commits into from
Aug 9, 2024
Merged

Add missing titles #156

merged 6 commits into from
Aug 9, 2024

Conversation

Tomcus
Copy link
Contributor

@Tomcus Tomcus commented Aug 9, 2024

Added missing (replaced empty) titles. Check the commits for more info.
Also I have added a simple test that verifies the provided data (I know that most of the errors would be caught when generating the c++ code in our repo, but we can now check the values too (at least their length)).

BFW-5773

@Tomcus Tomcus changed the title 🚧 Add missing titles Add missing titles Aug 9, 2024
@@ -0,0 +1,43 @@
import unittest
Copy link
Contributor

Choose a reason for hiding this comment

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

Appreciate the unittest 👍

The bootloader only shows "Error #XXXX" as a title. But other bootloader
errors were assigned a title, so I took "artistic liberties" to assign
something to them

BFW-5773
Technically the printer doesn't show any title when showing warnings
(the title that is shown is the title of the screen that was rendered
before the warning was shown). Similar to error `XX806` we can set every
warning title to "Warning".

BFW-5773
These errors are shown during crash recovery and the screen sets common
title for all of them.

BFW-5773
The only remaining dialog was Quick Pause dialog. Again since it is a
dialog it doesn't have any title in the code, but we can assign its name
after the feature, similar to warnings.

BFW-5773
This is a generic error that happens in Load/Unload with MMU. There is
large number of errors that can happen during the MMU Loading/Unloading
so we use a generic title here.

BFW-5773
@Tomcus Tomcus merged commit 0699917 into master Aug 9, 2024
6 checks passed
@Tomcus Tomcus deleted the add-missing-titles branch August 9, 2024 09: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.

2 participants