74 Commits

Author SHA1 Message Date
alfrix
b1f149495d themes: update material-dark and material-darker 2022-08-01 17:25:13 -03:00
alfrix
16871f967e Add bed-mesh icon 2022-08-01 13:59:09 -03:00
alfrix
9c2b52009a built-in keyboard 2022-08-01 12:23:40 -03:00
alfrix
88ca902a4b popups: wrap long messages, increase margins, touch anywhere to close 2022-08-01 12:23:40 -03:00
alfrix
f9e6ac62b7 main menu and temp cleanups and tweaks 2022-08-01 12:23:40 -03:00
alfrix
6510b2ec6b Refactor
Use f-strings
Avoid unnecessary casts to str()bool()int()
Ensure file closure
Merge nested ifs
Simplify for-assigns-appends with comprehensions and internal functions
Avoid shadowing internal function names
Initialize variables
Return value directly instead of assign then return
Make some methods static
2022-08-01 12:23:40 -03:00
alfrix
f97bed826b style: deprecate active_device class 2022-07-04 13:46:04 -03:00
alfrix
5f1d239211 performance: do not use transparency 2022-07-03 12:03:50 -03:00
alfrix
c18e2d148e layout: content margins in css
close #558 (use .action_bar{} and .content{} in a custom theme)
2022-07-03 12:03:50 -03:00
alfrix
b76953ebfe theme: material darker use elevation and fix some colors 2022-07-03 12:03:50 -03:00
alfrix
c4780fa56e performance: remove the background on default themes it can cause severe performance degradation and scrolling issues 2022-07-03 12:03:50 -03:00
alfrix
faf997c7ae keyboard: improve layout and interactions on panels with entry 2022-07-03 12:03:50 -03:00
alfrix
431eb0058c system: remove unused function 2022-07-03 12:03:50 -03:00
alfrix
cc755edeb2 wider scrollbar because it's hard to use on small screens 2022-05-31 11:14:42 -03:00
alfrix
4ff63798c8 job_status: ask for confirmation, and show saved offset 2022-05-31 11:14:42 -03:00
alfrix
7c8d4ea4d7 extrude: add filament sensor support 2022-05-31 11:14:42 -03:00
alfrix
ade8911ba6 limits: add reset, allow to set above the configured maximum but turn the slider red 2022-05-31 11:14:42 -03:00
Alfredo Monclus
31546f0020
Improve Job status (#592)
Adds heater_generic and/or temp_sensors besides extruder/bed (because of the limited space maybe only 1)
Temps are now buttons and act as a shortcut to the temp panel
Adds fan_generic to the fan label and it's now a shortcut to the fan panel
The colors and size of the progress circle were changed to be more subtle.
Margins between items were augmented, because they are buttons now
Adds 3 information pages: move, extrusion and time:

    move can be opened with speed or z buttons
    time with elapsed/remaining buttons
    extrusion with the extrude_factor / flowrate button
2022-05-01 12:22:58 -03:00
alfrix
ab38dab291 style: add heater_generic icon 2022-04-02 14:29:31 -03:00
alfrix
f707ba8cf3 style: change load icon 2022-04-01 08:03:14 -03:00
alfrix
53c7afd7a5 Use extruder icon without number if there is only 1 2022-03-30 22:58:37 -03:00
alfrix
3a91ba4604 style: set minimum height for distbuttons and simplify border removal 2022-03-25 09:57:11 -03:00
Alfredo Monclus
708fec4c45
Fix issues waking up screen from a remote connection (#535)
When connected from vnc the screen did not unlock from the remote session click
This also implements an optional disable DPMS for people with issues where DPMS doesn't work as it should (hw issues, driver issues, etc)
Changes #340 almost entirely
2022-03-07 14:55:24 -03:00
alfrix
df0f8961e5 Normalize icon sizes and style 2022-02-24 09:20:59 -03:00
Alfredo Monclus
84fc6e5757
Bed_level: Support 6 and 8 Screws and rotation (#484) 2022-02-23 14:04:54 -03:00
alfrix
bf67129528 main_menu and temp: Fix extruder colors when there are multiple extruders 2022-02-12 21:26:55 -03:00
alfrix
d05ac06ad3 Settings_panel: Prevent long translations from squashing the slider
and improve switch to be more consistent
2022-02-05 14:47:35 -03:00
Alfredo Monclus
5d3bae8ff9
Temp_panel: put devices in a scroll (#436)
* Temp_panel: put devices in a scroll

* Tweak margins

* Tpanel: Fix whitespace in message

* Fix #429 temperature_fan not updating target
2022-01-17 01:13:46 -05:00
Alfredo Monclus
8a8c6c064c
Graph in temp panel, combine preheat and temp (#393)
* Graph in temp panel, combine preheat and temp

* Fix target not working properly

* Fix initial preselect

* Add the ability to change in delta temps

* Make the label translatable

* Add Unit to the label

* Add de/select button to popover

* Warn the user if nothing was selected

* Fix templabel

* Fix to comply with pep8

* Fix colors, thanks Jordan

* Fix popover selection

* Update docs image

* Gain horizontal space

* Gain even more horizontal space (remove target)

* Fix temperature_fan

* Add icon and style to temperature_fan

* List preheat deprecation in breaking changes

* Use the printer maximum temperature

* Cleanup target and fix popover select

* Fix codestyle

* Add extra preheat presets

* Change Class name

* Update docs image

* Improve Maximum temperature handling and Temperature fans
2022-01-11 00:39:42 -05:00
Alfredo Monclus
70caf24c35
Add light icon (#370) 2021-12-17 12:37:43 -05:00
Alfredo Monclus
2a9e653505 Graph (#357)
* Add theme graph colors

* Fix graph not applying colors
2021-12-07 21:05:17 -05:00
Jordan
c3103d3b11 Fix graph error and make colors configurable 2021-12-07 21:05:17 -05:00
Jordan
dd56d192cc Create keypad widget and include set temp on the main menu 2021-12-07 21:05:17 -05:00
Jordan
fdf81ecf06 graph: Add ability to hide/show sensors. 2021-12-07 21:05:17 -05:00
Alfredo Monclus
ac3bde654a tweaks (#291) 2021-12-07 21:05:17 -05:00
Jordan
139115a0e9 Updates to graphing.
Modify heaters to show only ones available in the temp store. Add 
ability to hide/show heaters.
2021-12-07 21:05:17 -05:00
Jordan
5bfcd0108a Adding graph capability to main menu 2021-12-07 21:05:17 -05:00
Jordan
c8420c260b screen: RESPOND echo will now show a message on the screen. 2021-11-21 20:19:45 -05:00
Alfredo Monclus
d36364a807
Augment scrollbar contrast (#314)
Some screen have very little contrast and where making the scrollbar invisible
2021-11-01 22:51:55 -04:00
Alfredo Monclus
e7e91aee27
Material (#297) 2021-10-06 12:02:27 -04:00
Alfredo Monclus
5f5e6336c0
Update Translations (#284)
* Update Translations

* Various fixes to not break the UI

* Add updater translations

* Fix pycodestyle

* Fix updater translations

* Fix pycodestyle

* Fix restart translation

* Fix \n in label

* Update French
Thank you Bahoue

* Separate "default"

Co-authored-by: jordanruthe <31575189+jordanruthe@users.noreply.github.com>
2021-10-04 20:18:27 -04:00
Alfredo Monclus
c618044898
Support custom themes (#288)
* Remove relief
The relief gets stuck on touchscreens

* Support custom themes
2021-10-04 20:14:40 -04:00
Alfredo Monclus
5e3e8be005
Styling updates (#279)
* Dialog buttons colors

* Zcalibrate add colors for buttons

* Fix move panel misalignment and add color to home button

* z-bolt switch styling

* Splash screen homogeneous buttons

* remove switch slider border

* Remove max chars from filename (ellipsizes anyway)

* Fix colorized buttons moving when pressed

* Updater more row spacing

* Colorized button press
2021-09-22 23:14:21 -04:00
Alfredo Monclus
155ac2ab6f
System: Updater improvements (#260)
* System: improve updater

* Styling updates

* dialog buttons pressed

* Update styling

* styling

* implement repo recovery

* check if dirty

* Fix scrollbars and logic

* Fix codestyling
2021-09-21 18:23:56 -04:00
Alfredo Monclus
67cc396ad9
Use a base css (#186)
* Use a base CSS for styles

* Fix updater dialogs too close to buttons and updater too close to the edge

* Fix blurry Dropdown and dialog buttons

* minor tweaks and fixes

* Solarized restyle

* more vertical clearance between items

* workaround colorized bar at high res.

* colorized pressed state
2021-09-16 20:02:36 -04:00
Jordan
d540c038a4 Update Fan panel to include all configured fans. 2021-09-11 14:17:53 -04:00
Alfredo Monclus
bf0f2d4342
Colorized theme update (#255) 2021-09-07 21:28:35 -04:00
Alfredo Monclus
e6a1cc483b
Change solarized load icon (#233) 2021-08-19 20:45:05 -04:00
Jordan Ruthe
57a952c4e0 Add colorized console image 2021-06-26 12:24:05 -04:00
Jordan
207c026cb5 Add console panel 2021-06-26 12:24:05 -04:00