Skip to content

Feature/211 create folders in storage#224

Merged
felix-schultz merged 4 commits intodevfrom
feature/211-create-folders-in-storage
Aug 22, 2025
Merged

Feature/211 create folders in storage#224
felix-schultz merged 4 commits intodevfrom
feature/211-create-folders-in-storage

Conversation

@felix-schultz
Copy link
Copy Markdown
Member

This pull request focuses on code quality improvements and refactoring across several backend and frontend files. The most significant changes include cleaning up import statements, improving code formatting for readability, and refactoring method signatures and bodies for consistency. These updates do not introduce new features or major logic changes, but they enhance code maintainability and clarity.

Code Quality and Refactoring

  • Cleaned up and standardized import statements by removing unused imports and using type imports where appropriate in files such as apps/desktop/app/settings/profiles/page.tsx, apps/desktop/components/tauri-provider.tsx, and apps/desktop/components/tauri-provider/db-state.ts. [1] [2] [3]
  • Refactored method signatures and bodies in DatabaseState to improve readability and consistency, including formatting arguments across multiple lines and ensuring consistent return statements. [1] [2] [3] [4] [5] [6] [7] [8] [9]
  • Improved code formatting in React components for better readability, including splitting props and JSX elements across multiple lines in apps/desktop/app/settings/profiles/page.tsx and apps/desktop/app/library/config/explore/page.tsx. [1] [2] [3] [4] [5] [6] [7]
  • Simplified function returns and error handling in Rust backend files, such as removing unnecessary return statements and streamlining error propagation in apps/desktop/src-tauri/src/functions/app/tables.rs. [1] [2]
  • Removed unused dependencies and cleaned up imports in Rust files to reduce clutter and improve maintainability, such as in apps/backend/aws/runtime-async/src/execution.rs, apps/desktop/src-tauri/src/functions/app/tables.rs, and apps/desktop/src-tauri/src/functions/bit.rs. [1] [2] [3] [4]

…truction parameter and enhance folder handling
…ckend state

- Adjusted the accent color definition in global.css for consistency.
- Added missing IDatabaseState import in backend-state.ts.
- Refactored db-state.ts to use explicit enum values for IIndexType and improved formatting for better readability.
- Updated EmptyDatabaseState class to match the new method signatures in IDatabaseState.
- Ensured proper export of db-state in empty-states/index.ts.
@felix-schultz felix-schultz merged commit d8be65f into dev Aug 22, 2025
1 of 3 checks passed
@felix-schultz felix-schultz deleted the feature/211-create-folders-in-storage branch August 22, 2025 21:42
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