[PR #1] [MERGED] feat: add jsx api and modern chatbot demo #3

Closed
opened 2026-03-07 13:55:28 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ahmadawais/terminui/pull/1
Author: @ahmadawais
Created: 3/2/2026
Status: Merged
Merged: 3/2/2026
Merged by: @ahmadawais

Base: mainHead: feat-jsx-runtime-chatbot-polish


📝 Commits (1)

  • 7fe4ad0 feat: add jsx api and modern chatbot demo

📊 Changes

10 files changed (+1946 additions, -1 deletions)

View changed files

📝 CHANGELOG.md (+12 -0)
📝 README.md (+144 -0)
examples/jsx-chatbot.tsx (+650 -0)
examples/jsx-dashboard.tsx (+66 -0)
examples/jsx-hello.tsx (+25 -0)
📝 package.json (+16 -0)
src/__tests__/jsx.test.ts (+204 -0)
src/jsx-runtime.ts (+70 -0)
src/jsx.ts (+758 -0)
📝 tsup.config.ts (+1 -1)

📄 Description

Summary

  • add a React-like JSX runtime and JSX component API for terminal UI composition
  • add JSX examples (jsx-hello, jsx-dashboard, jsx-chatbot)
  • polish jsx-chatbot with alternate-screen loop, simplified modern CLI aesthetics, reliable input handling, and arrow-key chat scrolling
  • document chatbot usage/controls in README
  • bump changelog to minor release 0.3.0

Test plan

  • pnpm typecheck
  • pnpm test
  • pnpm build

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ahmadawais/terminui/pull/1 **Author:** [@ahmadawais](https://github.com/ahmadawais) **Created:** 3/2/2026 **Status:** ✅ Merged **Merged:** 3/2/2026 **Merged by:** [@ahmadawais](https://github.com/ahmadawais) **Base:** `main` ← **Head:** `feat-jsx-runtime-chatbot-polish` --- ### 📝 Commits (1) - [`7fe4ad0`](https://github.com/ahmadawais/terminui/commit/7fe4ad0e70ea9540f77e49e62a8c647786ae437f) feat: add jsx api and modern chatbot demo ### 📊 Changes **10 files changed** (+1946 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+12 -0) 📝 `README.md` (+144 -0) ➕ `examples/jsx-chatbot.tsx` (+650 -0) ➕ `examples/jsx-dashboard.tsx` (+66 -0) ➕ `examples/jsx-hello.tsx` (+25 -0) 📝 `package.json` (+16 -0) ➕ `src/__tests__/jsx.test.ts` (+204 -0) ➕ `src/jsx-runtime.ts` (+70 -0) ➕ `src/jsx.ts` (+758 -0) 📝 `tsup.config.ts` (+1 -1) </details> ### 📄 Description ## Summary - add a React-like JSX runtime and JSX component API for terminal UI composition - add JSX examples (`jsx-hello`, `jsx-dashboard`, `jsx-chatbot`) - polish `jsx-chatbot` with alternate-screen loop, simplified modern CLI aesthetics, reliable input handling, and arrow-key chat scrolling - document chatbot usage/controls in README - bump changelog to minor release `0.3.0` ## Test plan - [x] pnpm typecheck - [x] pnpm test - [x] pnpm build --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem closed this issue 2026-03-07 13:55:28 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/terminui#3
No description provided.