Skip to content

Add Contribute link to Community submenu#569

Open
makubo-aws wants to merge 1 commit into
valkey-io:mainfrom
makubo-aws:add-contribute-nav-item
Open

Add Contribute link to Community submenu#569
makubo-aws wants to merge 1 commit into
valkey-io:mainfrom
makubo-aws:add-contribute-nav-item

Conversation

@makubo-aws

Copy link
Copy Markdown
Contributor

Adds a 'Contribute' link under the Community dropdown menu that points to /community/ (the main community/contribute page). This makes the contribute page discoverable from the nav without requiring users to click the top-level Community link.

@makubo-aws
makubo-aws requested a review from stockholmux as a code owner June 9, 2026 19:59
@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@makubo-aws, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 59 minutes and 29 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 6a9ec831-bd93-4b3a-8693-2fa2f425b23b

📥 Commits

Reviewing files that changed from the base of the PR and between 99a7e80 and 8db5b32.

📒 Files selected for processing (1)
  • templates/default.html
📝 Walkthrough

Walkthrough

The pull request adds a new "Contribute" menu item to the Community navigation submenu in the page header template, linking to /community/. This is a single-line addition to the site's navigation structure with no changes to other page elements or functionality.

Changes

Community Navigation Update

Layer / File(s) Summary
Contribute Menu Item
templates/default.html
A new "Contribute" submenu link pointing to /community/ is added to the Community navigation section in the header template.

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 and usage tips.

@greptile-apps

greptile-apps Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds a Contribute entry to the Community dropdown submenu in the site's global navigation template, pointing to /community/. The intent is to surface the contribution page directly from the dropdown so users do not have to click the top-level "Community" link to discover it.

  • A single <a role=\"menuitem\" href=\"/community/\">Contribute</a> element is inserted before the existing Events submenu item, matching the markup pattern of all other submenu links.
  • No logic, styles, or other files are touched.

Confidence Score: 5/5

A one-line HTML addition to the navigation dropdown; no logic is changed and the new element follows the exact same markup pattern as every other submenu item.

The change is purely additive template markup. It inserts a correctly formed anchor with the appropriate role attribute in the right DOM position, and there are no runtime or rendering concerns introduced.

No files require special attention.

Important Files Changed

Filename Overview
templates/default.html Adds a "Contribute" submenu link under the Community dropdown pointing to /community/; one-line change consistent with existing menu markup and role="menuitem" pattern.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Community nav item
 href=/community/] --> B{Dropdown submenu}
    B --> C[Contribute
 href=/community/
 NEW]
    B --> D[Events
 href=/events/]
Loading

Reviews (2): Last reviewed commit: "feat(nav): Add Contribute link to Commun..." | Re-trigger Greptile

Comment thread templates/default.html

@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.

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 `@templates/default.html`:
- Line 60: The "Contribute" submenu currently links to the same URL as the
parent "Community" link; update the anchor in templates/default.html (the <a
role="menuitem" href="/community/">Contribute</a> element) to point to a
distinct target such as "/community/#contribute" or "/contribute/" and ensure
the target exists by adding a matching id="contribute" anchor or heading in
content/community/_index.md (or by creating a dedicated /contribute/ page) so
the submenu leads to a unique section.
🪄 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: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4cb09e2f-43e0-4f8c-9dec-2a06dd17899a

📥 Commits

Reviewing files that changed from the base of the PR and between c52e942 and 99a7e80.

📒 Files selected for processing (1)
  • templates/default.html

Comment thread templates/default.html
<div class="has-submenu">
<a role="menuitem" href="/community/">Community</a>
<div class="submenu">
<a role="menuitem" href="/community/">Contribute</a>

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.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check if /community/ page exists and examine its structure
fd -t f 'community' | head -10

# Search for community page content
rg -l "community" --type md --type html -g '!node_modules' | grep -i community | head -5

Repository: valkey-io/valkey-io.github.io

Length of output: 325


Avoid redundant “Contribute” navigation URL

The “Contribute” submenu item (templates/default.html line 60) links to /community/, the same destination as the parent “Community” link (templates/default.html line 58), so it doesn’t provide a distinct navigation experience. Link “Contribute” directly to the relevant section on the /community/ page (use a fragment like /community/#contribute with a matching id in content/community/_index.md), or route it to a dedicated /contribute/ page instead.

🤖 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 `@templates/default.html` at line 60, The "Contribute" submenu currently links
to the same URL as the parent "Community" link; update the anchor in
templates/default.html (the <a role="menuitem" href="/community/">Contribute</a>
element) to point to a distinct target such as "/community/#contribute" or
"/contribute/" and ensure the target exists by adding a matching id="contribute"
anchor or heading in content/community/_index.md (or by creating a dedicated
/contribute/ page) so the submenu leads to a unique section.

Signed-off-by: Mas Kubo <makubo@amazon.com>
@makubo-aws
makubo-aws force-pushed the add-contribute-nav-item branch from 99a7e80 to 8db5b32 Compare June 9, 2026 22:35
@stockholmux

Copy link
Copy Markdown
Member

Is there a larger context here?

This doesn't really add a link - it just repeats the higher level menu item.

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.

3 participants