FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(http): add HTTP client space by antonreshetov · Pull Request #766 · massCodeIO/massCode · GitHub

feat(http): add HTTP client space - #766

Merged
antonreshetov merged 81 commits into
mainfrom
feat/http-space
May 3, 2026
Merged

feat(http): add HTTP client space#766
antonreshetov merged 81 commits into
mainfrom
feat/http-space

Conversation

Copy link
Copy Markdown
Member

No description provided.

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.
antonreshetov self-assigned this May 3, 2026
antonreshetov merged commit 5371e92 into main May 3, 2026
antonreshetov deleted the feat/http-space branch May 3, 2026 15:08
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL