-
Notifications
You must be signed in to change notification settings - Fork 204
Fix: view shifts when editing spreadsheet #2750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Console (appwrite/console)Project ID: Tip Environment variable changes require redeployment to take effect |
WalkthroughThe changes modify the row update flow in a spreadsheet component and adjust related type definitions. A direct cache invalidation call for rows is removed and replaced with an inline state update mechanism: the row update handler now wraps the existing update function in an async callback that awaits the update result, then directly updates the paginated rows store on success before returning the result. Additionally, the paginatedRows store type parameter is broadened to accept either Models.DefaultRow or Models.Row, enabling support for both row types in the sparse paged data store. Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (6)**/*.{ts,tsx,js,jsx,svelte}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.ts📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{ts,tsx,js,jsx,svelte,json}📄 CodeRabbit inference engine (AGENTS.md)
Files:
src/routes/**📄 CodeRabbit inference engine (AGENTS.md)
Files:
src/routes/**/*.svelte📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.svelte📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (3)📚 Learning: 2025-10-07T14:17:11.597ZApplied to files:
📚 Learning: 2025-09-25T04:21:57.071ZApplied to files:
📚 Learning: 2025-09-30T07:41:06.679ZApplied to files:
🧬 Code graph analysis (1)src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/store.ts (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |

What does this PR do?
Fixes - #2689
Fixed via not invalidating the dependency. Update the row in place instead!
Test Plan
Manual.
Related PRs and Issues
N/A.
Have you read the Contributing Guidelines on issues?
Yes.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.