Skip to content

Conversation

@FlorentinoG9
Copy link
Contributor

@FlorentinoG9 FlorentinoG9 commented Nov 26, 2025

Fix: Cloud Computing UX Consistency

Fixes Issue: #590

Overview

This PR refactors the Cloud Computing tab to improve UI consistency and user experience by introducing reusable form components and standardizing button styling across the interface.

Changes Made

🎨 New Reusable Components

  • Form_Input.qml: A standardized input field component with consistent styling, labels, and focus states
  • Form_File_Input.qml: A file/directory selector component that encapsulates file dialog functionality with support for both file and directory selection
  • Button_Primary.qml: A primary button component with consistent styling, hover effects, and animations

✨ Cloud Computing Tab Improvements

  • Refactored UI: Replaced all standard input fields and buttons with the new reusable components
  • Enhanced File Dialogs:
    • Added support for folder selection in file dialogs
    • Improved file path handling and conversion from QUrl to local file paths
    • Clear default text in target directory input on focus
  • Improved Input Fields:
    • Added placeholders for better user guidance
    • Cleared default text in password and target directory fields
    • Enhanced visual feedback with focus states
  • Button Functionality:
    • Fully implemented Clear Config button functionality
    • Connected Upload button to properly pass all form values
    • Standardized button appearance with Button_Primary component
  • Code Cleanup: Removed obsolete button connections from GUI5.py as file dialogs are now handled internally within components

🧹 Project Maintenance

  • Cleaned up .gitignore to remove redundant QML cache entries
  • Added .DS_Store to .gitignore for better macOS file management

Benefits

  • Consistency: All form inputs and buttons now follow the same design pattern
  • Maintainability: Reusable components reduce code duplication and simplify future updates
  • User Experience: Better visual feedback, clearer placeholders, and improved file selection workflow
  • Code Quality: Cleaner, more modular code structure

Files Changed

  • CloudComputing.qml - Complete UI refactoring
  • GUI5.py - Removed obsolete button connections
  • GUI_Components/Form_Input.qml - New component (created)
  • GUI_Components/Form_File_Input.qml - New component (created)
  • GUI_Components/Button_Primary.qml - New component (created)
  • .gitignore - Cleanup and macOS support

Testing

  • ✅ Tested file selection dialog functionality
  • ✅ Tested folder selection dialog functionality
  • ✅ Verified Clear Config button clears all form fields
  • ✅ Verified Upload button passes correct parameters
  • ✅ Confirmed consistent styling across all form elements
image

…nput components for improved UI consistency and functionality. Remove obsolete button connections in GUI5.py as file dialogs are now handled internally. Add new Form_Input and Form_File_Input components for better input handling.
…rimary component for improved styling and consistency. Introduce Button_Primary.qml to encapsulate button behavior and appearance.
… default text and adding a placeholder for better user guidance.
…omputing.qml, enhancing user interaction by connecting button clicks to respective actions.
…older selection and improve file path handling. Update CloudComputing.qml to clear default text in the target directory input and ensure proper file path conversion. Add .DS_Store to .gitignore for better file management.
…ts, including Button_Primary, Form_Input, and Form_File_Input. Update .gitignore to remove README.md entry for improved file management.
Copy link
Owner

@3C-SCSU 3C-SCSU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code approval process -- 3 Steps review:
(1) Yes; (2) Maybe; (3) No; > {Number of files, and total lines changed:add/delete lines} [Reasoning]
Example:

  • Feedback >> (2) > {4: +153/-20} [ Code needs to explain what it does ]

Copy link
Owner

@3C-SCSU 3C-SCSU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code approval process -- 3 Steps review:
(1) Yes; (2) Maybe; (3) No; > {Number of files, and total lines changed:add/delete lines} [Reasoning]
Example:

  • Feedback >> (2) > {4: +153/-20} [ Code needs to explain what it does ]

@3C-SCSU
Copy link
Owner

3C-SCSU commented Nov 28, 2025

Ticket solved: #590

@3C-SCSU 3C-SCSU closed this Nov 28, 2025
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