Problem/Motivation

The AI Metering links in the admin toolbar display the generic fallback icon,
making the section hard to spot among other items. A module-specific icon
improves recognition without changing any functionality.

Steps to reproduce

  1. Install ai_metering with the Gin admin theme or the classic Drupal toolbar.
  2. View the admin toolbar, the AI Metering section shows on GIN theme Bar

Environment

  • Drupal version: 11.3.11
  • ai_metering version: 1.0.x-dev
  • AI provider module + version: N/A
  • AI feature module tested: N/A

Proposed resolution

Remove the menu link from the admin top levevel menu

Remaining tasks

  • Verify that ai metering is accessible from the AI Configuration section
  • Review.

User interface changes

Yes , Ai metering not visible anymore from admin top level menui.

API changes

N/A

Data model changes

N/A

AI assistance

N/A

Comments

codeitwisely created an issue. See original summary.

codeitwisely’s picture

Assigned: Unassigned » codeitwisely

  • aefc9613 committed on 1.0.x-3604240-toolbar-icon
    Issue #3604240 by codeitwisely: Add toolbar icon for AI Metering admin...
ultimike’s picture

On a related note, on my local test site, the link for this module appears on the top-level of the admin menu - is there any reason why it isn't under Configuration | AI like the other AI-related module configuration pages?

-mike

codeitwisely’s picture

@ultimike you are right! I initially added the menu link there so that it would be visible directly at the demo! It should not appear at the top level of the admin menu, currently preparing a new release with multiple fixes/features!

  • 878f85a4 committed on 1.0.x-3604240-toolbar-icon
    Issue #3604240 by codeitwisely: Add toolbar icon for AI Metering admin...

  • 0dd1c45d committed on 1.0.x-3604240-toolbar-icon
    Issue #3604240 by codeitwisely: Add toolbar icon for AI Metering admin...

  • codeitwisely committed 9f49f9a1 on 1.0.x
    Issue #3604240: Add toolbar icon for AI Metering admin links
    

  • codeitwisely committed 9f49f9a1 on 1.0.x-3604346-by-role-dashboard
    Issue #3604240: Add toolbar icon for AI Metering admin links
    
codeitwisely’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

codeitwisely’s picture

Title: Add the module icon to the AI Metering admin toolbar links » Remove menu link for ai_metering from top level admin toolbar
codeitwisely’s picture

Issue summary: View changes
codeitwisely’s picture

Status: Fixed » Closed (fixed)