Skip to content

feat: Finish up TUI core for v0.1.0#53

Merged
yashranjan1 merged 11 commits intov0.1.0from
tui/core
Jul 28, 2025
Merged

feat: Finish up TUI core for v0.1.0#53
yashranjan1 merged 11 commits intov0.1.0from
tui/core

Conversation

@maniac-en
Copy link
Collaborator

  • feat(tui): display endpoint details in selected collection view
  • feat(tui): add request builder view
  • feat(tui): implement headers and query params editors in req builder
  • chore(tui): improve TUI layout and styling
  • bugfix: collection form styling
  • feat(tui): add "yet to be implemented" notifications for incomplete features
  • chore(tui): remove unused commented code and debug comments
  • feat(tui): improve notification styling and consistency
  • feat(demo): add dummy data generation with startup notification
  • fix: remove unused log import in collections view
  • feat(tui): add 'a: add endpoint' keybind to footer

Fixes #32

maniac-en and others added 11 commits July 28, 2025 15:49
- 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
@maniac-en maniac-en requested a review from yashranjan1 July 28, 2025 14:21
Copy link
Member

@yashranjan1 yashranjan1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@maniac-en maniac-en changed the title feat: Finish up TUI core for v0.1.05 feat: Finish up TUI core for v0.1.0 Jul 28, 2025
@yashranjan1 yashranjan1 merged commit 8f905bf into v0.1.0 Jul 28, 2025
4 checks passed
@yashranjan1 yashranjan1 deleted the tui/core branch July 28, 2025 14:24
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.

2 participants