-
Notifications
You must be signed in to change notification settings - Fork 31
Fixing navigation issues after validating attachment tags #3753
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
…d adding it as a separate hook. This should work better than updating initial validations, which broke navigation later in the app.
…re before the tag is selected
📝 WalkthroughWalkthroughImplements an incremental backend validation flow. Replaces previous initial-validation updates on attachment tag changes with a hook-driven incremental update. Refactors backend validation initialization and updates, adjusts form-data save mutation output mapping, exposes a static selector in validation context, and adds Cypress tests plus a new page object selector. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Pre-merge checks and finishing touches❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (7)
🧰 Additional context used📓 Path-based instructions (1)**/*.{ts,tsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧬 Code graph analysis (5)test/e2e/integration/expression-validation-test/tags-validation.ts (1)
src/features/validation/backendValidation/BackendValidation.tsx (5)
src/features/validation/backendValidation/useUpdateIncrementalValidations.ts (5)
src/features/attachments/AttachmentsStorePlugin.tsx (2)
src/features/formData/FormDataWrite.tsx (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). (3)
🔇 Additional comments (15)
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. 🧪 Early access (Sonnet 4.5): enabledWe are currently testing the Sonnet 4.5 model, which is expected to improve code review quality. However, this model may lead to increased noise levels in the review comments. Please disable the early access features if the noise level causes any inconvenience. Note:
Comment |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
Description
The functionality added in #3641 updates initial validation, but the backend returns new incremental validations. This fixes the issue by re-using the functionality we had for updating incremental navigation. It also adds a functionality test in Cypress that also regression-tests the problem discovered in #3742.
Related Issue(s)
Verification/QA
kind/*
andbackport*
label to this PR for proper release notes groupingSummary by CodeRabbit
New Features
Bug Fixes
Performance
Tests
Refactor