Skip to content

v0.1.0-alpha.4: relay rebrand, request view, config/theming, docs - #2

Merged
yashranjan1 merged 49 commits into
mainfrom
v0.1.0-alpha.4
Sep 3, 2026
Merged

yashranjan1 merged 49 commits into
mainfrom
v0.1.0-alpha.4

Conversation

@yashranjan1

@yashranjan1 yashranjan1 commented Sep 3, 2026 •

Copy link
Copy Markdown
Owner

Summary

Brings main up to date with the v0.1.0-alpha.4 release-prep work: the "relay" rebrand, the request view feature (method picker, URL input, response viewport, request execution), config/theming, and initial docs.

  • Rebrand: module path and imports maniac-en/req → yashranjan1/relay, config directory and log file renamed accordingly, issue templates, CI/changelog script updates.
  • Request view: new MethodPicker, UrlInput, and ViewPort components; endpoints can now be opened, edited, and sent as real HTTP requests with responses rendered in a viewport.
  • Config & theming: TOML-based config loading (internal/config) and a theme system (Dark, Light, Cyberpunk, etc.) wired through the TUI styles.
  • Cleanup: removed the dummy-data demo generator now that real requests work; various navigation and state-handling fixes across the endpoints/collections/request views.
  • Docs: new VitePress documentation site under docs/ (installation, first steps, customization), deployed via GitHub Pages.

Test plan

  • go build ./...
  • go vet ./...
  • go test ./...
  • pnpm run docs:build (docs site builds cleanly)
  • Manual smoke test of the request flow (select endpoint → change method/URL → send → view response) in the built binary

Closes #1

yashranjan1 and others added 30 commits November 5, 2025 17:36
…fixed, ep list rendering changed as discussed in issue overhttps#69
The purpose of this PR is to address overhttps#69, overhttps#66 and overhttps#67
- URL box width fixed
- Request view now updates based on ep selection
- Changes to request view now save
- Changes to request view cause items in the ep list to update
- Added a placeholder for the url box
- Skeleton for a response view added
- You can now send requests and see the response for it
- Adds and wires up the dedicated request view to the application model.
- Refactors EndpointsView to streamline navigation to the request view.
- Simplifies item delegate logic in endpoints-view-helper.go by adopting default styles.
- Updates RequestView state initialization to load endpoints by ID.
- Refactors AppModel update logic to correctly handle window resizing across all views.
- Updates RequestView and AppModel initialization to use a structured RequestViewConfig.
- Improves error handling in main and run functions for safer process termination.
- Adds support for displaying HTTP response data and errors in the RequestView.
- The automatic generation of demo API endpoints and collections has been removed.
- This cleans up the main.go startup routine and removes the demo package dependency.
- This makes the application startup flow more minimal and reduces reliance on hardcoded demo data.
- Implements config loading from user-specified TOML files.
- Centralizes TUI styling by introducing a theme system (Dark, Light, Cyberpunk, etc.).
- Refactors views to improve focus/blur handling and state consistency across components.
- Updates core views and components to utilize the new themed styles and state patterns.
- Adjusted padding and margin settings in style definitions for improved layout consistency.
- Updated state setting logic in RequestView to correctly use the viewports state management.
feat(request): Added request page components + more
…fixed, ep list rendering changed as discussed in issue overhttps#69
- URL box width fixed
- Request view now updates based on ep selection
- Changes to request view now save
- Changes to request view cause items in the ep list to update
- Added a placeholder for the url box
- Skeleton for a response view added
- You can now send requests and see the response for it
- Adds and wires up the dedicated request view to the application model.
- Refactors EndpointsView to streamline navigation to the request view.
- Simplifies item delegate logic in endpoints-view-helper.go by adopting default styles.
- Updates RequestView state initialization to load endpoints by ID.
- Refactors AppModel update logic to correctly handle window resizing across all views.
- Updates RequestView and AppModel initialization to use a structured RequestViewConfig.
- Improves error handling in main and run functions for safer process termination.
- Adds support for displaying HTTP response data and errors in the RequestView.
- The automatic generation of demo API endpoints and collections has been removed.
- This cleans up the main.go startup routine and removes the demo package dependency.
- This makes the application startup flow more minimal and reduces reliance on hardcoded demo data.
- Implements config loading from user-specified TOML files.
- Centralizes TUI styling by introducing a theme system (Dark, Light, Cyberpunk, etc.).
- Refactors views to improve focus/blur handling and state consistency across components.
- Updates core views and components to utilize the new themed styles and state patterns.
- Adjusted padding and margin settings in style definitions for improved layout consistency.
- Updated state setting logic in RequestView to correctly use the viewports state management.
- Update all Go imports and paths from req to relay
- Add VitePress documentation site and startup demo assets
- Adjust configuration directories and environment variables for Relay
# Conflicts:
#	internal/backend/demo/dummy_data.go
#	internal/config/config.go
#	internal/tui/app/model.go
#	internal/tui/components/ComponentTypes/types.go
#	internal/tui/components/MethodPicker/component.go
#	internal/tui/components/MethodPicker/config.go
#	internal/tui/components/UrlInput/component.go
#	internal/tui/components/ViewPort/component.go
#	internal/tui/messages/messages.go
#	internal/tui/views/endpoints-view-helper.go
#	internal/tui/views/request-view-helper.go
#	internal/tui/views/request-view.go
#	internal/tui/views/types.go
#	main.go
- Update relative path for startup gif asset
- Correct broken image reference in quick start documentation
Lets the build/test/format-check workflow be run manually, as a
fallback since push/pull_request triggers aren't firing on this repo.
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

@yashranjan1 Go code formatting is required. Please run go fmt ./... to format your code and push the changes. Check the action logs for details on which files need formatting.

The relay rebrand's import-path rewrite left this import
out of gofmt's sort order; never caught until CI actually ran.
- Add check for invalid item ID before entering edit mode
- Prevent out of bounds panics when editing an empty list
- Add check to ensure selected item ID is not negative before dispatching DeleteItem message
- Avoid unintended delete events when no valid item is focused
@yashranjan1
yashranjan1 merged commit 3711dff into main Sep 3, 2026
4 checks passed
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.

typing e when theres nothing in options provider causes a weird interaction

2 participants