Skip to content

Schedule tab refactoring#2035

Merged
m3nu merged 11 commits intoborgbase:masterfrom
shivansh02:schedule-tab-refactor
Jul 19, 2024
Merged

Schedule tab refactoring#2035
m3nu merged 11 commits intoborgbase:masterfrom
shivansh02:schedule-tab-refactor

Conversation

@shivansh02
Copy link
Collaborator

Description

Splitting schedule_tab.py and scheduletab.ui to improve modularity and readability.

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have read the CONTRIBUTING guide.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

I provide my contribution under the terms of the license of this repository and I affirm the Developer Certificate of Origin.

@shivansh02 shivansh02 marked this pull request as draft July 7, 2024 13:47
@m3nu
Copy link
Contributor

m3nu commented Jul 15, 2024

I'd also move the Schedule panel to a separate file. So the previous UI file will only refer to the other 4 panel files. Otherwise it will be confusing as to where which files found.

For the naming convention, I'd always end with the type of widget it is. So Panel in this case. Or however Qt Designer calls it.

And maybe we can use Camel case for those files? They are only references once in the corresponding Python file. Not sure if Qt has another naming convention?

@shivansh02 shivansh02 marked this pull request as ready for review July 19, 2024 08:25
@shivansh02 shivansh02 changed the title WIP: schedule tab refactoring Schedule tab refactoring Jul 19, 2024
@m3nu m3nu merged commit d0a996c into borgbase:master Jul 19, 2024
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