Skip to content

feat(AppsMenu): enable click on grid items for better navigation - #36

Merged
printminion-co merged 1 commit into
mainfrom
mk/dev/enable_click_on_grid_item
Oct 31, 2025
Merged

feat(AppsMenu): enable click on grid items for better navigation#36
printminion-co merged 1 commit into
mainfrom
mk/dev/enable_click_on_grid_item

Conversation

@printminion-co

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
@printminion-co
printminion-co force-pushed the mk/dev/enable_click_on_grid_item branch from a72d455 to 947894e Compare October 31, 2025 17:26

Copilot AI left a comment

Copy link
Copy Markdown

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 refactors the AppsMenu component to improve HTML semantics by making the anchor (<a>) element the primary container for each app item, rather than wrapping it inside a <div>. This change simplifies the DOM structure and improves accessibility.

Key Changes:

  • Restructured HTML to use <a> as the app item container with <div> wrapping the icon
  • Adjusted CSS focus outline from 2px to 1px for better visual consistency
  • Updated tests to reflect the new DOM structure

Reviewed Changes

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

File Description
src/lib/view/AppsMenu.vue Restructured app item DOM to use anchor element as container, added pointer-events: none to icon wrapper, adjusted focus outline size, and added color: inherit
src/tests/AppsMenu.spec.ts Updated tests to query attributes on .ncwappsmenu__app-item directly instead of nested .ncwappsmenu__app-icon

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@printminion-co
printminion-co merged commit eb4a355 into main Oct 31, 2025
45 checks passed
@printminion-co
printminion-co deleted the mk/dev/enable_click_on_grid_item branch October 31, 2025 17:32
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