-
-
Notifications
You must be signed in to change notification settings - Fork 731
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
Big overhaul of the UI framework #1749
Conversation
Hello. I have a couple of questions so far:
Thanks. |
Ideally within a week, depends how much spare time I get.
If it is ready before the BLE issue for PinecilV2 is fixed then it will be included.
|
@Ralim Do we still need the redesigned graphics? |
Absolutely; I left you out of being tagged as its definitely not fully functional yet 🙇🏼 Ill let you know :)
Those will be great to have as the next step after this one. So no rush, I decided I'd tackle this first before the dual resolution support. As soon as they are done let me know and can get them in, but no rush at all. Super appreciate you for anything you do here, I'm not the best at pixel editing (as verified by the early versions of this firmware). |
@discip Would love you to give it an eye over and see how many things I've missed 😁 I'm sure there will be some in sleep and shutdown ish modes, will dig into them more later. But settings should work. |
Finally the animations are smooth again! 🎉 👍🏻 🚀Not working for:
|
Should be fixed now 🙏🏼 Helps if I remember to do the save.
Going to leave this one to last and focus on the rest first.
Should be fixed now 🙏🏼
Should be fixed now 🙏🏼
Should be fixed now 🙏🏼
Dang I was hoping to get away with not doing these two as the couple a bunch of logic. Will poke these later.
I'm not quite following this, looking here as I move down the menu it appears to follow?
Should be fixed now 🙏🏼
Should be fixed now 🙏🏼
Dang, guess what I'm mostly testing on 🤣
The code is setup to slide both ways, just haven't coded an "up" animation yet.
Super clear, dont worry at all :) |
@discip More updates :) For me the reset settings seems to confirm; can you lmk what your seeing? I think I got the rest of the above 🙇🏼 |
@Ralim Great! 👍🏻
|
|
||
uint16_t setOffset = TipThermoModel::convertTipRawADCTouV(cxt->scratch_state.state3 / 16, true); | ||
setSettingValue(SettingsOptions::CalibrationOffset, setOffset); | ||
if (warnUser(translatedString(Tr->CJCCalibrationDone), buttons)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this by design or could we keep the previous way?
if (warnUser(translatedString(Tr->CJCCalibrationDone), buttons)) { | |
if (warnUser(translatedString(Tr->CJCCalibrationDone), 3 * TICKS_SECOND)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, committing that was absolutely by accident! 😱
Please forgive me. 😞I don't know what initially caused this, but I somehow managed to destroy your work, at least to some extent. I'm very sorry! |
Naah your fine, though for this branch I'll handle the updates as its such a messy one it tends to break 😁 |
@Ralim Is there anything to test yet? 😁 |
Monday/Tuesdays are hectic days for me so nothing probably until Wednesday I'm afraid |
Didn't know that, so no intention to push. 😊 Rush is poison. You know, it has not to be fast in the first place. So take your time. |
@Ralim temp adjustchanged temp is only saved after menu was entered standbydoes not work (previously the OLED turned off if not moved for 1 minute)
|
@Ralim |
@Ralim |
Yeah I'm aware, I want to push 2.22 out first before getting back to this.
Also feels like a bug 😓 |
Can't wait to see this day! 😁
On the |
229ac52
to
17bcc85
Compare
Great! Can't wait to test all this! 😁 |
Thank you very much for the spontaneous reactions. 😀 👍🏻
' 1. Fixed to some extent, but unfortunately new issues creeped in:
BTW: |
1/2/3 should be fixed now |
Note that |
Scratch that, it should work now |
I think I stumbled over this some time in the past already, but did not bother reporting it at that time. Still not home. Will report, as soon as I get there. |
Thank you once more! 👍🏻Except for 1.6, 1 - 3 are fixed. But there are still some other discrepancies:
|
I follow the discussion |
Otherwise incrementing would stop and the scroll bar would already flash at the second to last value.
There is a lockout on undervoltage for the first 2 seconds. To confirm, does this occur after 2 seconds? |
After your latest commit this did not occur yet. off-topic: |
Ah heck, yeah the 4 points under the OLED need to be used, I couldn't get it to work over the usb port either for me. For me, it was still flaky trying to connect via SWD. I ended up putting a craft knife between the reset pin and VSS to hold reset low while I connected to it (which worked but is suuper fiddly) |
@Ralim After having tested this PR on all the irons I have here [ But there are 2 minor things which could also be adapted:
|
Fantastic news to hear ❤️ |
Hello. First of all, I would like to congratulate & thank you for this grand merge: thanks to @Ralim for this huge work being done and thanks to @discip for testing & reporting & testing again before anyone else could deal with all kind of issues if any. But I have a few questions though...
Thanks in advance for answers because I'm just curious from project planning perspective what's next. |
|
One of those fun PR's that touches more than half the code in the entire codebase.
I've been putting this off all year.
This is a big refactor to migrate the whole UI to be more of an immediate mode style instead.
This is to be done for future plans to support better UI layouts (pre-rendered layouts).
This is also a requirement for BLE control of the operating mode. Which has been requested a few times.
This also means we get a far simpler implementation for transitions, and things should render a bit more smoothly in general.
What is the current behavior?
Everything (generally) works
What is the new behavior (if this is a feature change)?
Everything is broken.Ideally things would be roughly the same.At the moment they are not. Still have a fair few kinks to work out here.
Marking this PR here so that others can review and comment on where I'm heading.
This is not mergable yet :)