Skip to content

Conversation

@diaskabdualiev
Copy link

Summary

  • Added ConsoleInput component at the bottom of Chart view
  • Allows sending commands to device without switching to Console tab
  • Quick access to serial communication while monitoring graphs

Test plan

  • Connect to a serial device or start signal generator
  • Verify input field appears at bottom of Chart tab
  • Test sending commands while viewing the chart
  • Verify field is disabled when not connected

🤖 Generated with Claude Code

Add ConsoleInput component at bottom of Chart view for quick
command sending without switching to Console tab.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Contributor

@SJ7F SJ7F left a comment

Choose a reason for hiding this comment

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

I have tested this, and while it does successfully send data over serial, it does not add the outgoing messages to the serial log. Take a look at how this is implemented in src/components/SerialConsole.tsx

Messages sent from Chart tab ConsoleInput now properly logged
to console store, matching SerialConsole behavior.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Contributor

@SJ7F SJ7F left a comment

Choose a reason for hiding this comment

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

Seems to work as expected from my testing.
It would be better from a code quality standpoint to call the same handleSendMessage function instead of duplicating it, but this works I guess.

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