Skip to content
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

refactor: Separate code about Manage profile dialog #1865

Merged
merged 42 commits into from
Oct 11, 2024

Conversation

buhtz
Copy link
Member

@buhtz buhtz commented Sep 6, 2024

Blocked by

About he PR

  • I gave the Manage Profiles (aka Settings) dialog its own module (folder manageprofiles).
  • The code related to the Generals tab (the first tab in the dialog) is separated into its own file.
  • I did not touch the other tabs code to prevent blowing up the PR.

IMHO a code review makes not much sense because there was to much code that is modified. Testing the dialog and its features (e.g. in a VM) would make more sense and has more value.

@buhtz buhtz self-assigned this Sep 6, 2024
@buhtz buhtz marked this pull request as draft September 6, 2024 08:47
buhtz added a commit that referenced this pull request Sep 13, 2024
Comprehensive and complex refactoring and also code moving.

The method Config.setSnapshotsPaths() has to much logic in it, not belonging in that method nor into its class. Code was extracted and "parked" in the tools.py module. This in consequences gives the ability to easier decouple code in SettingsDialog.saveProfile() (PR #1865).

Prepares for a new config management class (PR #1850) and refactoring the manage profiles dialog (PR #1865).

Close #1864
@buhtz buhtz marked this pull request as ready for review September 29, 2024 14:22
@buhtz buhtz marked this pull request as draft September 29, 2024 16:52
@buhtz buhtz marked this pull request as ready for review October 3, 2024 18:24
@buhtz buhtz added the PR: Waiting for review PR won't be merged until review and approval from a member of the maintenance team. label Oct 3, 2024
@buhtz
Copy link
Member Author

buhtz commented Oct 3, 2024

OK, I did manual testing. The PR is ready to review and merge.

@buhtz buhtz added the PR: Merge after creative-break Merge after creative-break (min. 1 week) label Oct 7, 2024
@buhtz buhtz merged commit 96a6633 into bit-team:dev Oct 11, 2024
1 check passed
@buhtz buhtz deleted the refactor/settingssubmodule branch October 11, 2024 19:23
buhtz added a commit that referenced this pull request Oct 17, 2024
Each tabsin Manage Profiles dialog now with its own py-file, except Exclude and Include tab.
Follow-up of PR #1865.
@buhtz buhtz mentioned this pull request Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Merge after creative-break Merge after creative-break (min. 1 week) PR: Waiting for review PR won't be merged until review and approval from a member of the maintenance team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant