Skip to content

fix(session): reveal newly submitted messages - #4683

Merged
reachjalil merged 1 commit into
devfrom
fix/reveal-submitted-message
Sep 9, 2026
Merged

reachjalil merged 1 commit into
devfrom
fix/reveal-submitted-message

Conversation

@reachjalil

Copy link
Copy Markdown
Member

Summary

Submitting from older history in a long conversation can leave the new user message below the viewport. Submission previously depended on passive bottom-follow behavior, which correctly stops after manual browsing.

  • Reveal the exact locally submitted row once it mounts, including after a recent scroll gesture. Reveal the start of an oversized prompt instead of only its tail.
  • Cancel pending scroll-position frames so a previous restoration cannot undo the reveal. Keep the request scoped to its conversation and leave subsequent manual browsing undisturbed.
  • Extend the existing tool-rich history journey with viewport visibility and passive-scroll preservation assertions. Add focused hook regressions for delayed mounting, gestures, session isolation, oversized prompts, and restoration timing.

Queued-send handoff and metadata-only acknowledgement visibility are separate follow-ups, not changed here.

Verification — Incomplete

Head: 4905dd674.

Passed:

  • pnpm --filter @openwork/app exec bun test --isolate ./tests/live-step-scroll.test.ts — exit 0; 7 passed, 0 failed, 36 assertions. These are focused unit/hook checks, not runtime journey proof.
  • git diff --check — exit 0.

Blocked:

  • OPENWORK_EVAL_ENGINE=v1 pnpm evals:e2e streamed-markdown-answer — exit 1 before any tests ran: Command "vitest" not found.
  • Printed placement: placement: daytona (daytona CLI authenticated).
  • Journey passed/failed/skipped counts are unavailable because the runner did not start. No runtime evidence was produced or published.

Next proof step: install the standalone eval dependencies with pnpm --dir evals install, then run the command above on this exact pushed head with OPENWORK_EVAL_REF pinned to the full head SHA and publish its evidence. No local-lane substitution or broad test suite was used.

Reproduction

  1. Open a long conversation with tool output and scroll into older history.
  2. Submit a short follow-up while idle, or explicitly steer an active turn.
  3. Confirm the submitted text is visible above the composer without using Jump to latest.
  4. Scroll back into history while the response advances; confirm passive output does not pull the viewport back down.

@vercel

vercel Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 9, 2026 5:38pm UTC
openwork-den Ready Ready Preview Sep 9, 2026 5:38pm UTC
openwork-diagnostics Ready Ready Preview Sep 9, 2026 5:38pm UTC
openwork-landing Ready Ready Preview, v0 Sep 9, 2026 5:38pm UTC

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (4905dd674bb9f39739b5738f763a19cdf709dfb8). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@reachjalil
reachjalil enabled auto-merge (squash) September 9, 2026 17:39
@reachjalil
reachjalil merged commit 32f6f69 into dev Sep 9, 2026
27 checks passed
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Passed · 1/1 tests · 2/2 assertions · 0 images

Commit 4905dd674bb9f39739b5738f763a19cdf709dfb8 · selected evidence

Open review report

This branch was successfully deployed

4 active deployments
Preview – openwork-landing — 4905dd67 Deployed Sep 9, 2026 by vercel[bot]
Preview – openwork-app — 4905dd67 Deployed Sep 9, 2026 by vercel[bot]
Preview – openwork-den — 4905dd67 Deployed Sep 9, 2026 by vercel[bot]
Preview – openwork-diagnostics — 4905dd67 Deployed Sep 9, 2026 by vercel[bot]
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