Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: auto-detect project actions on creation#39

Merged
wesbillman merged 3 commits intomainfrom
action-discovery
Feb 11, 2026
Merged

feat: auto-detect project actions on creation#39
wesbillman merged 3 commits intomainfrom
action-discovery

Conversation

@matt2e
Copy link
Contributor

@matt2e matt2e commented Feb 11, 2026

Summary

  • Automatically triggers action detection in background when creating new projects
  • Displays "Detecting actions..." status with spinner during detection
  • Syncs Actions settings dialog with auto-detection state
  • Fixes svelte-check warnings for state references in BranchCard

Changes

  • NewProjectModal: Added onDetecting callback and detectAndSaveActions function to trigger auto-detection
  • ProjectHome: Added detectingProjectIds state tracking and handleProjectDetecting handler
  • ProjectSection: Added detecting prop and status indicator display in header
  • ProjectSettingsModal: Shows detection status, disables discover button during detection, auto-reloads on completion
  • BranchCard: Fixed state_referenced_locally warnings by properly using runes

Test plan

  • Create a new project and verify actions are auto-detected with status indicator
  • Open Actions dialog during auto-detection and verify status is shown
  • Verify actions reload automatically when detection completes
  • Run svelte-check with no warnings

🤖 Generated with Claude Code

wesbillman
wesbillman previously approved these changes Feb 11, 2026
matt2e and others added 3 commits February 11, 2026 13:46
Restores automatic action discovery behavior when creating new projects:
- Auto-triggers action detection in background after project creation
- Displays "Detecting actions..." status with spinner in project header
- Implements silent error handling to prevent blocking UX
- Adds state tracking for detection status across components

Changes:
- NewProjectModal: Added onDetecting callback and detectAndSaveActions function
- ProjectHome: Added detectingProjectIds state and handleProjectDetecting handler
- ProjectSection: Added detecting prop and status indicator in header

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
…letion

Fixes issues where the Actions settings dialog was out of sync during auto-discovery:
- Shows "Detecting actions..." status and disables discover button during auto-detection
- Automatically reloads actions when background auto-detection completes
- Passes detecting state from ProjectHome through ProjectSection to ProjectSettingsModal

Changes:
- ProjectSettingsModal: Added detecting prop, combined with internal state, added effect to reload on completion
- ProjectSection: Passes detecting prop to ProjectSettingsModal

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@wesbillman wesbillman merged commit 59a72f1 into main Feb 11, 2026
2 checks passed
@wesbillman wesbillman deleted the action-discovery branch February 11, 2026 21:51
loganj added a commit that referenced this pull request Feb 26, 2026
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.

2 participants