Commit Graph

127 Commits

Author SHA1 Message Date
3cf91ba58f Refactor: Externalize remaining MenuBar tooltips
- Replaced hardcoded tooltips for the log and about buttons with references
  to the 'tooltips' dictionary passed during MenuBar initialization.
- This further enhances the flexibility and translatability of the MenuBar.
2025-08-13 17:44:35 +02:00
ab14b4ffa3 Fix: Resolve NameError for Optional in MenuBar
- Added 'Optional' to the import list from the 'typing' module in menu_bar.py
  to resolve a NameError when using Optional as a type hint.
2025-08-13 17:26:07 +02:00
6fe090e9e5 Refactor: Update MenuBar for new GiteaUpdater and flexible tooltips
- Updated MenuBar to use the new GiteaUpdater class for update checks.
- Modified __init__ to accept gitea_api_url and a dictionary of tooltips,
  making the MenuBar more project-independent and translatable.
- Refactored check_for_updates and update_ui_for_update to handle the
  new GiteaUpdater's return values (new version string or None) and
  new states (DISABLED, ERROR).
- Improved updater logic to prevent execution when no updates are available
  or an error occurred.
- Corrected about dialog icon parameter.
2025-08-13 17:18:28 +02:00
8b4068fdc7 add icons in kontex menüs 2025-08-13 01:24:55 +02:00
ba6ef7385a replace tooltip animation with exist tooltip, redundancy reduced, search optimized, add new icons copy and stair (for path folllow) 2025-08-13 01:05:57 +02:00
dc51bf6f2c Reduced redundancy, logviewer fulll removed , add log_window and menu_bar 2025-08-12 22:44:49 +02:00
80aebe3bab Struktur: Integriere CustomFileDialog und AnimatedIcon
Die
      Komponenten des CustomFileDialog wurden aus einem separaten Repository importiert
      und in ein eigenes Verzeichnis verschoben. Die Test-Datei 'mainwindow.py' wurde
      entfernt. 'animated_icon.py' wurde als gemeinsam genutzte Komponente im
      Stammverzeichnis platziert.
2025-08-10 13:31:53 +02:00
941ac4334b Merge remote-tracking branch 'customfiledialog-repo/main' into 4-06-2025 2025-08-10 13:29:26 +02:00
d124c24533 fix fstrings and syntax error 2025-08-10 12:25:10 +02:00
30c2c3b901 add type-hints on cfd_file_operations, cfd_app_config, animated_icon 2025-08-10 12:04:34 +02:00
5a41d6b1fd add doctring and typhint in custom_file_dialog and add type-hints on cfd_view_manager, cfd_ui_setup, cfd_settings_dialog, cfd_search_manager, cfd_navigation_manager 2025-08-10 11:57:43 +02:00
4e7ef8d348 add docstring in cfd_ui_setup, cfd_view_manager 2025-08-10 11:33:19 +02:00
14a50616a3 add dochstring in cfd_file_operations, cfd_navigation_manager, cfd_search_manager, cfd_settings_dialog and fix entryfield on create new folder and new document in iconview 2025-08-10 11:16:48 +02:00
246addc34b add docstrings in animated_icon and cfd_app_config.py 2025-08-10 10:38:45 +02:00
b18bf7fe85 translate strings place in cfd_app_config and replace unhide with new size 2025-08-10 01:26:57 +02:00
b8d46fb547 Refactor: Decompose CustomFileDialog class
The `CustomFileDialog` class had become too large and complex, making it difficult to maintain.

This change refactors the monolithic class into several specialized manager classes, each responsible for a specific area of concern:

- `SettingsDialog`: Moved to its own file, `cfd_settings_dialog.py`.
- `FileOperationsManager`: Handles file/folder creation, deletion, and renaming.
- `SearchManager`: Encapsulates all search-related logic.
- `NavigationManager`: Manages directory navigation and history.
- `ViewManager`: Controls the rendering of file and folder views.

The main `CustomFileDialog` class has been streamlined and now acts as an orchestrator for these managers. This improves readability, separation of concerns, and the overall maintainability of the code.
2025-08-09 11:51:58 +02:00
d392e1e608 add blink animation 2025-08-09 10:39:59 +02:00
f06d1b6652 fix all search problems 2025-08-09 10:16:51 +02:00
f47f18d48c commit 83 2025-08-09 02:13:13 +02:00
497978ef95 commit 82 2025-08-09 01:50:41 +02:00
7956d4e393 commit 81 2025-08-09 01:36:30 +02:00
cb6c513622 commit 80 2025-08-09 01:22:50 +02:00
2f504658a3 commit 79 2025-08-09 00:40:45 +02:00
cef383ca74 commit 78 2025-08-09 00:32:57 +02:00
287ebfd1d0 commit 77 2025-08-09 00:23:25 +02:00
11bcf5cc7a commit 76 search works 2025-08-09 00:00:08 +02:00
9e495cc73c commit 75 2025-08-08 22:39:36 +02:00
482eaae591 commit 74 2025-08-08 19:36:42 +02:00
43ac132ec8 commit 73 2025-08-08 15:28:54 +02:00
de1cc4a03d commit 72 2025-08-08 14:56:53 +02:00
f6d86d7e42 commit 71 2025-08-08 13:59:23 +02:00
fda52d52d4 commit 70 2025-08-08 13:53:40 +02:00
2e934c62e4 69 2025-08-08 13:23:21 +02:00
3d2ffcc69e commit 68 2025-08-08 12:13:02 +02:00
053b0c22c5 commit 67 2025-08-08 00:55:32 +02:00
9c2b72345c commit 66 2025-08-07 19:06:06 +02:00
e5d10dded6 commit 65 2025-08-07 16:16:07 +02:00
b1bd928a76 commit 64 2025-08-07 11:37:03 +02:00
e059efc1cf commit 63 2025-08-07 11:28:50 +02:00
aae8f4431a commit 62 2025-08-07 02:36:01 +02:00
1d6137ed44 commit 61 2025-08-07 00:35:37 +02:00
b71e1cc79c commit 60 2025-08-07 00:30:14 +02:00
bbfdc3efac commit 59 2025-08-06 23:49:16 +02:00
84c5405df7 commit 58 2025-08-06 22:12:22 +02:00
1168ea8ecf feat(ui): Adjust button layout for open/save modes
Modified the button layout methods to place the primary action button (Open/Save) at the top and the Cancel button at the bottom of their respective containers.

This creates a more consistent and predictable user experience across all dialog modes and view settings.
2025-08-06 17:58:14 +02:00
a8a55574f5 refactor(ui): Decompose sidebar setup into smaller methods
Further refactored the _setup_sidebar method by breaking it down into smaller, more focused methods: _setup_sidebar_bookmarks, _setup_sidebar_devices, and _setup_sidebar_storage.

This completes the modularization of the UI setup, resulting in a highly organized and maintainable WidgetManager class.
2025-08-06 15:33:37 +02:00
9252b0d23f Revert "refactor(ui): Decompose sidebar setup into smaller methods"
This reverts commit 2e6eb57b55.
2025-08-06 15:16:37 +02:00
2e6eb57b55 refactor(ui): Decompose sidebar setup into smaller methods
Further refactored the _setup_sidebar method by breaking it down into smaller, more focused methods: _setup_sidebar_bookmarks, _setup_sidebar_devices, and _setup_sidebar_storage.

This completes the modularization of the UI setup, resulting in a highly organized and maintainable WidgetManager class.
2025-08-06 12:13:15 +02:00
b170b4094e refactor(ui): Modularize UI setup into distinct methods
Further refactored the WidgetManager class by extracting the setup logic for the top bar and the sidebar into their own dedicated methods: _setup_top_bar and _setup_sidebar.

This simplifies the main setup_widgets method into a high-level blueprint, significantly improving code organization and readability.
2025-08-06 12:07:14 +02:00
29480a0096 refactor(ui): Encapsulate bottom bar setup in its own method
To improve readability and reduce the size of the main setup_widgets method, the logic for creating and laying out all widgets in the bottom bar has been extracted into a new _setup_bottom_bar method.
2025-08-06 11:38:15 +02:00