Skip to content

Refactor/sperate stackedwidget#201

Open
Robert0Mart wants to merge 19 commits intodevfrom
Refactor/sperate-stackedwidget
Open

Refactor/sperate stackedwidget#201
Robert0Mart wants to merge 19 commits intodevfrom
Refactor/sperate-stackedwidget

Conversation

@Robert0Mart
Copy link
Collaborator

Description

Select the type:

  • Feature
  • Bug fix
  • Code refactor
  • Documentation

BlocksScreen.cfg

  • changed timeout from 5 seconds to 10 minutes
  • added hotspot section for easier development in the future

cancelPage.py, connectionPage.py, notificationPage.py, printcorePage.py, updatePage.py, babystepPage.py, confirmPage.py, filesPage.py, jobStatusPage.py, sensorWidget.py, tunePage.py

  • Organized pages into different folder depending on what tab their used

BlocksScreen/lib/panels/controlTab.py

  • added setup UI so it does not need to import it

  • separated control tab into different pages

    • BlocksScreen/lib/panels/widgets/ControlTab/axisPage.py
    • BlocksScreen/lib/panels/widgets/ControlTab/extruderPage.py
    • BlocksScreen/lib/panels/widgets/ControlTab/fansPage.py
    • BlocksScreen/lib/panels/widgets/ControlTab/temperaturePage.py

BlocksScreen/lib/panels/utilitiesTab.py

  • added setup ui so it dosent need to import it
  • separeted control tab into diferent pages
    • BlocksScreen/lib/panels/widgets/UtilitiesTab/axismaintPage.py
    • BlocksScreen/lib/panels/widgets/UtilitiesTab/infoPage.py
    • BlocksScreen/lib/panels/widgets/UtilitiesTab/inputshaperPage.py
    • BlocksScreen/lib/panels/widgets/UtilitiesTab/ledsPage.py
    • BlocksScreen/lib/panels/widgets/UtilitiesTab/ledssliderPage.py
    • BlocksScreen/lib/panels/widgets/UtilitiesTab/rc_page.py
    • BlocksScreen/lib/panels/widgets/UtilitiesTab/routineCheckPage.py

BlocksScreen/lib/panels/widgets/UtilitiesTab/troubleshootPage.py

  • added self.hide when clicking back
  • moved file to its folder

BlocksScreen/lib/panels/widgets/UtilitiesTab/inputshaperResultPage.py

  • moved the logic from utilities panel to the page
  • moved file to its folder

BlocksScreen/lib/ui/controlStackedWidget.ui , BlocksScreen/lib/ui/controlStackedWidget_ui.py

  • updated axis page to have a vertical layout

BlocksScreen/lib/panels/printTab.py

  • updated imports

BlocksScreen/lib/panels/mainWindow.py

  • updated after separating tabs

BlocksScreen/lib/panels/widgets/ControlTab/printcorePage.py

  • moved file into its folder
  • bug-fix clicking approach or retreat hiding panel

writer's note
this is a major rework i tested and worked but please test it more before merging

@Robert0Mart Robert0Mart requested a review from HugoCLSC March 26, 2026 10:00
@Robert0Mart Robert0Mart self-assigned this Mar 26, 2026
@Robert0Mart Robert0Mart added the Refactor Enhancing code's readability, maintainability, and extensibility while addressing technical debt. label Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactor Enhancing code's readability, maintainability, and extensibility while addressing technical debt.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant