[PR #62] [MERGED] Clean up TextNode renderer #1042

Closed
opened 2026-03-14 09:15:23 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/62
Author: @fezproof
Created: 8/24/2025
Status: Merged
Merged: 8/24/2025
Merged by: @Adictya

Base: mainHead: clean-up-renderer


📝 Commits (3)

  • b30e82b Split TextNode out of main file renderer
  • 04e2dbc Clean up text node and make use of the fact its a class
  • 110a218 Use a ghost node class to make some more logic clear

📊 Changes

3 files changed (+173 additions, -133 deletions)

View changed files

packages/solid/src/elements/text-node.ts (+160 -0)
📝 packages/solid/src/reconciler.ts (+10 -133)
packages/solid/src/utils/log.ts (+3 -0)

📄 Description

Move all text node logic to its own file, and take advantage of classes.


🔄 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/anomalyco/opentui/pull/62 **Author:** [@fezproof](https://github.com/fezproof) **Created:** 8/24/2025 **Status:** ✅ Merged **Merged:** 8/24/2025 **Merged by:** [@Adictya](https://github.com/Adictya) **Base:** `main` ← **Head:** `clean-up-renderer` --- ### 📝 Commits (3) - [`b30e82b`](https://github.com/anomalyco/opentui/commit/b30e82bdfa6c5e365b1647f13229a0526e5fb12a) Split TextNode out of main file renderer - [`04e2dbc`](https://github.com/anomalyco/opentui/commit/04e2dbc34d16fc03963dbb5a5caa52147ece4bb8) Clean up text node and make use of the fact its a class - [`110a218`](https://github.com/anomalyco/opentui/commit/110a2182119f2e9ff15bbf1ed90f7fa8f2e7f6f0) Use a ghost node class to make some more logic clear ### 📊 Changes **3 files changed** (+173 additions, -133 deletions) <details> <summary>View changed files</summary> ➕ `packages/solid/src/elements/text-node.ts` (+160 -0) 📝 `packages/solid/src/reconciler.ts` (+10 -133) ➕ `packages/solid/src/utils/log.ts` (+3 -0) </details> ### 📄 Description Move all text node logic to its own file, and take advantage of classes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:15:23 +03:00
Sign in to join this conversation.
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/opentui#1042
No description provided.