feat(http): add HTTP client space#766
Merged
antonreshetov merged 81 commits intomainfrom May 3, 2026
Merged
Conversation
Implements HttpFoldersStorage (CRUD over folders persisted in state.yaml plus filesystem dirs) and HttpRequestsStorage (CRUD over .md request files with frontmatter). Extends shared validation kinds to cover 'request' for sibling-name conflict messages.
Adds HTTP environments and history storages on top of state.yaml, exposes createHttpStorageProvider via useHttpStorage(), registers HTTP space in PERSISTED_SPACE_IDS and integrates http runtime cache into the markdown watcher so external file changes resync and broadcast storage-synced.
Single source of truth for HTTP primitives shared between main, IPC and renderer (renderer tsconfig already includes src/main/types/**). Removes duplicate definitions from runtime/types.ts and inline declarations in the IPC handler.
…nts, history and execute Module-level reactive state for the HTTP space. Mirrors the notes-space pattern: useHttpFolders/useHttpRequests/useHttpEnvironments/useHttpHistory talk to the REST API, useHttpExecute wraps the spaces:http:execute IPC, useHttpApp owns the cross-composable folderId/requestId selection. useHttpRequests tracks a draft snapshot against the loaded request so the UI can detect dirty state and offer save/discard. Adds the spaces.http.untitledRequest i18n key for default request names.
HttpSpace view wires LayoutThreeColumn with HttpSidebar, RequestEditor and ResponsePanel placeholders. useHttpSpaceInit kicks off folders/requests/ environments/history fetches once on mount. Real component bodies follow in Phase 6.2-6.5.
…cription tab to pre-request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.