Closed hcavarsan closed 4 months ago
The recent updates encompass a range of enhancements across the application. These include configuration migration, refined error handling for port forwarding operations, and user interface improvements in settings and modal components. The changes collectively aim to streamline user interactions, provide better error feedback, and ensure a smoother configuration experience.
Files | Change Summary |
---|---|
src-tauri/src/commands.rs |
Added use crate::config::migrate_configs; and initiated migration of configs using migrate_configs() function. |
src/assets/style.css |
Corrected the indentation within the .accordion-shadow class properties in src/assets/style.css . |
src/components/AddConfigModal/index.tsx |
Refactored the onChange handler in the AddConfigModal component for better readability, eliminating unnecessary type casting in the event passing to handleInputChange . |
src/components/PortForwardRow/index.tsx |
Added Text and useToast imports, enhanced startPortForwarding and stopPortForwarding functions to manage errors and display toast messages, and introduced toast as a parameter to these functions. |
src/components/SettingsModal/index.tsx |
Updated the SettingsModal component by restructuring form elements layout, implementing conditional rendering for Git Token input based on a checkbox, and adjusting button actions within the modal for improved functionality. |
src/components/KFtray/index.tsx |
Enhanced the KFTray component by incorporating error notification handling for failed configurations import, and removing unnecessary assignment statements during function invocation based on configuration types. |
startPortForwarding
and stopPortForwarding
functions align with the objectives outlined in the issue. These changes aim to improve error messages and handling during port forwarding operations, enhancing user experience and facilitating effective troubleshooting.
feat: better error handling to toggle port forwards