Tuesday, May 12, 2026

Don't lose the reply draft if the popover dismisses mid-failure

Volleyball Elite Academy development update
Volleyball Elite Academy
Don't lose the reply draft if the popover dismisses mid-failure

Don't lose the reply draft if the popover dismisses mid-failure

Volleyball Elite Academy — Development Update • May 10, 2026

--- title: Don't lose the reply draft if the popover dismisses mid-failure ---

Don't lose the reply draft if the popover dismisses mid-failure

## What & Why The SOF admin "K need reply" popover persists every keystroke into sessionStorage via , but on a failed reply the new error spec only proves the in-memory survives — it never closes & re-opens the popover to confirm the persisted draft also restores. If a coordinator clicks outside the popover after the destructive toast (or hits Escape), the in-memory state is wiped and the next open should rehydrate from sessionStorage. We don't actually have a regression test that proves the persisted-draft path works on the error branch (only on the cancel path).

## Done looks like - A Playwright assertion (likely a small extension to ) that, after the failure toast surfaces, dismisses the popover, re-opens it on the same row, re-opens the inline composer, and confirms the textarea is pre-filled with the original draft. - If a bug is uncovered (draft not restored on the error branch), fix it in so the persisted draft is the source of truth on re-open after a failure.

## Relevant files - (, draft persistence helpers) - (new error-branch spec)

Volleyball Elite Academy

Reply to this email — we read every reply.

You received this because you have an account with Volleyball Elite Academy.

elitevolleyball.training

No comments:

Post a Comment