Skip to content

refactor and fix: fixed query apis and refactor interactive TUI mode …#93

Draft
pratik50 wants to merge 1 commit intoparseablehq:mainfrom
pratik50:feat/interactive-query
Draft

refactor and fix: fixed query apis and refactor interactive TUI mode …#93
pratik50 wants to merge 1 commit intoparseablehq:mainfrom
pratik50:feat/interactive-query

Conversation

@pratik50
Copy link
Copy Markdown
Contributor

@pratik50 pratik50 commented May 6, 2026

Summary

  • Added -i / --interactive flag for full-screen TUI query results
  • Modified command for interactive mode with clean ui
  • Fixed terminal layout for responsivess
  • Added auto-quoting for hyphenated stream names (nginx-logs → "nginx-logs")

bcoz sql returns error for hypen-text

  • Added --from/--to time correct parsing (now, durations, 1d, RFC3339)

Test plan

  • pb query run "" -i opens TUI correctly
  • ctrl+r re-runs query
  • ctrl+c exits
  • Hyphenated stream works
  • --from formats parse correctly

for refrences

Screenshot 2026-05-06 at 8 32 24 PM
Screenshot 2026-05-06 at 8 47 10 PM

@pratik50 pratik50 marked this pull request as draft May 6, 2026 15:21
@pratik50 pratik50 self-assigned this May 6, 2026
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