From 31807b73df953243594a77b667feb002c7cc584e Mon Sep 17 00:00:00 2001 From: Anshul Garg Date: Wed, 29 Apr 2026 22:13:47 +0530 Subject: [PATCH] Fix stale path references in WARP.md (#9336) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description A few path references in WARP.md don't match the current workspace layout. The "Core Libraries" bullets list `warp_core/`, `editor/`, `ui/`, `ipc/`, and `graphql/` as if they live at the repo root, but each one is under `crates/`. The "Workspace Structure" line still says "34+ member crates" — `find crates -maxdepth 1 -mindepth 1 -type d` returns 63 today. And the Database / GraphQL sections point at paths that don't resolve: - `migrations/` → `crates/persistence/migrations/` - `app/src/persistence/schema.rs` → `crates/persistence/src/schema.rs` - `graphql/api/schema.graphql` → `crates/warp_graphql_schema/api/schema.graphql` Updated each reference to match what's on disk. ## Testing Docs-only change. Co-authored-by: anshul-garg27 --- WARP.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/WARP.md b/WARP.md index 05d7c5f2..9b9fec9f 100644 --- a/WARP.md +++ b/WARP.md @@ -65,11 +65,11 @@ This is a Rust-based terminal emulator with a custom UI framework called **WarpU - Workspace and session management (`workspace/`) **Core Libraries**: -- `warp_core/` - Core utilities and platform abstractions -- `editor/` - Text editing functionality -- `ui/` - Custom UI framework -- `ipc/` - Inter-process communication -- `graphql/` - GraphQL client and schema +- `crates/warp_core/` - Core utilities and platform abstractions +- `crates/editor/` - Text editing functionality +- `crates/warpui/` and `crates/warpui_core/` - Custom UI framework +- `crates/ipc/` - Inter-process communication +- `crates/graphql/` - GraphQL client and schema ### Key Architectural Patterns @@ -82,10 +82,10 @@ This is a Rust-based terminal emulator with a custom UI framework called **WarpU ### Development Guidelines **Workspace Structure**: -- This is a Cargo workspace with 34+ member crates -- Main binary is in `app/`, UI framework in `ui/` +- This is a Cargo workspace with 60+ member crates +- Main binary is in `app/`, UI framework in `crates/warpui/` - Platform-specific code is conditionally compiled -- Integration tests are in `integration/` +- Integration tests are in `crates/integration/` **Coding Style Preferences**: - Avoid unnecessary type annotations, especially in closure params. @@ -134,11 +134,11 @@ This is a Rust-based terminal emulator with a custom UI framework called **WarpU **Database**: - Uses Diesel ORM with SQLite -- Migrations in `migrations/` directory -- Schema defined in `app/src/persistence/schema.rs` +- Migrations in `crates/persistence/migrations/` +- Schema defined in `crates/persistence/src/schema.rs` **GraphQL**: -- Schema and client code generation from `graphql/api/schema.graphql` +- Schema and client code generation from `crates/warp_graphql_schema/api/schema.graphql` - TypeScript types generated for frontend integration ### Feature Flags