Conversation
Introduces optional version_id to S3UploadMeta in Rust and TypeScript, updates video upload and sharing logic to use version_id for links when available. This enables more precise referencing of uploaded video versions and improves shareable link generation.
* Add workspace support to recording and upload flows Introduces workspace support throughout the desktop app, including API, authentication, recording settings, and upload logic. Updates Rust backend and frontend components to handle workspace IDs alongside organization IDs, enabling workspace selection and association for recordings and uploads. * Refactor useOptions to use createEffect for updates Replaces mergeProps with createEffect in useOptions to update organizationId and workspaceId reactively based on available organizations and workspaces. This improves reactivity and ensures options are updated when data changes. * Show workspace avatar in selection overlay Adds an avatar image next to the workspace name in the workspace selection overlay if the selected workspace has an avatarUrl. Also adjusts the gap between items for improved layout. * Formatting * Comment out unused UI elements and warnings Temporarily disables several UI components and warnings, including ShowCapFreeWarning, settings menu, and mode toggle prompts. Also updates spacing and adds an 'Adjust area' button for window selection. These changes streamline the overlay and recording controls, likely for testing or UI simplification. * Update recording controls UI and add new icons Added DoubleArrowSwitcher, ArrowUpRight, and RecordFill icons. Updated the recording controls UI for improved appearance and clarity, including new button styles and conditional rendering for login state. Commented out organization selection logic in target-select-overlay to simplify workspace selection.
Window close, minimize, and zoom buttons are now hidden for ShowCapWindow on macOS by running code on the main thread. The window level is set only if new_recording_flow is true.
Introduces InflightLogo, CloseIcon, and SettingsIcon components in icons.tsx. Refactors window chrome header layout and styles for improved appearance and usability, including new close and settings buttons in new-main/index.tsx. Cleans up formatting and removes unused code in (window-chrome).tsx.
* Revamp UI components and add new icons Introduces new SVG icons for camera, microphone, system audio, display, window, and crop. Adds HorizontalTargetButton component and refactors input and target selection controls for improved layout and styling. Updates window transparency and border radius for a modern look. Refactors InfoPill for new variants and updates usage in SystemAudio. Adjusts window size and layout in main page for better usability. * Update index.tsx
Introduces a new ArrowsOutIcon to the icons library and updates the camera preview controls UI for improved appearance and usability. Refactors control button components, applies new styling, and streamlines code formatting and logic for better maintainability.
Added ChevronDown icon and hover effects to CameraSelect and MicrophoneSelect components. Improved HorizontalTargetButton with new hover visuals. Refactored setup and startup screens to rename Cap to Inflight and streamlined code formatting for readability.
Updated the in-progress recording controls with new icons, improved styling, and a grab handle for window movement. Added several new SVG icons. Adjusted window size for recording controls and refined camera preview header styling. Also added a debug button in development mode to open a debug webview.
Updated the settings UI for a more modern look, refactored settings navigation, and added workspace selection for authenticated users. Improved excluded windows management, adjusted hotkey and recording settings layouts, and updated branding references from Cap to Inflight. Also added support for default workspace ID in general settings and improved traffic light positioning for the settings window.
Removed the DEV-only debug button from the new-main page. Updated the Account setting item to display the button based on actual authentication data instead of a hardcoded false value.
Rebrands the desktop app from Cap to Inflight by updating product names, identifiers, and updater endpoints in Tauri config files. Also removes Discord notification steps and related inputs from the publish GitHub Actions workflow, and updates the CN_APPLICATION environment variable.
Changed Sentry organization and project in publish workflow. Increased window height in new-main page and removed license/branding bar. Restored countdown display in in-progress-recording. Prevented event propagation on area bounds button in target-select-overlay.
Changed the runner for macOS targets from 'macos-latest-xlarge' to 'macos-latest' in the GitHub Actions publish workflow to use the standard runner.
Updated the Cargo.toml version for cap-desktop from 0.3.84 to 0.3.85 to prepare for a new release.
Updated the default value of the 'mode' property from 'studio' to 'instant' in the createOptionsQuery function to reflect new requirements or preferences.
Updated the MicrophoneSelect component's class list to include 'relative' and 'overflow-hidden' for improved layout and containment of child elements.
commit bdf23c8 Merge: 87ffbc2 d654add Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Sun Nov 30 21:38:31 2025 +0800 Merge pull request CapSoftware#1417 from CapSoftware/cursor/optimize-editor-performance-for-large-videos-claude-4.5-opus-high-thinking-fb23 Optimize editor performance for large videos commit d654add Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Sun Nov 30 21:35:01 2025 +0800 fmt commit 3213283 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Sun Nov 30 21:27:29 2025 +0800 clippy commit 35f9380 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Sun Nov 30 21:13:41 2025 +0800 fmt commit d1e708a Author: Cursor Agent <cursoragent@cursor.com> Date: Sun Nov 30 10:47:39 2025 +0000 Refactor playback prefetching to use tokio mpsc and futures Co-authored-by: richiemcilroy1 <richiemcilroy1@gmail.com> commit 23f8516 Author: Cursor Agent <cursoragent@cursor.com> Date: Sun Nov 30 10:45:29 2025 +0000 Checkpoint before follow-up message Co-authored-by: richiemcilroy1 <richiemcilroy1@gmail.com> commit 9bb14bb Author: Cursor Agent <cursoragent@cursor.com> Date: Sun Nov 30 10:23:27 2025 +0000 Refactor: Improve editor performance and UI responsiveness Co-authored-by: richiemcilroy1 <richiemcilroy1@gmail.com> commit 87ffbc2 Merge: 3cb22ad 0e16f7c Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Sat Nov 29 16:30:29 2025 +0530 Merge pull request CapSoftware#1410 from p-delorme/fix-camera-init Handles legacy camera size (strings) commit 0e16f7c Merge: 21f197e 3cb22ad Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Sat Nov 29 18:48:41 2025 +0800 Merge branch 'main' into pr/1410 commit 3cb22ad Merge: 2330c53 48f7aeb Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Sat Nov 29 10:00:30 2025 +0530 Merge pull request CapSoftware#1395 from CapSoftware/screenshots commit 48f7aeb Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Sat Nov 29 12:02:29 2025 +0800 fmt commit 126421d Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Sat Nov 29 11:59:07 2025 +0800 types/clippy bits commit cdc91c0 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Sat Nov 29 11:47:16 2025 +0800 Throw SilentError on export cancellation commit 980720e Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Sat Nov 29 11:47:06 2025 +0800 Add image dimension and data validation to editor commit 860ccd7 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Sat Nov 29 11:46:57 2025 +0800 Add camera_cleanup_done flag to prevent redundant cleanup commit 38cc696 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Sat Nov 29 00:02:07 2025 +0800 claude settings commit e2545ee Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 23:58:31 2025 +0800 Improve screenshot capture reliability and performance commit ba9ba53 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 23:58:17 2025 +0800 Add validation for annotation and camera config commit 641a99a Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 23:58:03 2025 +0800 Show toast on screenshot failure in overlay commit ba901dd Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 22:48:55 2025 +0800 Add keyboard shortcuts for export actions in Header commit c73f735 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 21:47:48 2025 +0800 Add stride check in FFmpeg frame conversion commit 6825eb3 Merge: 4d73f14 2330c53 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 21:23:41 2025 +0800 Merge branch 'main' into screenshots commit 2330c53 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 20:22:42 2025 +0800 fix: margin on mobile nav commit 0765fee Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 20:16:06 2025 +0800 feat: Cap Friday commit 4d73f14 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 04:55:51 2025 +0530 Add fast screenshot capture and shared GPU context commit f8f1d01 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 04:54:15 2025 +0530 Add toast notifications for screenshot actions commit bb0310d Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 01:16:47 2025 +0530 misc bits commit ed64349 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 01:16:42 2025 +0530 Refactor camera window cleanup logic commit 2b1eb9e Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 01:16:25 2025 +0530 Handle errors during titlebar initialization commit eafc7d9 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 01:16:12 2025 +0530 Refactor import and error handling in screenshot_editor.rs commit d776857 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 01:15:59 2025 +0530 Optimize PNG screenshot encoding settings commit 737b89a Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 01:15:42 2025 +0530 Remove unused mutable binding in camera_legacy.rs commit 37456d3 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 00:39:08 2025 +0530 Disable cursor capture in screenshot functionality commit 694de05 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 00:24:07 2025 +0530 Refactor camera preview to use broadcast channel commit 7c68831 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 00:23:58 2025 +0530 Switch frame channel from flume to tokio broadcast commit 3a39c9c Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 00:23:25 2025 +0530 Refactor WebSocket frame handling to use broadcast channel commit f12c13e Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 00:23:14 2025 +0530 Refactor render shutdown handling in screenshot editor commit 3c4a124 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 00:23:05 2025 +0530 Remove timestamp from screenshot src commit 032b819 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 00:21:25 2025 +0530 Handle shutdown in screenshot editor render loop commit 7dd146a Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Fri Nov 28 00:15:59 2025 +0530 Handle missing ScreenshotEditor instance gracefully commit 21f197e Author: Patrick Delorme <pdelorme@agence104.com> Date: Wed Nov 26 22:18:33 2025 -0500 Handles legacy camera size strings commit 9d22e01 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Sat Nov 22 09:24:47 2025 +0000 0.4.0 commit af1cc60 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Sat Nov 22 10:45:45 2025 +0530 feat: Screenshots V1 - Enhance screenshot editor with mask tool and export cancel commit 61982eb Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Thu Nov 20 16:03:26 2025 +0000 Add screenshot export improvements and new icon commit 1996ab6 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Thu Nov 20 15:28:16 2025 +0000 Implement Windows screenshot capture support commit 7bd9644 Merge: 6dcb6f2 f272bbf Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Thu Nov 20 15:22:15 2025 +0000 Merge branch 'main' into screenshots commit a292974 Merge: f272bbf 4a41f99 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Thu Nov 20 15:21:54 2025 +0000 Merge pull request CapSoftware#1381 from phuocithcmus/fix/window-memory-leak-processout fix: window memory leak - memory increase while recording commit 6dcb6f2 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Thu Nov 20 15:03:01 2025 +0000 Refactor mask blur logic for screenshot editor commit b4c8a17 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Thu Nov 20 12:51:21 2025 +0000 feat: Screenshot editor styling/layout + Mask annotation commit f272bbf Merge: 563e238 bab0348 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 19:01:40 2025 +0000 Merge pull request CapSoftware#1396 from ItsEeleeya/new-theme-previews New theme preview icons commit bab0348 Author: Ilya <47112191+ItsEeleeya@users.noreply.github.com> Date: Wed Nov 19 21:54:35 2025 +0330 Remove unused commit ef4a54f Author: Ilya <47112191+ItsEeleeya@users.noreply.github.com> Date: Wed Nov 19 21:45:33 2025 +0330 New theme preview icons commit f92090a Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 17:57:11 2025 +0000 Add screenshot support to target selection UI commit 849b702 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 17:20:53 2025 +0000 Replace Button with native button in TargetMenuPanel commit f28cffd Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 17:15:52 2025 +0000 Add recordings grid and menu to main window commit 84d1baa Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 16:55:52 2025 +0000 Refactor screenshot saving and editor window management commit f9450c8 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 16:55:35 2025 +0000 Add screenshot mode and image icon support commit 11007c2 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 16:55:23 2025 +0000 Refactor screenshot editor and add screenshots tab commit 77cac64 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 02:45:50 2025 +0000 Integrate live preview for screenshot editor commit c982991 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 02:45:40 2025 +0000 Add screenshot editor integration and DecodedFrame constructor commit 50ca057 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 02:45:24 2025 +0000 Add screenshot editor backend implementation commit 4c3b942 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 02:31:13 2025 +0000 Allow Slider to accept custom history prop commit f7047a0 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 02:29:18 2025 +0000 feat: v1 of screenshots commit 563e238 Merge: 9edf1ce 2f75043 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 00:33:18 2025 +0000 Merge pull request CapSoftware#1390 from CapSoftware/editor-perf feat: Various features + performance bits commit 2f75043 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 00:30:49 2025 +0000 clippy bits commit ef920b2 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 00:20:04 2025 +0000 gen'd files commit 695bb66 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 00:19:52 2025 +0000 Fix requestAnimationFrame cleanup in overlay commit 0510be8 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 00:19:44 2025 +0000 Add __CAP__ property to Window interface commit 756d296 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 00:19:29 2025 +0000 Improve camera window resizing and positioning logic commit ff78eba Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed Nov 19 00:19:09 2025 +0000 Clarify and emphasize no code comments policy commit 6db1d2d Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 23:41:03 2025 +0000 Remove unused setCamera mutation in camera page commit 51e2f6e Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 23:38:43 2025 +0000 misc packages commit a0aeffa Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 23:38:32 2025 +0000 Refactor duration calculation for readability commit fd30b14 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 21:52:38 2025 +0000 Add checked_duration_since for timestamp types commit 05f39bb Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 21:46:20 2025 +0000 Improve countdown animation and fix recording logic commit dec0d8e Merge: 0066eb1 5de394f Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 21:44:52 2025 +0000 Merge branch 'editor-perf' of https://github.com/CapSoftware/Cap into editor-perf commit 0066eb1 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 21:36:48 2025 +0000 Add camera overlay bounds update and revert logic commit 5de394f Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 20:51:15 2025 +0000 Update apps/desktop/src-tauri/src/camera.rs Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> commit e6e9320 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 18:26:21 2025 +0000 Improve logging and error context in recording pipeline commit d24e92c Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 17:10:19 2025 +0000 Add code formatting guidelines to documentation commit 2b504dd Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 16:54:29 2025 +0000 Update camera.tsx commit 891b122 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 16:54:02 2025 +0000 Improve camera feed sender handling and logging commit 831fb76 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 16:53:42 2025 +0000 Fix import order in experimental settings route commit dd39425 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 16:41:22 2025 +0000 Set Mellow as default for CursorAnimationStyle commit ce63e02 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 16:41:11 2025 +0000 Add resizing to camera window commit 6dd3ff1 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 16:40:46 2025 +0000 Hide native camera preview toggle on Windows commit 44a5348 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 15:14:03 2025 +0000 Refactor type casting for currentRecording data commit 41fbc5c Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 14:51:41 2025 +0000 Improve camera initialization and recording state handling commit 6aca28e Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 14:51:33 2025 +0000 Add initializing state to recording flow commit d2b8fd4 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 14:50:45 2025 +0000 Update close button to use window close action commit fee3391 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 12:00:28 2025 +0000 Reset camera and mic state on window close and recording end commit 184ad59 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 10:49:45 2025 +0000 lost a days work (I F'D UP) commit 8b403a8 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue Nov 18 10:40:07 2025 +0000 Update recording UI container styles commit 37eb7c8 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Mon Nov 17 20:52:24 2025 +0000 Update settings.local.json commit cced653 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Mon Nov 17 20:52:18 2025 +0000 Improve camera frame forwarding and logging commit dbe8ae1 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Mon Nov 17 20:50:12 2025 +0000 Refactor waveform rendering in ClipTrack commit 5d95f24 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Mon Nov 17 20:15:25 2025 +0000 Handle excluded windows in macOS screen capture commit b61958c Merge: bd1fc73 9edf1ce Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Mon Nov 17 17:12:38 2025 +0000 Merge branch 'main' into editor-perf commit bd1fc73 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Mon Nov 17 13:07:30 2025 +0000 fmt commit 0a5fea6 Author: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Mon Nov 17 13:07:10 2025 +0000 Refactor project config save with custom debounce commit 4a41f99 Author: phuocnd <ducphuoc.t9@gmail.com> Date: Wed Nov 12 16:15:42 2025 +0700 fix: window memory leak - memory increase while streaming
Simplifies tab definitions and navigation in settings, updates tab names, and removes unused code. Refactors camera control buttons to use a unified ControlButton component, removes redundant ControlButtonWithBackground, and cleans up duplicated logic. Comments out unused microphone status UI in in-progress-recording.
* Require authentication for all recording modes Refactored video pre-creation logic to require user authentication for both instant and studio recording modes. Previously, only instant mode required sign-in; now, both modes will prompt the user to sign in if not authenticated. * Update recording.rs * Update recording.rs * Add subpath support to multipart video uploads Introduces a 'subpath' parameter to multipart upload initiation, presigning, and completion functions, allowing more flexible file organization. Updates related structs and function calls throughout the desktop and project crates to persist and utilize the subpath. Also standardizes screenshot upload subpath to 'screenshot.jpg'. * Add separate camera and cursor capture to instant recording Refactors instant recording to support separate camera video and custom cursor event capture. Updates pipeline creation and actor handling to manage display, camera, and cursor outputs independently, enabling more flexible recording configurations. * Update recording.rs * Refactor error handling and import in upload and recording Improves readability in upload.rs by formatting the upload_multipart_complete call. Adds 'anyhow' to imports in instant_recording.rs for more flexible error handling. * Refactor instant recording camera upload and pipeline Split instant recording uploads into display and camera streams, with separate upload handling and improved error management. Camera video pipeline now clamps resolution and sets bpp for output. Updated ffmpeg muxer to accept configuration for output size and bpp. Adjusted related logic in desktop and studio recording modules to support these changes. * Refactor main window route for readability Reformats code in (main).tsx to improve readability and maintainability by collapsing multi-line statements, simplifying conditional logic, and reducing unnecessary line breaks. No functional changes were made. * Update ci.yml * Biome formatting * Update ci.yml
Updated the cap-desktop package version from 0.4.0 to 0.4.1 in Cargo.toml and Cargo.lock to prepare for a new release.
Changed the desktop deep-link scheme from 'cap-desktop' to 'inflight-desktop' in tauri.conf.json to reflect the new application protocol.
Replaces the existing dmg-background.png with a new version in the desktop app's Tauri assets.
* First round edits * Update permissions.rs * Update Button.tsx * Update setup.tsx --------- Co-authored-by: Veer Gadodia <veergadodia24@gmail.com>
- Remove unused `_level` variable pattern in window iteration - Move `scap_targets` import to proper location with other crate imports Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When recording an area of the screen, background windows that are completely occluded by other windows can still appear in the capture due to timing or z-order changes. This change adds: 1. `update_content_filter` method on Capturer to dynamically update the ScreenCaptureKit content filter during recording 2. AreaCaptureInfo struct to store information needed for monitoring 3. A background task (area-capture-filter-monitor) that runs every 200ms during area recordings to: - Detect which windows are fully occluded (background windows) - Update the content filter to exclude those windows - Only trigger filter updates when the background window list changes This ensures that windows which are behind other windows in the capture area won't suddenly appear in the recording even if z-order changes occur. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Update Cargo.toml
Update recording.rs
bump version
Ridds Feedback
* Improve code quality: error handling, eliminate duplication, extract magic numbers - Add try/finally error handling in target overlay button handlers to prevent permanent loading state - Extract shared handleTargetModeClick function to eliminate 70+ lines of duplicated code across 6 buttons - Move setInitialCheck into finally block for clearer execution order - Extract SIGN_IN_TIMEOUT_MS constant to eliminate magic numbers - All changes maintain identical functionality while improving maintainability Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> * Fix Biome formatting errors Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* Bump version to 0.4.17 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Add pnpm rebuild step to fix native module compilation The macos-alias native module wasn't being compiled for Node 24, causing the fix-dmg script to fail with MODULE_NOT_FOUND. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
- Remove fix-dmg-positions.js script - Remove ds-store dependency (has native module incompatible with Node 24) - Remove Fix DMG step from publish workflow - Downgrade Node from 24 to 20 (LTS) - Bump version to 0.4.18 Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Regenerate pnpm-lock.yaml after removing ds-store dependency. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
- Trigger /api/recording/process-ai after video upload completes - Show countdown timer on selected display instead of primary monitor Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* update user agent * fixed line endings * Fix Windows build: use physical_position() instead of logical_position() The scap-targets crate only provides logical_position() on macOS and physical_position() on Windows. Added #[cfg] guards to use the correct platform-specific method. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Fix formatting and update Cargo.lock - Run cargo fmt to fix api.rs formatting - Update Cargo.lock for CI --locked flag Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Update Cargo.lock dependencies Sync lockfile with latest compatible dependency versions to fix CI --locked check. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Revert Cargo.lock to main branch version Reverting the full cargo update as it caused version mismatches. The --locked CI check issue is a pre-existing infrastructure problem with git dependencies, not related to this PR's changes. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Too many files changed for review. ( |
| .cursor | ||
| .env*.local | ||
|
|
||
| # Secrets and credentials |
There was a problem hiding this comment.
Looks like .claude/settings.local.json and the generated desktop artifacts in this PR are machine/build outputs; keeping them out of git avoids leaking local paths and keeps the repo lean.
| # Secrets and credentials | |
| .claude/settings.local.json | |
| apps/desktop/app.config.timestamp_*.js | |
| apps/desktop/core |
| "Bash(pnpm format:*)", | ||
| "Bash(pnpm exec biome check:*)" | ||
| "Bash(pnpm exec biome check:*)", | ||
| "Bash(/opt/homebrew/bin/pnpm format)", |
There was a problem hiding this comment.
This file looks machine-local (hardcoded paths like /opt/homebrew/... + per-user command permissions). I would avoid committing it; consider committing a .claude/settings.example.json (repo-safe defaults) and keeping settings.local.json ignored.
| name = "cap-desktop" | ||
| version = "0.4.0" | ||
| description = "Beautiful screen recordings, owned by you." | ||
| name = "Inflight" |
There was a problem hiding this comment.
Cargo package names are typically lowercase/kebab-case; if this is purely app branding, it may be safer to keep the Rust package.name stable and set the product name via Tauri config / Info.plist instead (less chance of breaking crate references/tooling). If the rename is intentional, worth double-checking any scripts/crates that referenced the old package name.
| @@ -0,0 +1,37 @@ | |||
| // app.config.ts | |||
There was a problem hiding this comment.
This looks like a generated/compiled build artifact (timestamped filename + transpiled output). I would avoid committing it and instead generate it during build; ignoring apps/desktop/app.config.timestamp_*.js keeps diffs and bundles a lot cleaner.
Summary
Test plan
🤖 Generated with Claude Code