fix: refresh $updatedAt after inline row edits - #3170
Merged
Conversation
Inline spreadsheet edits called updateRow but kept the pre-write row in local state, so $updatedAt never changed until a full reload. Apply the API response system fields before updating the grid (console#2873). Co-authored-by: chiragaggarwal5k <chiragaggarwal5k@gmail.com>
Console (appwrite/console)Project ID: Sites (1)
Tip Build commands execute in runtime containers during deployment |
Contributor
Greptile SummaryThe PR refreshes locally cached system fields after a successful inline TablesDB row edit.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
Reviews (3): Last reviewed commit: "chore: nudge CI for stuck Tests queue" | Re-trigger Greptile |
Co-authored-by: chiragaggarwal5k <chiragaggarwal5k@gmail.com>
Co-authored-by: chiragaggarwal5k <chiragaggarwal5k@gmail.com>
ChiragAgg5k
approved these changes
Aug 19, 2026
ChiragAgg5k
left a comment
Member
There was a problem hiding this comment.
Confirmed this is a console-only bug: updateRow already returns a new $updatedAt, but inline edit ignores the response and keeps the pre-write row in the grid. Applying the API system fields before paginatedRows.update is the right fix.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What does this PR do?
Inline spreadsheet edits called
tablesDB.updateRowbut kept the pre-write row in local grid state, so$updatedAtnever changed until a full reload. Apply the API response system fields ($updatedAt,$permissions) before updating the grid.Fixes #2873
Test Plan
$updatedAtupdates immediatelyRelated PRs and Issues