fix(ui): bump console-components to v0.2.31#205
Conversation
Update component reference and tab value/label to match the TableBranch → TableVersioning rename in console-components.
- branch/tag name validation checks all ref names to prevent collisions - i64 snapshot-id precision preserved in create/rename/delete tag & branch - removed dead TableBranchVisualization component - added missing named exports in library entrypoint
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughThis PR updates the console-components dependency to v0.2.31 and refactors the table details page layout from overflow-based scrolling to flexbox layout. Additionally, the branch tab is replaced with a versioning tab that renders the TableVersioning component instead of TableBranch. Changes
Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly Related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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.
Actionable comments posted: 1
🧹 Nitpick comments (1)
package.json (1)
24-24: Consider pinning to commit SHA for better reproducibility.Using GitHub tags is valid, but tags can be moved or deleted. For maximum reproducibility and security, consider pinning to the specific commit SHA instead of the tag reference.
📌 Example: Pin to commit SHA
Once you verify the commit SHA from the script above, you can update the dependency to:
- "@lakekeeper/console-components": "github:lakekeeper/console-components#v0.2.31", + "@lakekeeper/console-components": "github:lakekeeper/console-components#<commit-sha>",This ensures the exact version remains immutable even if the tag is moved.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@package.json` at line 24, The dependency entry "@lakekeeper/console-components": "github:lakekeeper/console-components#v0.2.31" should be pinned to an immutable commit SHA; replace the tag reference with the repository commit SHA (e.g. "github:lakekeeper/console-components#<commit-sha>") after verifying the correct commit in the upstream repo so the package.json tracks a fixed commit rather than a movable tag.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@src/pages/warehouse/`[id].namespace.[nsid].table.[tid].vue:
- Around line 101-106: The template references a non-existent TableVersioning
component (used with props :warehouse-id="params.id",
:namespace-id="params.nsid", :table-name="params.tid"); either create a new
Single File Component named TableVersioning in the project's components folder
that accepts those props (warehouseId, namespaceId, tableName) and renders
versioning UI, or rename the template reference to the correct existing
component name if it was mistyped; ensure the component is exported as default
and its prop names match the kebab-case attributes used in the parent template
so Nuxt's auto-import can resolve it at runtime.
---
Nitpick comments:
In `@package.json`:
- Line 24: The dependency entry "@lakekeeper/console-components":
"github:lakekeeper/console-components#v0.2.31" should be pinned to an immutable
commit SHA; replace the tag reference with the repository commit SHA (e.g.
"github:lakekeeper/console-components#<commit-sha>") after verifying the correct
commit in the upstream repo so the package.json tracks a fixed commit rather
than a movable tag.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 062dfb60-103b-42ce-b1ed-23bc59a56b8b
📒 Files selected for processing (2)
package.jsonsrc/pages/warehouse/[id].namespace.[nsid].table.[tid].vue
acd699f to
a83e102
Compare
fix(ui): branch/tag ref name validation prevents collisions between branches and tags
fix(ui): i64 snapshot-id precision preserved in create/rename/delete tag and branch operations
chore(ui): remove unused TableBranchVisualization component
fix(ui): add missing named exports in library entrypoint
Summary by CodeRabbit
New Features
Improvements