Skip to content

branch nested static build#110

Open
jacob314 wants to merge 8 commits into
masterfrom
branch_nested_static_build
Open

branch nested static build#110
jacob314 wants to merge 8 commits into
masterfrom
branch_nested_static_build

Conversation

@jacob314

Copy link
Copy Markdown
Owner
  • refactor: simplify StaticRender layout computation
  • AI Fixes.
  • FEAT: Ink rounding
  • fix(terminal-buffer): use stickyHeadersEqual instead of stickyHeadersChanged
  • XXX PROBABLY revert. Content shift work that doesn't seem to really work
  • Checkpoint in optimizing regions
  • fix(terminal-buffer): only skip leading empties if old line was also empty
  • perf(terminal-buffer): use singleton for empty StyledLine when sending diff updates over IPC

Moved StaticRender's layout evaluation to prepareYogaTree inside ink.tsx. This avoids repeatedly evaluating static subtrees during the main layout loop, treating nested and cached StaticRender components as efficient, fixed-size leaf nodes.

Update cachedStickyHeaders mapping in render-node-to-output to set 'node: undefined' to drop the retained reference to the DOM element after computing the sticky header layout cache. Update all usages to handle the optional stickyNode property and resolve max-params typescript errors.

docs: add note to GEMINI.md regarding max-params performance

Add instruction to explicitly avoid destructured objects for resolving max-params linting errors in hot-path rendering code, instead preferring to ignore the linter rule due to GC allocation overhead.
…Changed

Inverted the boolean returns inside it, and changed the caller to negate the return value.
Update snapshot for scroll-blue-background

Update snapshot for scroll-demo.sticky-on

Update SVG snapshot for scroll-blue-background

Fix terminal-buffer linesOffsetY and scrollToBackbuffer issues

Optimize IPC by trimming leading/trailing empty lines in diffs

Fix flaky scroll integration test
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