Skip to content

BirdCLI Integration Issues #56

@aatrey56

Description

@aatrey56

🐦 Bird CLI Integration Issues in Feedtui

Summary

After integrating the Bird CLI widget into Feedtui, several functional and UI issues were observed across search, compose, mentions, reply, and text rendering.

This issue documents reproducible problems and suggested improvements.


Environment

  • OS: [Your OS]
  • Feedtui commit: [commit hash]
  • Bird CLI version: bird --version
  • Node version: node --version
  • Terminal: [iTerm2 / Alacritty / etc]
  • Terminal size: Especially noticeable in smaller windows

1️⃣ Search Modal Issues

❌ Unable to Exit Search Modal

Steps to Reproduce

  1. Open search modal
  2. Enter query
  3. Press Enter to search
  4. Press Esc

Expected Behavior

Esc should close the search modal and return to the main timeline.

Actual Behavior

Search modal remains open and cannot be exited.


❌ Enter Key Behavior in Search Results

While navigating search results, pressing Enter appears to trigger additional behavior (possibly detail expansion).

Suggested Behavior

  • Enter → Open selected tweet in detail view
  • Esc → Exit modal
  • Navigation keys → Scroll results only

🔍 Feature Request: Search Sorting Options

It would be helpful to support sorting modes:

  • Most Recent
  • Most Popular
  • Most Relevant

If Bird CLI supports sorting flags, exposing a toggle (e.g., Tab to cycle sort modes) would significantly improve usability.


2️⃣ Mentions View Issue

❌ Unable to Exit Mentions

Steps to Reproduce

  1. Press m to open mentions
  2. Press Esc

Expected Behavior

Return to the main timeline.

Actual Behavior

Stuck in mentions view.

Note

Mentions correctly fetch and display the latest 5 mentions.
This appears to be a state transition handling issue.


3️⃣ Compose Tweet Issues

❌ Unable to Successfully Post Tweet

Encountered error:
Bird command failed:
(node:13299) ExperimentalWarning: Importing JSON modules is an experimental feature

This appears to originate from the Node runtime used by Bird CLI.

Possible Causes

  • Node version incompatibility
  • Bird CLI using experimental JSON module imports

❌ Compose Input Not Visible in Small Windows

When resizing Feedtui to a smaller terminal window, typed characters are not visible in the compose modal.

Expected Behavior

Input text should wrap or scroll properly within the modal.

Actual Behavior

Characters typed are not visible.

Likely related to layout constraints or missing text wrapping.


4️⃣ Text Rendering Issues

❌ Tweets and Errors Cut Off on the Right

Long tweets and error messages are truncated instead of wrapping.

Expected Behavior

Text should wrap within the available width.

Actual Behavior

Text is clipped on the right side.


5️⃣ Reply Functionality Not Working

❌ Unable to Reply to Selected Tweet

Attempting to reply to a selected tweet does not work.

Unclear whether the issue is:

  • Incorrect tweet ID passed to Bird CLI
  • Command formatting issue
  • UI state transition problem

Additional logging of the constructed Bird command may help debug this.


🧠 Observations

Several issues (Esc not working, stuck modals, reply failures) may indicate incomplete or inconsistent state management between modes such as:

  • Normal
  • Search
  • Mentions
  • Compose
  • Reply
  • Detail

✅ What Works

  • Mentions correctly fetch and display latest 5 mentions
  • Search successfully fetches results
  • Bird CLI command execution framework is integrated
  • Overall UI structure is functional

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions