Skip to content

Conversation

@durenadev
Copy link

Hi,

Please note that this commit was made with "--no-verify" due to pre-existing linting errors in the file index.module.css.

According to the Moodle community sites issue:

I applied the necessary changes to the navigation links to:

  • Add "Plugins" link to https://moodle.org/plugins
  • Move the "Tracker" link to the last of the list.
  • Add the Jira icon to the "Tracker" link.
  • Open the Tracker link in a new window.

To coordinate the deployment of these changes with the other environments that share the same header, I would like a code review (validation), but not an approval to proceed to deploy until we can do it within the time window when we will also update the rest.

We are currently discussing different deployment windows and will notify you once we have reviewed the code in this pull request.

Thank you.

Copilot AI review requested due to automatic review settings July 2, 2025 13:00
@netlify
Copy link

netlify bot commented Jul 2, 2025

Deploy Preview for moodledevdocs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f52223a
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/686537beb72d120008d69337
😎 Deploy Preview https://deploy-preview-1393--moodledevdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the top navigation by introducing a new Plugins link, reordering existing entries, and enhancing the Tracker link with an icon and new-window behavior.

  • Adds a “Plugins” menu item linking to moodle.org/plugins
  • Moves “Downloads” and “Demo” to follow Plugins
  • Moves “Tracker” to the end, wraps it in a special class, adds a Jira icon via CSS, and opens it in a new tab

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/theme/Navbar/index.module.css Defines .nav_tracker .nav_link span rules to display the Jira icon
src/theme/Navbar/index.js Inserts “Plugins”, shifts “Downloads” and “Demo”, and updates “Tracker” with target="_blank" and a wrapper class
Comments suppressed due to low confidence (1)

src/theme/Navbar/index.js:75

  • The new Plugins link and reordered menu items introduce updated navigation behavior. Please add or update unit/integration tests to cover these changes.
                            <a className={styles.nav_link} href="https://moodle.org/plugins"><span>Plugins</span></a>

@durenadev durenadev marked this pull request as draft July 2, 2025 14:07
@andrewnicols
Copy link
Member

Hi @durenadev,

I think you should now be able to self-merge this. Once you've marked this PR as ready (not draft) you should have an optino to Merge it when ready, because I've now approved it.

@durenadev durenadev marked this pull request as ready for review July 3, 2025 11:57
@durenadev
Copy link
Author

Thanks @andrewnicols,

The pull request is now marked as ready so that you can proceed with the merge at your convenience.
Let me know if you need anything else.

@andrewnicols andrewnicols added this pull request to the merge queue Jul 3, 2025
Merged via the queue into moodle:main with commit 5b03756 Jul 3, 2025
5 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.

2 participants