# fix\(web\): Changes row refreshes after edits during its first load · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/89b393341ff006111a69fcd81c870f7abda2ef94)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 89b393341ff006111a69fcd81c870f7abda2ef94

Requested commit: 89b393341ff006111a69fcd81c870f7abda2ef94

Commit: 89b393341ff006111a69fcd81c870f7abda2ef94

Tree: 71c86f5fc1d31eaf18330974fcd7021322640d54

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(web): Changes row refreshes after edits during its first load

The row stored the change key before its refresh callback ran, and the callback
skipped while the first comparison was still loading. An edit landing during that
load was marked handled, so the row kept the stale totals once the load settled.
Each comparison now remembers the change key it was last fetched against: the first
look relies on the query's own mount revalidation, a later key waits for any
in-flight fetch to settle and then refreshes, and a remount refreshes only when the
workspace changed while the row was unmounted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [367e9dfb3c8239ed40d4f92f4fbeaf835cab3e5f](https://git.cafe/pingdotgg/t3code/commit/367e9dfb3c8239ed40d4f92f4fbeaf835cab3e5f?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/89b393341ff006111a69fcd81c870f7abda2ef94?format=markdown)
