Skip to content

fix: Add Virtual Labs link to mobile navigation menu#789

Closed
KhushamBansal wants to merge 3 commits into
alphaonelabs:mainfrom
KhushamBansal:main
Closed

fix: Add Virtual Labs link to mobile navigation menu#789
KhushamBansal wants to merge 3 commits into
alphaonelabs:mainfrom
KhushamBansal:main

Conversation

@KhushamBansal
Copy link
Copy Markdown
Contributor

@KhushamBansal KhushamBansal commented Dec 26, 2025

  • Add Virtual Labs link to Resources accordion in mobile menu
  • Update label from "Trackers" to "Progress Trackers" for clarity
  • Ensure feature parity between desktop and mobile navigation

Related issues

Fixes #788

Checklist

  • Did you run the pre-commit? (If not, your PR will most likely not pass — please ensure it passes pre-commit)
  • Did you test the change? (Ensure you didn’t just prompt the AI and blindly commit — test the code and confirm it works)
  • Added screenshots to the PR description (if applicable)
image

Purpose: Fix mobile navigation parity by adding the missing "Virtual Labs" link to the RESOURCES accordion and clarify label text.

Key changes:

  • Added "Virtual Labs" link to the RESOURCES accordion in the mobile menu so mobile navigation matches desktop.
  • Renamed the RESOURCES item label "Trackers" → "Progress Trackers" (mobile and desktop) for clarity.
  • Did not change link destinations, icons, markup structure, or any other public interfaces.

Impact:

  • UX: Mobile users now see the same RESOURCES items as desktop users; clearer labeling for trackers.
  • Code: Small template change (web/templates/base.html). No backend or API changes; low review effort.

Other notes:

@github-actions github-actions Bot added the files-changed: 1 PR changes 1 file label Dec 26, 2025
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Dec 26, 2025

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: alphaonelabs/coderabbit/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: d9e16dc9-1447-4327-bf93-559733c1725f

📥 Commits

Reviewing files that changed from the base of the PR and between 64bd718 and 432a6d6.

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

Walkthrough

The visible label for the progress_visualization link in the RESOURCES menu was changed from "Trackers" to "Progress Trackers" in web/templates/base.html. No link destinations, icons, markup structure, or other navigation items were modified.

Changes

Cohort / File(s) Summary
Navigation label update
web/templates/base.html
Renamed the RESOURCES menu item label from Trackers to Progress Trackers (desktop and mobile). No URL or structural changes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Pre-merge checks and finishing touches

✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the main change: adding a Virtual Labs link to the mobile navigation menu, which directly addresses the PR's core objective.
Linked Issues check ✅ Passed The changes directly address issue #788 by adding the Virtual Labs link to the mobile navigation Resources section and renaming 'Trackers' to 'Progress Trackers' for clarity.
Out of Scope Changes check ✅ Passed All changes in base.html are directly scoped to the linked issue #788: adding Virtual Labs navigation and clarifying the Trackers label. No unrelated modifications present.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8373ff7 and a1e38d0.

📒 Files selected for processing (1)
  • web/templates/base.html
🧰 Additional context used
📓 Path-based instructions (3)
web/templates/**/*.html

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

web/templates/**/*.html: Format HTML/Django templates with djlint using 120-character line length
Use Tailwind CSS classes only in templates (no custom CSS or inline styles)
Include dark mode variants using the "dark:" prefix in templates
Ensure proper HTML structure and accessibility in templates
Follow project color scheme in templates (teal-300, gray-600, green-600, yellow-600, red-600)

Files:

  • web/templates/base.html
**/*.{html,htm}

📄 CodeRabbit inference engine (AGENTS.md)

**/*.{html,htm}: Always use Tailwind CSS classes for styling HTML elements
Never use inline styles
Follow the project's color scheme using Tailwind's color classes (Primary: teal-300, Secondary: gray-600, Success: green-600, Warning: yellow-600, Danger: red-600, Dark mode variants using dark: prefix)
Use Tailwind container classes: container mx-auto px-4 for containers
Use Tailwind card classes: bg-white dark:bg-gray-800 rounded-lg shadow-lg for cards
Use Tailwind form input classes: w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-blue-500 for form inputs
Use Tailwind form label classes: block text-sm font-medium text-gray-700 dark:text-gray-300 for form labels
Use Tailwind primary button classes: bg-teal-300 hover:bg-teal-400 text-white px-6 py-2 rounded-lg transition duration-200
Use Tailwind secondary button classes: bg-gray-100 hover:bg-gray-200 dark:bg-gray-700 text-gray-700 dark:text-gray-300
Use Tailwind heading classes: text-2xl font-bold (adjust size as needed) for headings
Use Tailwind body text classes: text-gray-600 dark:text-gray-300 for body text
Use Tailwind link classes: text-blue-600 hover:text-blue-800 dark:text-blue-400 for links
Use flex and grid for layouts
Use consistent spacing with gap-{size} and space-{y|x}-{size} Tailwind classes
Use responsive design with Tailwind prefixes: sm:, md:, lg:, xl:
Always include dark mode alternatives using dark: prefix for elements
Use dark:bg-gray-800 for dark mode card backgrounds
Use dark:text-gray-300 for dark mode text
Use proper heading hierarchy for accessibility
Include proper ARIA labels where needed for accessibility
Ensure sufficient color contrast for accessibility
Add hover/focus states for interactive elements

Files:

  • web/templates/base.html
**/*.{html,htm,css}

📄 CodeRabbit inference engine (AGENTS.md)

Never use custom CSS classes

Files:

  • web/templates/base.html
🧠 Learnings (1)
📓 Common learnings
Learnt from: Abhishek-Punhani
Repo: alphaonelabs/alphaonelabs-education-website PR: 337
File: web/templates/courses/detail.html:1506-1560
Timestamp: 2025-04-07T11:33:41.277Z
Learning: For the alphaonelabs-education-website project, the team prefers to keep PRs focused and manageable in size. Additional enhancements like accessibility improvements should be addressed in separate follow-up issues rather than expanding the scope of an existing PR.
⏰ 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). (1)
  • GitHub Check: Run Tests
🔇 Additional comments (1)
web/templates/base.html (1)

701-701: LGTM! Label now matches desktop navigation.

The rename from "Trackers" to "Progress Trackers" correctly achieves feature parity with the desktop RESOURCES dropdown (Line 293).

Comment thread web/templates/base.html
@KhushamBansal
Copy link
Copy Markdown
Contributor Author

@A1L13N Can you review this?

@github-actions
Copy link
Copy Markdown
Contributor

🚚 This Repository Is Moving

Hi @KhushamBansal, thank you for your contribution!

We are in the process of migrating most of the logic from this repository to our new repository: alphaonelabs/learn.

What this means for your PR

Please do not merge or continue work here. Instead:

  1. Review the alphaonelabs/learn repository and familiarize yourself with its tech stack.
  2. Adapt your changes to work with that codebase.
  3. Open a new Pull Request in alphaonelabs/learn.

This PR has been automatically closed. Once you have opened your PR in the new repository, feel free to reference it here.

Thank you for your understanding and continued support! 🙏

@github-actions github-actions Bot closed this Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

files-changed: 1 PR changes 1 file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No Virtual Labs link in mobile navigation menu

1 participant