Skip to content

Decongest UI tabs with action picker, sub-tabs, and spacing#49

Merged
JE-Chen merged 1 commit intomainfrom
dev
Apr 21, 2026
Merged

Decongest UI tabs with action picker, sub-tabs, and spacing#49
JE-Chen merged 1 commit intomainfrom
dev

Conversation

@JE-Chen
Copy link
Copy Markdown
Member

@JE-Chen JE-Chen commented Apr 21, 2026

Summary

  • LocalOpsTab now uses an action-picker dropdown (Files / Directories / ZIP grouped with separators) backed by a QStackedWidget, so only the selected operation's fields and Run button are visible at a time — no more wall of inputs.
  • RemoteBackendTab hosts an inner QTabWidget with Credentials / Operations sub-tabs. GoogleDriveTab now inherits the shared base, so every remote backend (Drive / S3 / Azure / Dropbox / SFTP) stops stacking its setup and transfer concerns on one page.
  • Added consistent setContentsMargins(12, 12, 12, 12) and setSpacing(12) to tab root layouts plus form vertical/horizontal spacing for visual breathing room between groups.

Test plan

  • ruff check + ruff format --check clean on automation_file/ui/ and tests/test_ui_smoke.py
  • mypy automation_file/ — no issues found in 79 source files
  • pytest tests/ — 130 passed (Python 3.11)
  • Manual spot-check in a full Qt session once merged

@codacy-production
Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 4 medium

Alerts:
⚠ 4 issues (≤ 0 issues of at least minor severity)

Results:
4 new issues

Category Results
BestPractice 4 medium

View in Codacy

🟢 Metrics 21 complexity · -2 duplication

Metric Results
Complexity 21
Duplication -2

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

@sonarqubecloud
Copy link
Copy Markdown

@JE-Chen JE-Chen merged commit f74cb6d into main Apr 21, 2026
10 of 11 checks passed
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.

1 participant