feat: Finish up TUI core for v0.1.0#53
Merged
yashranjan1 merged 11 commits intov0.1.0from Jul 28, 2025
Merged
Conversation
- Adds a request builder component with tabs for body, headers, query params - Adds a textarea component for editing the request body - Adds tab switching - Adds basic key handling
…eatures - Add notification system to SelectedCollectionView with footer display - Add "a" key handler showing "Adding endpoints is not yet implemented" - Add "r" key handler showing "Sending requests is not yet implemented" - Auto-clear notifications on any keypress - Remove TODO comment for request sending
- Remove commented enter handler in endpoint_sidebar.go - Remove commented "r" key handler in request_builder.go - Clean up code structure by removing obsolete commented blocks
- Update response viewer placeholder text to "Yet to be implemented..." - Add bold warning color styling to footer notifications - Use consistent "Yet to be implemented" messaging throughout TUI
- Create demo package with comprehensive API collection examples - Add JSONPlaceholder, ReqRes, and HTTPBin sample collections - Generate realistic endpoints with proper headers, query params, and request bodies - Show green success notification when dummy data is created on first app launch - Auto-skip generation if collections already exist - Clear notification on any user keypress - Fix notification persistence across view recreations Collections created: - JSONPlaceholder API (5 endpoints: CRUD operations) - ReqRes API (4 endpoints: user management and auth) - HTTPBin Testing (4 endpoints: HTTP testing utilities) Perfect for hackathon demos - users get instant realistic data to explore\!
- Show 'a: add endpoint' in selected collection view footer - Provides clear user guidance for endpoint creation functionality - Matches existing keybind pattern in footer instructions
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.
Fixes #32