Skip to content

Conversation

psychedelicious
Copy link
Collaborator

Summary

When server-backed client state persistence was introduced we also changed the persist strategy to be throttled instead of debounced. This causes some stutters while doing canvas operations that change state rapidly as we persist state. Reverted to debounced persistence at 2 seconds.

Related Issues / Discussions

https://discord.com/channels/1020123559063990373/1149506274971631688/1403704300579983482

QA Instructions

It's possible that 2 seconds is too long. It means the app needs to be more or less idle for 2 seconds before you exit, else state isn't persisted. I think this is probably fine.

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added the frontend PRs that change frontend files label Aug 11, 2025
@psychedelicious psychedelicious enabled auto-merge (rebase) August 12, 2025 06:13
@psychedelicious psychedelicious force-pushed the psyche/feat/ui/debounced-persistence branch from 3139642 to 89b1883 Compare August 12, 2025 06:13
@psychedelicious psychedelicious merged commit 4f9b976 into main Aug 12, 2025
12 checks passed
@psychedelicious psychedelicious deleted the psyche/feat/ui/debounced-persistence branch August 12, 2025 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants