Commit Graph

32 Commits

Author SHA1 Message Date
Jamie Pine
388b4dde28 cargo fmt 2026-01-24 16:14:21 -08:00
Jamie Pine
df1ee8aec5 feat(overview): add ActionButtons component and integrate into OverviewScreen
This commit introduces a new ActionButtons component to the OverviewScreen, providing quick access to device pairing, sync setup, and storage addition functionalities. The component enhances user interaction by allowing users to perform these actions directly from the overview interface. Additionally, updates to the DevicePanel and HeroStats components improve overall functionality and UI consistency.
2026-01-18 06:21:02 -08:00
Jamie Pine
5b74e94953 refactor(location): enforce volume detection for location entries
This commit updates the LocationManager to ensure that all locations have a resolved volume before creation. It simplifies volume ID handling by removing lazy resolution and directly returning errors when volumes are not found. Additionally, it modifies related functions to reflect these changes, enhancing the robustness of volume management in the application.
2026-01-11 00:00:56 -08:00
Jamie Pine
b89b2ef51d Merge branch 'dev-build-improvements' into tembo/volume-id-nullability-refactor 2026-01-09 21:08:36 -08:00
Jamie Pine
90476fb812 feat(types): enhance CloudStorageConfig with detailed OAuth documentation and remove deprecated thumbstrip types
This commit updates the CloudStorageConfig type to include detailed documentation for OAuth 2.0 credentials for Google Drive, OneDrive, and Dropbox, clarifying the requirements for access and refresh tokens. Additionally, deprecated types related to thumbstrip generation have been removed to streamline the codebase.
2026-01-09 21:07:01 -08:00
Jamie Pine
e1c1b5b61f Fix build command in setup function to correctly include sd-daemon binary 2026-01-09 18:20:01 -08:00
Jamie Pine
c2cea6f97c Update cargo aliases and enhance thumbstrip generation error handling
This commit modifies the cargo aliases in the configuration file to include specific features for the `sd-daemon` and `sd-cli` packages. Additionally, it introduces a new function for generating thumbstrips that returns an error when the `ffmpeg` feature is not enabled, improving error handling and clarity for users attempting to generate thumbstrips without the necessary features.
2026-01-09 18:07:05 -08:00
Jamie Pine
61219569c4 Enhance CONTRIBUTING.md with media processing features guidance
This commit updates the CONTRIBUTING.md file to provide clearer instructions on building the project with media processing features. It introduces convenient cargo aliases for building with `ffmpeg` and `heif` features enabled, and emphasizes the importance of these features for development. Additionally, it includes notes on the implications of building without these features and how to resolve related issues. The changes aim to improve the onboarding experience for new contributors.
2026-01-09 17:59:22 -08:00
Jamie Pine
d1db406cda Update VSCode settings, modify Cargo.toml features, and enhance tag handling in the interface
This commit updates the VSCode settings to include new configurations for newline handling and formatting. In the Cargo.toml file for the server, the default features have been cleared to streamline dependencies. Additionally, the TagsGroup and TagSelector components have been modified to handle both TagSearchResult and raw Tag objects, improving tag extraction and selection logic. These changes enhance the overall development experience and ensure better tag management in the application.
2026-01-05 21:24:29 -08:00
Jamie Pine
70842c6743 Fix library test (database.db → library.db) 2026-01-04 21:36:14 -08:00
Jamie Pine
322db65663 feat(logo): replace ASCII logo with a dynamic purple orb rendering
- Removed the static ASCII logo and implemented a new function to calculate brightness on a sphere, allowing for a dynamic rendering of the Spacedrive logo as a purple orb using ANSI colors and Unicode half-blocks.
- Enhanced the `print_logo_colored` function to utilize the new brightness calculation and color gradient, improving visual representation.
- Updated related documentation to reflect the changes in logo rendering.
2025-12-31 16:46:58 -08:00
Jamie Pine
6b8f178788 refactor(tests): enhance debug output formatting in indexing tests
- Updated debug print statements in the indexing test to use consistent formatting with multi-line syntax for improved readability.
- Rearranged test suite definitions in `test_core.rs` for better organization and clarity, including renaming test cases for consistency.
- Added new test cases to cover additional functionalities, ensuring comprehensive test coverage.

These changes aim to improve the clarity of debug information and the overall structure of the test suite.
2025-12-31 16:46:50 -08:00
Jamie Pine
ff25fab772 refactor(tests): enhance fixture generation and update test suite structure
- Updated the fixture generation process to write to a temporary directory by default, improving test isolation and following best practices.
- Added instructions for regenerating source fixtures when needed, enhancing developer experience.
- Refactored the test suite structure to utilize a more flexible argument handling mechanism, allowing for easier addition of new tests.
- Removed deprecated test configurations and streamlined the test suite definitions for clarity and maintainability.
2025-12-30 22:06:53 -08:00
Jamie Pine
4ccfa7ea0e disable failing tests to see if CI passes 2025-12-30 14:12:48 -08:00
Jamie Pine
1fd571b06b feat(ci): enhance core testing workflow and introduce unified test command
- Refactored GitHub Actions workflow to support multiple OS environments (macOS, Linux, Windows) using a matrix strategy.
- Added a new `test-core` command in `xtask` for running all core integration tests with progress tracking and result summaries.
- Updated caching keys in the CI workflow to use OS-specific identifiers for better cache management.
- Consolidated test execution logic into a single source of truth in `xtask/src/test_core.rs`, ensuring consistency between CI and local runs.
- Improved documentation in `xtask/README.md` to reflect the new testing command and its features.
2025-12-30 12:41:23 -08:00
Jamie Pine
a45490acf2 fix(windows): improve Windows build setup and DLL handling
- Add .exe extension to target-suffixed daemon binary on Windows
- Auto-copy DLLs from apps/.deps/bin to target/debug and target/release
- Add PATH env var for Windows in dev-with-daemon.ts so daemon finds DLLs
- Run cargo xtask setup automatically at end of setup.ps1

These changes fix DLL_NOT_FOUND errors when running the Tauri app or
daemon on Windows by ensuring native dependency DLLs are discoverable.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 07:48:45 -08:00
Jamie Pine
a5413d9538 Update cargo configuration to include CPATH for native dependencies and streamline setup process in Rust build workflow. 2025-12-14 23:06:02 -08:00
Jamie Pine
832428c8ac Wire up daemon for Tauri bundler validation 2025-12-12 16:23:39 -08:00
Jamie Pine
dc690ac217 Fix macOS build and update framework path
- Conditionally compile the macOS Command import
- Use Spacedrive.framework directly under native_deps instead of
  Frameworks/Spacedrive.framework
2025-12-10 23:14:54 -08:00
Jamie Pine
00c98bde24 cargo fmt 2025-12-10 15:27:26 -08:00
Jamie Pine
0717d8dd0a Refactor code for improved clarity and performance
- Updated argument passing in various commands to use a more concise syntax.
- Simplified iteration in the ConstantTimeEqNull implementation for better readability.
- Enhanced file path checks in EventFilters for temporary and system files.
- Added `#[must_use]` attribute to functions in FrameDecoder to indicate their importance.
- Replaced `or_insert_with` with `or_default` for cleaner code in phase summary generation.
2025-12-10 14:43:17 -08:00
Jamie Pine
3aa608fbfc Update symlink path for Spacedrive.framework on macOS
- Adjusted the symlink creation for Spacedrive.framework to include the "Frameworks" directory, aligning with the expected structure for native dependencies.
2025-12-10 08:42:47 -08:00
Jamie Pine
05554b2919 Update App component and Explorer views for improved performance and usability
- Refactored the App component to enhance readability and maintainability, including adjustments to route handling and client initialization.
- Introduced QuickPreviewSyncer and QuickPreviewController components in the Explorer to optimize rendering and selection handling.
- Enhanced Column and ListView components with memoization to prevent unnecessary re-renders, improving performance during file selection and navigation.
- Updated event handling in the useNormalizedQuery hook to streamline query management and improve type safety.
- Adjusted various components to ensure consistent styling and behavior across the application.
2025-12-09 19:03:51 -08:00
Jamie Pine
591c7461a4 Add misc UI and ephemeral watching (wip) 2025-12-09 06:05:51 -08:00
Gedeon Sainrival
22031d3b5d Start generating builds for Android
- Update Kotlin version to 2.2.20
- Update sd-mobile-core with modern expo-modules API to successfully
  compile on Android
- added android to build-mobile xtask
- updated CONTRIBUTING.md
- Added `openssl-sys` to sd-mobile-core as a workaround for native
  Android builds
- Switched from deprecated @react-native-community/clipboard
2025-12-07 20:53:12 -05:00
Jamie Pine
b4024c860e Mobile app in React Native
+ validation support for Actions
2025-12-05 15:16:41 -08:00
Gedeon Sainrival
f01a2994f1 Fix build issues on Linux
Managed to successfully build on Linux, updated xtask to resolve errors,
and fixed interface not loading properly when using Tauri GUI.
2025-12-02 13:17:28 -05:00
Jamie Pine
2ef179d4df chore: update Zustand dependency to version 5.0.8, modify Cargo.toml for sd-core features, and enhance sidecar manager initialization in library management 2025-11-11 15:44:00 -08:00
Jamie Pine
f43d2456da (chore): CI fix 2025-10-14 23:02:13 -07:00
Jamie Pine
94a52dd2df cleanup 2025-10-11 08:48:11 -07:00
Jamie Pine
c77121aff8 The Spacedrive Collection 2025-10-11 07:16:16 -07:00
Jamie Pine
520703a3a0 chore: Update Cargo.toml and remove obsolete files
- Added "xtask" to the Cargo.toml members for improved task management.
- Removed outdated documentation files: CLI_LIBRARY_SYNC_COMPLETE.md, DEVICE_DISCONNECTION_FIX.md, FINAL_SUMMARY.md, IMPLEMENTATION_COMPLETE.md, INFINITE_LOOP_FIX.md, LIBRARY_SYNC_SETUP_IMPLEMENTATION.md, PAIRING_CONNECTION_ISSUE_SUMMARY.md, PAIRING_IMPLEMENTATION.md, PERSISTENT_CONNECTION_FIX.md.
- Cleaned up the project structure to enhance maintainability and clarity.
2025-10-06 20:56:54 -07:00