- Modified the connection type retrieval to use the .borrow() method for improved compatibility with the updated Iroh API.
- Enhanced the logic for determining device connection status, ensuring accurate online/offline state updates based on current network conditions.
- Added a TODO comment regarding the potential removal of the is_online column for better clarity in future refactoring.
- Replaced NodeId with EndpointId in various components to align with the new Iroh v0.95+ API.
- Updated connection handling to utilize EndpointAddr instead of NodeAddr, reflecting changes in the underlying library.
- Adjusted discovery and connection logic to accommodate the immutability of EndpointAddr, enhancing overall network functionality.
- Enhanced the device model to handle null values more gracefully during data extraction, ensuring robust error handling for OS version, hardware model, CPU details, and other attributes.
- Updated the DevicePanel to include new connection status icons and tooltips for better user experience.
- Integrated TooltipProvider in the Shell component for consistent tooltip functionality across the interface.
- Minor documentation updates in the getting started guide to reflect the latest version and supported platforms.
registration now only triggers when a new device is created
(messaging.rs:395-448), not when updating an existing device.
What changed:
- Moved the tokio::spawn block from after the entire match
existing statement into the Ok(None) branch (new device
creation)
- When a device is updated (already exists), it no longer sends
a registration request back
- Updated the migration to leverage SQLite's ALTER TABLE DROP COLUMN feature, eliminating the need for table recreation.
- Removed the last_sync_at, last_state_watermark, and last_shared_watermark columns from the devices table, as they are no longer utilized.
- This change streamlines the database schema and improves migration efficiency.
- Removed the last_sync_at field from the device model and related structures, as it is now superseded by per-peer watermark tracking in sync.db.
- Updated various components, including device registration, sync setup, and messaging protocols, to eliminate references to last_sync_at.
- Introduced a migration to drop the obsolete last_sync_at column from the devices table.
- Adjusted tests and helper functions to reflect the removal of last_sync_at, ensuring they align with the new sync architecture.
- Added new fields for device OS, hardware model, CPU details, memory, and storage specifications to the device registration process.
- Updated the LibraryManager to handle the new device attributes during device creation and updates.
- Modified the sync setup action to include full device information when registering devices with remote peers.
- Enhanced the messaging protocol to support the transmission of detailed hardware specs during device registration.
- Introduced a new test for transitive sync backfill to validate the complete sync process across multiple devices.
- Updated device versioning to use the `updated_at` timestamp for conflict resolution.
- Refactored sync methods to support shared changes with HLC-based conflict resolution.
- Implemented automatic device discovery via shared sync, allowing devices to propagate changes to all members in the library.
- Added migration to transition existing devices to shared sync.
- Enhanced documentation to reflect changes in device ownership and sync methods.
- Introduced new event types for proxy pairing confirmation and vouching readiness in the event summarization.
- Implemented a reload mechanism for protocol configurations to support dynamic updates during runtime.
- Enhanced the PairingProtocolHandler to manage joiner pairing handshakes and improve session handling.
- Added comprehensive unit tests for proxy pairing, covering session creation, state transitions, and vouching logic.
- Updated configuration structures to include default proxy pairing settings for better integration.
- Changed the import path for ProxyPairingConfig to app_config for better organization.
- Replaced bincode serialization with encode_to_vec for improved error handling in vouch payload signing and validation.
- Updated references to AcceptedDevice and RejectedDevice to remove unnecessary super:: prefix.
- Adjusted the vouching queue to return rows_affected as a method call for consistency.
- Enhanced TestConfigBuilder to include default proxy pairing configuration.
- Reformatted the valid themes array for better readability.
- Enhanced the downcast reference for PairingProtocolHandler to improve clarity.
- Streamlined the event emission for config changes to enhance code consistency.
- Introduced GlassSearchBar component for enhanced search functionality in the mobile app.
- Added JobManagerPanel component to manage and display job statuses.
- Updated Xcode scheme to use Debug configuration and LLDB debugger for improved development experience.
- Enhanced OverviewScreen to integrate the new components, improving user interaction and job visibility.
- Added LiquidGlass dependency to enhance visual effects in the GlassButton component.
- Updated GlassButton to support LiquidGlass effects based on device compatibility.
- Introduced PageIndicator component for improved navigation feedback in BrowseScreen.
- Enhanced OverviewScreen and HeroStats to display sidecar statistics, including count and size.
- Updated related files and dependencies to reflect these changes.
- Introduced a new GlassButton component for enhanced UI interactions.
- Updated OverviewScreen to include animated blur effects and improved header behavior during scrolling.
- Added expo-blur dependency to enhance visual effects in the mobile application.
- Adjusted Podfile.lock and package.json to reflect new dependencies and ensure compatibility.
This commit enhances the BackfillManager by collecting successfully applied UUIDs during the backfill process and emitting batch resource events for UI reactivity. It also updates the protocol handler to emit resource events for insert and update changes, ensuring that the UI reflects the latest state. Additionally, a new test is added to verify that volume ResourceChanged events are emitted correctly during synchronization, improving the overall synchronization experience.
This commit introduces improvements to the synchronization process by adding foreign key conversion to UUIDs for cross-device compatibility. It also implements batch syncing of mime types before content identities to ensure proper dependency resolution. Additionally, the content identity model is updated to include mime type and kind ID handling, enhancing data integrity during sync operations. Debugging information is added to track registered models and their sync types, improving traceability in the sync process.
This commit introduces several improvements to the file explorer and search functionalities. It adds a new `getFileKindForIcon` utility for better icon resolution based on file content kind. The search input validation now allows empty queries when sorting by `IndexedAt`, and the search query execution has been optimized to handle empty queries more efficiently. Additionally, the `ContentKind` utility has been refactored and centralized in the `ts-client`, improving code organization and reusability across components. Updates to various components ensure consistent usage of the new utilities, enhancing the overall user experience.
This commit introduces the RecentsView component, which allows users to view recently indexed files sorted by the indexed_at timestamp. The view integrates seamlessly with existing components, ensuring consistent interactions such as keyboard navigation and drag-to-select. Additionally, it updates the Explorer context to support entering and exiting recents mode, enhancing the overall file browsing experience.
This commit modifies the `query_for_sync` methods in both the Location and Volume models to rename the `_device_id` parameter to `device_id` for consistency. Additionally, it enhances the filtering logic to ensure proper device ownership checks during database queries, improving data integrity and synchronization processes. The comments have also been updated to reflect these changes.
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.
This commit introduces several improvements to the settings interface, including the addition of device name and slug fields in the GeneralSettings component. It also refactors the settings structure to utilize a more consistent context for state management. The UI has been updated with animations and improved styling for a better user experience. Additionally, the app now supports logging configuration updates and integrates React Query Devtools for enhanced debugging capabilities.
This commit updates several logging statements across various modules, changing them from `info` to `debug` level. This adjustment aims to reduce log verbosity during normal operations while retaining detailed logs for debugging purposes. The changes enhance the overall logging strategy, allowing for better performance and easier troubleshooting without cluttering the log output in production environments.
This commit introduces a new feature for safely ejecting removable volumes, enhancing the volume management capabilities. It adds the `VolumeEjectAction`, `VolumeEjectInput`, and `VolumeEjectOutput` structures to handle the eject operation. Additionally, the context menu in the UI is updated to include an option for ejecting volumes, improving user experience. The volume display logic is also refined to ensure accurate representation of volume properties. These changes collectively enhance the overall functionality and usability of the volume management system.
This commit adds a new example for debugging volume detection, showcasing how to detect and display various volume properties, including auto-track eligibility and primary volume identification. Additionally, it refactors the VolumeFingerprint struct to provide stable fingerprinting methods for primary, external, and network volumes, improving the reliability of volume identification across different scenarios. These changes enhance the overall volume management capabilities and provide a clearer debugging interface for developers.
This commit refactors the volume management system by replacing the VolumeItem struct with the Volume struct in the VolumeListOutput, streamlining the data representation. It enhances the volume display logic to utilize display names and adds helper functions to skip serializing unknown disk and volume types. Additionally, the JobManager is updated to include a new field for event emission control, improving job tracking and management. These changes improve overall clarity and efficiency in volume handling and job management.
This commit introduces a new method to count entries under a specific path prefix in the EphemeralIndex, improving the ability to query indexed paths. Additionally, it adds a new snapshot saving method that includes the root path, enhancing the restoration process for indexed data. The VolumeItem struct is updated to include a total file count from the ephemeral index, and the VolumeListQuery is modified to retrieve this count for indexed volumes, improving overall data management and user experience.
This commit refactors the EphemeralIndex and IndexSnapshot structures to replace PathBuf keys with EntryId keys in the entry_uuids and content_kinds HashMaps. This change enhances memory efficiency and aligns the indexing system with the new EntryId management strategy. Additionally, it updates related methods to ensure proper handling of UUIDs and content kinds based on EntryId, improving overall performance and consistency in the indexing process.
This commit introduces a detailed memory breakdown feature for the ephemeral indexing process, allowing users to view memory usage by component. It also enhances UUID management by implementing lazy generation and assignment of UUIDs during indexing and searching operations. These changes improve memory tracking and optimize UUID handling, contributing to better performance and user experience in the indexing system.
This commit modifies the daemon startup logic to check if the daemon is already running before attempting to build it. If the daemon is active, the build process is skipped, and the existing instance is used. This change improves efficiency by avoiding unnecessary builds and enhances the user experience during development. Additionally, the build process logging has been retained for clarity when a build is performed.
This commit removes the auto-subscription feature for job activity, streamlining the job registration process. Additionally, it enhances the JobManager by adding fields for job name and action context, allowing for better tracking and management of job-related information. These changes improve the overall clarity and efficiency of job handling within the system.
This commit enhances the ephemeral indexing process by introducing batch processing for entries, which reduces lock contention and improves performance. It also adds a new parameter to control event emissions based on the indexing context (volume indexing vs. directory browsing). Additionally, the progress reporting mechanism is updated to reflect actual file counts, ensuring more accurate completion metrics during indexing operations. These changes optimize the overall efficiency and user experience of the indexing system.
This commit introduces a new method, `should_emit_events`, to the job traits, allowing jobs to specify whether they should emit progress events. The JobManager is updated to utilize this new method, ensuring that event emissions are controlled based on job type (e.g., background jobs). This enhancement improves the flexibility of job handling and optimizes event management during job execution, particularly for ephemeral and volume indexing jobs.
This commit updates the IndexerJobConfig to include a new parameter for volume indexing, allowing for more accurate progress tracking during indexing operations. The changes ensure that both directory browsing and volume indexing can be handled appropriately, with modifications made to related components to accommodate this new functionality. Additionally, progress reporting is improved to reflect the total volume capacity when applicable, enhancing the user experience during indexing tasks.
This commit introduces a new snapshot mechanism for ephemeral indexes, allowing for fast restoration between sessions. The snapshot functionality utilizes zero-copy binary serialization with zstd compression, significantly reducing load times from over 10 minutes to just 1-2 seconds. The implementation includes methods for saving and loading snapshots, as well as enhancements to the existing indexing structure to support this feature. Additionally, the codebase is updated to ensure compatibility with the new snapshot format, improving overall performance and user experience.
This commit introduces a new migration that updates the FTS5 search index by removing filters that excluded directories. It drops and recreates triggers for insert, update, and delete operations without kind filters, ensuring that directories are included in the search index. Additionally, existing directories are added to the index, improving search functionality. The migration also includes a rollback mechanism to revert to the previous state if needed.