Skip to content

refactor(transcript): simplify the #26 polish fixes - #40

Merged
Tarquinen merged 1 commit into
devfrom
simplify/pr26
Nov 12, 2026
Merged

Tarquinen merged 1 commit into
devfrom
simplify/pr26

Conversation

@Tarquinen

Copy link
Copy Markdown
Member

#26 added some code and docs that could be shorter.

Now the same fixes take less code. No behaviour change.

  • CodeCopyButton: the constants object had one user, so its values are inlined; the feedback LaunchedEffect is a plain if.
  • MarkdownBand(action:): the BoxScope receiver was never used.
  • SessionBottomScrollEdge / surfaceTopInWindow: KDocs trimmed to what the code doesn't already say.
  • TuningTests: the 48 dp comment is folded into the existing divergence comment.
  • Parity rows Polish: fixes from #8 in the desktop look #26 lengthened (drawer, media, session, settings, transcript) are shortened.

Verified: vm check :feature:transcript :feature:session :feature:drawer. Before/after emulator shots of a session with a code block (light, dark, and the Copied state) are pixel-identical apart from the status-bar clock. The "Copy code" TalkBack node is unchanged.

No behaviour change. Inlines CodeCopyButton's single-use constants
object, flattens its feedback LaunchedEffect, drops the unused BoxScope
receiver on MarkdownBand(action:), trims narrating KDocs on
SessionBottomScrollEdge and surfaceTopInWindow, folds the duplicate
48 dp comment in TuningTests into the existing one, and shortens the
parity rows #26 lengthened.

Verified: vm check :feature:transcript :feature:session :feature:drawer;
before/after emulator shots of the markdown session (light, dark, and
the Copied state) are pixel-identical apart from the status-bar clock;
the Copy code TalkBack node is unchanged.
@Tarquinen
Tarquinen merged commit 4b988e4 into dev Nov 12, 2026
3 checks passed
Tarquinen added a commit that referenced this pull request Nov 12, 2026
No conflicts. The overscroll files now match dev's #43, and FloatingCall keeps #42's cleanup with the assistant's two internal helpers.
@Tarquinen Tarquinen mentioned this pull request Nov 12, 2026

This branch was previously deployed

1 inactive deployment
release — e136e64e Deployed Nov 11, 2026 by Tarquinen via check #132
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