Skip to content

fix(tauri): add missing start-dragging window capability#1

Open
SandraRAP wants to merge 34 commits into
mainfrom
fix/window-drag-capability
Open

fix(tauri): add missing start-dragging window capability#1
SandraRAP wants to merge 34 commits into
mainfrom
fix/window-drag-capability

Conversation

@SandraRAP
Copy link
Copy Markdown
Collaborator

Summary

  • Adds core:window:allow-start-dragging permission to src-tauri/capabilities/default.json
  • Without this permission, the custom title bar's data-tauri-drag-region attribute was ignored by Tauri, making the window immovable

Test plan

  • Run bun run tauri dev and verify the window can be dragged by its title bar
  • Verify window controls (minimize, maximize, close) still work

Made with Cursor

…ipeline state management

- Updated UI components to display activity and pipeline status.
- Introduced new hooks and IPC methods for better integration with the atomization process.
- Refactored related code for improved clarity and maintainability.
… backend

- Add wizard_logic.rs: advance_wizard_step, save_wizard_draft, mark_wizard_stale,
  validate_describe_input, validate_project_config, validate_launch_readiness,
  get_default_config, add/update/remove/reorder/get_stories commands
- Add wizard_state.rs: WizardStepState with advance/mark_stale/clear_stale
- Add validation.rs: validate_config, validate_describe, validate_launch_readiness
  with unit tests; ConfigLimits and ConfigDefaultsResponse
- Add stories_crud.rs: full CRUD over prd.json (add, update, remove, reorder, get)
- Add notification_filter.rs: should_emit_verification_failed, build_notification
- Add plan_engine/filters.rs: noise filtering for plan stream output
- Add wizard-logic.ts: IPC bindings for all new Tauri commands
- Remove draft-payload.ts: draft construction moved to save_wizard_draft (Rust)
- Remove plan-stream-filters.ts: filtering moved to plan_engine/filters.rs (Rust)
- Remove wizard store mutations for stories: all writes go through backend
- Replace hardcoded DEFAULT_CONFIG with PLACEHOLDER_CONFIG; config loaded from
  get_default_config on Configure mount
- Wire all new commands in invoke.rs
Standardize linting and formatting across frontend and Rust so Biome, TypeScript, rustfmt, and clippy run clean in strict mode through hooks and CI.
Align rule coverage with artifact and vertical-slice contracts while splitting guidance into focused files to reduce implementation ambiguity.
…g failure

Make AppHandle generic over R: Runtime across the test call chain so
MockRuntime tests compile. Add tauri test feature as dev-dependency,
supply missing StartLoopArgs fields, annotate closure parameter types,
and skip updater artifact creation in CI builds.
Move SystemReadiness to its alphabetically correct position.
…izer prompts

Fix activity, contract, invoke, and plan engine test fixtures so the
full suite passes green. Upgrade atomize templates with richer context
and clearer instructions for chunk, merge, stories, and summarize stages.
Prevents transient Setup Bun failures caused by unpinned version
resolution on GitHub Actions runners.
Replace oven-sh/setup-bun action with npm install -g bun which uses the
npm registry instead of GitHub CDN, eliminating transient download
failures. Switch resolve_agent_binary test from zsh to bash so it passes
on Ubuntu CI runners where zsh is not installed.
Raise wait_for_plan_idle to 200x50ms and wait_for_completion to
300x100ms so contract tests survive slower GitHub Actions runners.
The custom title bar uses data-tauri-drag-region but the window
could not be moved because the core:window:allow-start-dragging
permission was not declared in the default capabilities.
@taberoajorge taberoajorge force-pushed the fix/window-drag-capability branch 3 times, most recently from e74bdef to 8f20f21 Compare April 20, 2026 02:36
@taberoajorge taberoajorge self-requested a review as a code owner April 20, 2026 02:36
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