v0.1.0-alpha.4: relay rebrand, request view, config/theming, docs - #2
Merged
Merged
Conversation
…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
- 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
- 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.
|
@yashranjan1 Go code formatting is required. Please run |
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
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.
Summary
Brings
mainup 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.maniac-en/req→yashranjan1/relay, config directory and log file renamed accordingly, issue templates, CI/changelog script updates.MethodPicker,UrlInput, andViewPortcomponents; endpoints can now be opened, edited, and sent as real HTTP requests with responses rendered in a viewport.internal/config) and a theme system (Dark, Light, Cyberpunk, etc.) wired through the TUI styles.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)Closes #1