197 Commits

Author SHA1 Message Date
Alfredo Monclus
98c6ca5dfa job_status: make the animation smoother and overscroll a bit 2024-06-13 23:09:42 -03:00
Alfredo Monclus
ef81bb4769 layout: various tweaks
increase font-size

job_status improved auto-sized thumb

prioritize data over names in main and temp
2024-06-11 00:51:47 -03:00
Alfredo Monclus
4060d6ef18 job_status: remove the status message and use the titlebar for that 2024-06-10 15:07:53 -03:00
Alfredo Monclus
e3174c4929 fix small leaks with timers
50kb over 1200 iterations doesn't seem much, but anyway
2024-06-08 14:06:06 -03:00
Alfredo Monclus
2d2e80c3fd panels: allow to call them without name 2024-06-04 11:16:50 -03:00
Alfredo Monclus
7d6260d3ed job_status: fix layout break due to too long temps
having 3 heaters with power enabled is too long and breaks the interface, return to no extra digit in the job-status page
2024-05-27 23:19:12 -03:00
Alfredo Monclus
3b010e6901 job_status: add check to label animate 2024-05-25 15:15:19 -03:00
Alfredo Monclus
32ba2099cb job_status: use full words for remaining and allow translations 2024-05-23 23:21:24 -03:00
alfrix
d24c8f078a job_status: change thumb request fixes #1366 2024-05-13 18:36:16 -03:00
alfrix
616574ed3b drop set_dev_stat and get_dev_stat
this creates a parallel set of data that could become desynced
2024-05-02 19:01:39 -03:00
alfrix
17c65f7916 job_status: overscrolling fix #1339 2024-04-21 14:55:33 -03:00
alfrix
fad00227fa job_status: fix filename sometimes not scrolling until the end 2024-04-13 10:27:07 -03:00
alfrix
a18b198bf2 dialogs: add the ability to show dialogs without buttons for fullscreen view (click to close) 2024-04-07 12:26:59 -03:00
alfrix
ebf7d574b7 job_status: while on auto remaining time bail out of slicer estimation if it's wrong (print is taking longer than slicer estimation) 2024-03-17 03:46:17 -03:00
alfrix
082fba4104 job_status: fix progess of no-extrusion prints (no print_duration reported) 2024-03-16 15:47:33 -03:00
alfrix
1e2f538210 job_status: fix metadata not updating after printer switch fixes #1301 2024-03-13 05:27:33 -03:00
alfrix
8eec15fbf8 job_status: show current offset when saving to endstop close #1286 2024-03-08 09:57:59 -03:00
Alfredo Monclus
ce884154d6
print panel refactor and new features (#1270)
Adds a grid/thumbnail mode (switchable to the list mode)
last mode used is saved
faster load and less memory usage
add sort by size
2024-02-29 15:07:50 -03:00
alfrix
0d4f19e406 job_status: fix for progress sometimes not starting at 0 2024-02-09 18:18:46 -03:00
alfrix
6f6f0d3f13 job_status and base_panel: supress is twice as slow than directly checking if the key exist 2024-01-26 09:14:06 -03:00
alfrix
8717dd8836 files: refactor and cleanups 2024-01-16 13:56:33 -03:00
alfrix
c6a91a1562 job_status: refactor the estimation code
fixes no-extrusion cases, and some edge cases
2024-01-13 12:29:36 -03:00
alfrix
98da293cee refactor job_status and titlebar_items to allow multiple extruders 2024-01-10 23:30:39 -03:00
alfrix
6cf639c083 refactor widget creation
improves performance and makes the code cleaner

* add parameters instead of calling methods afterwards
* remove a a lot of size requests
* remove parameters that are being set to the default value
* simplify dialogs containers
2024-01-02 08:14:51 -03:00
Alfredo Monclus
1794d8aa24
feat: macro prompts close #1216 (#1219)
* feat: macro prompts close #1216

now the user can have confirmation on macros using this feature close #835

* prompt: remove separator and remove the header and close button if windowed

* prompt: wakeup screen

* prompt: slightly larger close icon
2024-01-02 08:04:02 -03:00
alfrix
2e80d532d6 job_status: fix rounding to 100 2023-10-13 13:44:13 -03:00
alfrix
3067651f8b job_status: fix issue with thumbnail at low resolutions 2023-10-13 13:20:20 -03:00
alfrix
9d177d2afc job_status and print: revise the size of the thumbnail close #1136 2023-10-07 13:02:05 -03:00
alfrix
9a215306b7 job_status: fix E225 2023-09-03 11:49:22 -03:00
alfrix
6dc2df25f7 job_status: patch print_time estimating too early 2023-09-02 17:37:56 -03:00
alfrix
e80ef7eff5 dialogs: simplify dialog calls, fix layout issue 2023-08-30 01:21:17 -03:00
alfrix
8209dbabf4 job_status: click thumbnail for fullscreen thumbnail 2023-08-28 15:08:34 -03:00
alfrix
f3c2736f9f refactor temp updates for devices fix extruder_stepper icon error 2023-08-26 13:05:44 -03:00
alfrix
d9a6d0caa6 job_status: fixup progress initialization if restarted during print 2023-08-18 11:48:37 -03:00
alfrix
bd98e758ec base_panel improvements
* generalize macro shortcut to allow changing it in the future
* action_bar functionality is now handled in one place for better maintainability
2023-08-18 11:48:37 -03:00
alfrix
90fc3288d7 Use callbacks to disable and enable buttons to improve user feedback
buttons now show a spinner if watiting for callback
2023-08-18 11:48:37 -03:00
alfrix
9ba8d04861 printer: save and use available commands 2023-08-18 11:48:37 -03:00
alfrix
365b9bde4f job_status: fixup remaining times 2023-08-03 02:08:46 -03:00
alfrix
8d9236a2df screen: simplify panel loading
this removes create_panel function from panels and mandates a class name Panel

remove panel_type param and only use a panel_name that is it's filename

remove load_panel dict

always reinit panel, (simpler and safer but slower)
2023-07-30 12:22:58 -03:00
alfrix
71dcb1f91d job_status: tweaks to the calc of time remaining 2023-07-30 12:22:58 -03:00
alfrix
7ba9e49374 job_status: show save to endstop to apply offset for deltas close #916
Z_OFFSET_APPLY_ENDSTOP works in deltas since f078a27905
2023-07-30 12:22:58 -03:00
alfrix
ae03e7d55d job_status: fix screen overflow on small screens 2023-07-30 12:22:58 -03:00
alfrix
72c6bdfe33 job_status: change progress percentage to time-based instead of file-based 2023-07-30 12:22:58 -03:00
alfrix
3c69bcb4c4 add parameter to labels to silence IDE warnings 2023-07-30 12:22:58 -03:00
alfrix
a149796b19 reduce the use of contextlib 2023-07-30 12:22:58 -03:00
alfrix
2a9044e4f4 job_status: refactor to improve efficiency
job_status: refactor lcd_message
2023-07-30 12:22:58 -03:00
Alfredo Monclus
b5abd3d7b9
temperature: select the device that was selected in job_status (#1025) 2023-06-30 17:43:00 -03:00
alfrix
eb0e6ad803 job_status: disable restart and pause after pressing and simplify enable 2023-06-21 17:42:32 -03:00
alfrix
35498d39c7 job_status: fix not fitting on 480 wide screens 2023-06-13 13:39:23 -03:00
alfrix
ff94b45c45 close dialogs when transitioning to printing
also simplify the transition
2023-06-13 11:08:18 -03:00