Skip to content

2.7.0#1040

Merged
goldflag merged 2 commits into
masterfrom
2.7.0
Jul 7, 2026
Merged

2.7.0#1040
goldflag merged 2 commits into
masterfrom
2.7.0

Conversation

@goldflag

@goldflag goldflag commented Jul 5, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Bug Fixes
    • Updated the sidebar so the “Query” and “Dashboards” items no longer appear in non-cloud environments.
  • Chores
    • Bumped the client and server package versions to 2.7.0.

@vercel

vercel Bot commented Jul 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rybbit Ready Ready Preview, Comment Jul 7, 2026 6:35am

Request Review

@coderabbitai

coderabbitai Bot commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e3b6fdf2-9108-4b44-a887-6d97e72e6cb9

📥 Commits

Reviewing files that changed from the base of the PR and between 4d465de and 63170b7.

⛔ Files ignored due to path filters (2)
  • client/package-lock.json is excluded by !**/package-lock.json
  • server/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (3)
  • client/package.json
  • client/src/app/[site]/components/Sidebar/Sidebar.tsx
  • server/package.json
✅ Files skipped from review due to trivial changes (2)
  • client/package.json
  • server/package.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • client/src/app/[site]/components/Sidebar/Sidebar.tsx

📝 Walkthrough

Walkthrough

Client and server package.json version fields are bumped from 2.6.0 to 2.7.0. The Sidebar component no longer renders the non-cloud “Query” and “Dashboards” items.

Changes

Version Bump

Layer / File(s) Summary
Package version updates
client/package.json, server/package.json
Version field bumped from 2.6.0 to 2.7.0 in both packages.

Sidebar Item Removal

Layer / File(s) Summary
Non-cloud sidebar items disabled
client/src/app/[site]/components/Sidebar/Sidebar.tsx
The !IS_CLOUD-gated block rendering “Query” and “Dashboards” sidebar items is commented out, removing those items from non-cloud rendering.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

  • rybbit-io/rybbit#557: Bumps the same package.json versions and makes similar IS_CLOUD-driven sidebar UI conditional changes.
  • rybbit-io/rybbit#795: Modifies the same Sidebar.tsx file's !IS_CLOUD-guarded rendering logic.
  • rybbit-io/rybbit#993: Bumps the same client/server package.json version fields.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is only a version number and does not describe the actual changes in the PR. Use a descriptive title like 'Bump client/server to 2.7.0 and hide cloud sidebar items'.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 2.7.0

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
client/src/app/[site]/components/Sidebar/Sidebar.tsx (1)

129-144: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Commented-out block leaves Query/Dashboards routes orphaned.

Removing the sidebar entries via comment (rather than deletion or a feature flag) hides navigation but leaves client/src/app/[site]/query/page.tsx and client/src/app/[site]/dashboards/page.tsx still reachable by direct URL for non-cloud users, with no way to discover them. If this removal is intentional/permanent, consider deleting the block outright instead of commenting it out to avoid dead code accumulating (the file already has another commented-out block for Feature Flags/Experiments at Lines 156-171 following the same pattern).

♻️ Optional cleanup if the block is meant to be permanently removed
-        {/* {!IS_CLOUD && (
-          <>
-            <SidebarComponents.Item
-              label={t("Query")}
-              active={isActiveTab("query")}
-              href={getTabPath("query")}
-              icon={<Database className="w-4 h-4" />}
-            />
-            <SidebarComponents.Item
-              label={t("Dashboards")}
-              active={isActiveTab("dashboards")}
-              href={getTabPath("dashboards")}
-              icon={<LayoutGrid className="w-4 h-4" />}
-            />
-          </>
-        )} */}
🤖 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 `@client/src/app/`[site]/components/Sidebar/Sidebar.tsx around lines 129 - 144,
The Sidebar component still has Query/Dashboards navigation wrapped in comments,
which leaves dead UI code and can make the routes feel orphaned. In Sidebar.tsx,
remove the commented-out SidebarComponents.Item block entirely unless it is
intended to come back behind a real feature flag; use the existing isActiveTab
and getTabPath references to locate the removed navigation section and keep the
file consistent with the other commented Feature Flags/Experiments block.
🤖 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 `@client/src/app/`[site]/components/Sidebar/Sidebar.tsx:
- Around line 129-144: The Sidebar component still has Query/Dashboards
navigation wrapped in comments, which leaves dead UI code and can make the
routes feel orphaned. In Sidebar.tsx, remove the commented-out
SidebarComponents.Item block entirely unless it is intended to come back behind
a real feature flag; use the existing isActiveTab and getTabPath references to
locate the removed navigation section and keep the file consistent with the
other commented Feature Flags/Experiments block.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8a2b008d-7e36-4a5a-818e-c2ff9fd87489

📥 Commits

Reviewing files that changed from the base of the PR and between 80d3e2f and 4d465de.

⛔ Files ignored due to path filters (2)
  • client/package-lock.json is excluded by !**/package-lock.json
  • server/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (3)
  • client/package.json
  • client/src/app/[site]/components/Sidebar/Sidebar.tsx
  • server/package.json

goldflag added 2 commits July 6, 2026 23:33
- Commented out conditional rendering for non-cloud deployments to enhance readability.
- Adjusted formatting for better maintainability of the SidebarContent function.
@goldflag goldflag merged commit 17392d7 into master Jul 7, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant