Uh oh!
There was an error while loading. Please reload this page.
0.9.5 snapshot - #42
Conversation
WalkthroughInstrumented routes now support explicit layouts, generated ChangesRoute instrumentation
JSON compatibility handling
Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
core/src/main/java/com/flowingcode/vaadin/jsonmigration/InstrumentedRoute.java (1)
54-54: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueFix invalid JavaDoc syntax.
The
@seetag does not require the{@link...}wrapper. Using both together results in malformed HTML in the generated documentation.♻️ Proposed fix
- * `@see` {`@link` Route#layout()} + * `@see` Route#layout()🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@core/src/main/java/com/flowingcode/vaadin/jsonmigration/InstrumentedRoute.java` at line 54, Update the JavaDoc `@see` reference in InstrumentedRoute to use valid `@see` syntax without wrapping Route#layout() in an inline {`@link` ...} tag.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In
`@core/src/main/java/com/flowingcode/vaadin/jsonmigration/InstrumentedRoute.java`:
- Line 54: Update the JavaDoc `@see` reference in InstrumentedRoute to use valid
`@see` syntax without wrapping Route#layout() in an inline {`@link` ...} tag.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 7606c4be-6a39-4795-a5a3-2bdaef5c8bdf
📒 Files selected for processing (6)
core/src/main/java/com/flowingcode/vaadin/jsonmigration/ClassInstrumentationUtil.javacore/src/main/java/com/flowingcode/vaadin/jsonmigration/InstrumentationViewInitializer.javacore/src/main/java/com/flowingcode/vaadin/jsonmigration/InstrumentedRoute.javatests-shared/pom.xmltests-shared/src/test/java/com/flowingcode/vaadin/jsonmigration/InstrumentationViewInitializerTest.javatests-v25/pom.xml
1bd86c5 to
5722b45Comparejavier-godoy
commented
Jul 14, 2026
@coderabbitai review |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@core/src/main/java/com/flowingcode/vaadin/jsonmigration/JsonMigration.java`:
- Around line 64-65: Update lookup_setPropertyJson() to detect when
lookup_BaseJsonNode() returns null before invoking Element.class.getMethod(...).
Preserve the controlled fallback or raise a clear error for the unavailable
BaseJsonNode state, rather than passing BASE_JSON_NODE into the Vaadin 25+
method lookup.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 1fbf31b6-7b93-4771-84bc-ea4ee07b4c1b
📒 Files selected for processing (7)
core/src/main/java/com/flowingcode/vaadin/jsonmigration/ClassInstrumentationUtil.javacore/src/main/java/com/flowingcode/vaadin/jsonmigration/InstrumentationViewInitializer.javacore/src/main/java/com/flowingcode/vaadin/jsonmigration/InstrumentedRoute.javacore/src/main/java/com/flowingcode/vaadin/jsonmigration/JsonMigration.javatests-shared/pom.xmltests-shared/src/test/java/com/flowingcode/vaadin/jsonmigration/InstrumentationViewInitializerTest.javatests-v25/pom.xml
🚧 Files skipped from review as they are similar to previous changes (4)
- core/src/main/java/com/flowingcode/vaadin/jsonmigration/InstrumentationViewInitializer.java
- tests-shared/src/test/java/com/flowingcode/vaadin/jsonmigration/InstrumentationViewInitializerTest.java
- tests-v25/pom.xml
- core/src/main/java/com/flowingcode/vaadin/jsonmigration/InstrumentedRoute.java
Uh oh!
There was an error while loading. Please reload this page.
5722b45 to
17172ddCompareUh oh!
There was an error while loading. Please reload this page.
Summary by CodeRabbit
New Features
RouterLayoutto derive and instrument a layout chain.@Route, one is generated automatically, copyingvalue/layoutand applying the defaultregisterAtStartupbehavior.@Routeannotations remain unchanged.Bug Fixes
Tests
InstrumentationViewInitializerTestto cover layout inheritance, annotation generation, and validation behavior.