Skip to content

Conversation

@durenadev
Copy link

Hi,

According to the Moodle sites issues:

I applied the necessary changes to keep the top bar consistent across all community environments and highlight the current page in the menu. Additionally, I am improving accessibility in the waffle menu.

Copilot AI review requested due to automatic review settings May 7, 2025 00:02
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 navigation bar to improve consistency and accessibility across Moodle community environments. The changes include highlighting the current page in the menu and updating the waffle menu toggle to better indicate its purpose.

  • Updated the "Development" link by applying an active style to its text
  • Revised the waffle menu toggle button by changing its aria-label and adding a title attribute
Files not reviewed (1)
  • src/theme/Navbar/index.module.css: Language not supported
Comments suppressed due to low confidence (1)

src/theme/Navbar/index.js:123

  • Consider adding an aria-expanded attribute to this toggle button to reflect its open/closed state for improved accessibility.
onClick={() => openMenu('waffle_menu')}

@netlify
Copy link

netlify bot commented May 7, 2025

Deploy Preview for moodledevdocs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit c49ff59
🔍 Latest deploy log https://app.netlify.com/sites/moodledevdocs/deploys/681b4c7b674c720007a00fb8
😎 Deploy Preview https://deploy-preview-1347--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 site configuration.

Copy link
Member

@sarjona sarjona left a comment

Choose a reason for hiding this comment

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

Hola @durenadev!
Thanks for working on this. It's great to get consistency along these pages <3

The way for highlighting the current page looks different to other Moodle pages (slightly up). The same happens when hovering these links:
links_alignment

Could you take a look at improve these CSS styles? TIA

@durenadev durenadev force-pushed the MDLSITE-7941-7956 branch from fea436c to c49ff59 Compare May 7, 2025 12:05
@durenadev
Copy link
Author

Hola @sarjona!
Thanks for your comments!

I've modified the CSS to better match the height and colour of this environment with that of moodle.org.

Copy link
Member

@sarjona sarjona left a comment

Choose a reason for hiding this comment

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

Hi @durenadev!
Thanks a lot for reviewing the patch. It looks better now so I'm happy to approve and merge it :-)

@sarjona sarjona added this pull request to the merge queue May 7, 2025
Merged via the queue into moodle:main with commit 0e98be8 May 7, 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