Skip to content

Commit 8a29eb3

Browse files
rpviloclaude
andauthored
chore(release): write the 0.5.3 changesets as tagged lines (#98)
The composer scroll-containment and render-safety changesets were prose with bold headings, which broke the changelog list, and carried no primitive tags. Each change is now one tagged line, per .changeset/README.md. The nanoid changeset gains an [Attachments] line for the attachment-id change. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent f35826c commit 8a29eb3

3 files changed

Lines changed: 11 additions & 13 deletions

File tree

‎.changeset/composer-scroll-containment.md‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
"@intentface/chat": patch
33
---
44

5-
A composer embedded in a scrolling page no longer scrolls that page.
6-
7-
**Programmatic text changes.** `clear()`, `setText()` and the ask-user step changes used to nudge the page by a few pixels each time. Keeping the caret in view after a write now scrolls only the composer's own scroll areas, never past `Composer.Root`. A caret on an empty line, including an empty editor's, is measured by that line's break: on its own it has no box, and its all-zero rect read as "above the view". A trailing empty line in an overflowing composer now scrolls into view too.
8-
9-
**Ask-user focus moves.** Moving into the options, arrowing between them, and typing to answer move focus without the browser's focus-scroll. An option outside its own list's view is still brought into view within the question.
10-
11-
**`focus(options)`.** The composer controller's `focus` now takes `HTMLElement.focus()`'s options, so a consumer can focus an on-screen composer with `{ preventScroll: true }`. Called with no arguments, it behaves as before.
5+
- [Composer] Fix an embedded composer scrolling the page around it on `clear()`, `setText()` and ask-user step changes.
6+
- [Composer] Fix a trailing empty line in an overflowing composer not scrolling into view.
7+
- [AskUser] Fix moving focus between options scrolling the page around an embedded question.
8+
- [Composer] Add focus options to the controller's `focus()`, such as `{ preventScroll: true }`.

‎.changeset/drop-nanoid.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
"@intentface/chat": patch
33
---
44

5-
- Remove the `nanoid` dependency; attachment ids are now the file's blob URL.
5+
- Remove the `nanoid` dependency.
6+
- [Attachments] Use the file's blob URL as the attachment id.

‎.changeset/react-doctor-fixes.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"@intentface/chat": patch
33
---
44

5-
Render-safety and re-render fixes from a React Doctor review.
6-
7-
**No ref writes during render.** `AskUser.Options` and `AskUser.Option` mirror their latest values into refs in an insertion effect instead of during render, which React may discard. It runs before every layout effect, so options still seed the initial highlight from their own. `Composer.Command`'s "this prefix is the one closing" flag is now state that flips only at open and close.
8-
9-
**Stable context values.** `AskUser.Root`, `AskUser.Options`, `AskUser.Option`, the shared collapsible behind `Reasoning` and `Steps`, and the anchored `Tabs` surface memoize their context values, so memoized consumers no longer redraw on every parent render.
5+
- [AskUser] Fix `AskUser.Options` and `AskUser.Option` writing to refs during render.
6+
- [Composer] Fix `Composer.Command` writing to a ref during render.
7+
- [AskUser] Improve re-renders: `AskUser.Root`, `AskUser.Options` and `AskUser.Option` memoize their context values.
8+
- [Reasoning] [Steps] Improve re-renders: their collapsible context is memoized.
9+
- [Tabs] Improve re-renders: the anchored surface memoizes its context value.

0 commit comments

Comments
 (0)