Skip to content

feat: improve status indicator accessibility in settings#441

Merged
typed-sigterm merged 4 commits intomoeru-ai:mainfrom
Arjunmehta312:main
Aug 27, 2025
Merged

feat: improve status indicator accessibility in settings#441
typed-sigterm merged 4 commits intomoeru-ai:mainfrom
Arjunmehta312:main

Conversation

@Arjunmehta312
Copy link
Contributor

Replace subtle green/gray dots with more distinct checkmark/empty circle

  • Add checkmark icon for configured modules (green circle with white check)
  • Use light gray hollow circle for unconfigured modules
  • Increase indicator size from size-3 to size-4 for better visibility
  • Improve color contrast and visual semantics for accessibility

Description

This PR addresses accessibility issues with the status indicators in the modules settings page. The previous implementation used subtle color variations (green vs gray filled circles) that were difficult to distinguish, especially for users with color vision difficulties.

Before:

  • Configured: Small green filled circle
  • Not configured: Small gray filled circle

After:

  • Configured: Green circle with white checkmark icon (✅ clear "completed" indicator)
  • Not configured: Light gray hollow circle (⭕ clear "incomplete" indicator)

The new design uses universal visual symbols (checkmark = done, empty circle = to-do) and provides much better contrast, making the status immediately clear without relying solely on color differences.

Linked Issues

Fixes #292

Additional Context

  • Uses existing i-solar:check-bold icon to maintain consistency with the project's icon system
  • Follows established UnoCSS utility patterns used throughout the codebase
  • Includes proper dark mode support
  • No breaking changes - only visual improvements to the IconStatusItem component
  • Reviewers should test the visual clarity in both light and dark modes

Please focus on verifying that the new indicators are clearly distinguishable and provide better accessibility for all users.

- Replace subtle green/gray dots with more distinct checkmark/empty circle
- Add checkmark icon for configured modules (green circle with white check)
- Use light gray hollow circle for unconfigured modules
- Increase indicator size from size-3 to size-4 for better visibility
- Improve color contrast and visual semantics for accessibility
@netlify
Copy link

netlify bot commented Aug 25, 2025

Deploy Preview for airi-docs ready!

Name Link
🔨 Latest commit acc7827
🔍 Latest deploy log https://app.netlify.com/projects/airi-docs/deploys/68aeae7ff2628d0008bd34d9
😎 Deploy Preview https://deploy-preview-441--airi-docs.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

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Summary of Changes

Hello @Arjunmehta312, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on enhancing the accessibility and visual clarity of status indicators within the modules settings page. The primary goal is to improve the user experience by replacing subtle color-based cues with more distinct and universally understandable symbols. This ensures that the status of modules is immediately clear to all users, including those with color vision deficiencies, without relying solely on color differences.

Highlights

  • Enhanced Visual Distinction: The previous subtle green/gray dots have been replaced with more distinct and universally recognizable symbols, improving visual differentiation for all users.
  • Improved Configured State Indicator: Configured modules now display a green circle with a white checkmark icon, providing a clear and intuitive 'completed' visual cue.
  • Clear Unconfigured State Indicator: Unconfigured modules are now represented by a light gray hollow circle, clearly signifying an 'incomplete' or 'to-do' status.
  • Increased Indicator Size: The size of the status indicators has been increased from size-3 to size-4, enhancing their overall visibility on the page.
  • Accessibility Focus: The changes significantly improve color contrast and visual semantics, addressing accessibility concerns by moving beyond sole reliance on color for conveying status.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@netlify
Copy link

netlify bot commented Aug 25, 2025

Deploy Preview for airi-vtuber ready!

Name Link
🔨 Latest commit acc7827
🔍 Latest deploy log https://app.netlify.com/projects/airi-vtuber/deploys/68aeae7f74ba370008c04b13
😎 Deploy Preview https://deploy-preview-441--airi-vtuber.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

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request significantly improves the accessibility of the module status indicators by using more distinct visual cues. The change from simple colored dots to a checkmark and a hollow circle is a great step forward. My review focuses on further refining the implementation for better code quality and ensuring the new indicators meet accessibility contrast standards.

@nekomeowww
Copy link
Member

I wouldn't say align the indicator to center to be the better approach... should we improve that? And perhaps, screenshots can be added?

@typed-sigterm
Copy link
Collaborator

Maybe off [🌑] and on [✓ in ⭕] are more discerning

@Arjunmehta312
Copy link
Contributor Author

These are the screenshots of my fix
image
Do let me know exactly what you would like

@typed-sigterm typed-sigterm changed the title improve status indicator accessibility in modules settings feat: improve status indicator accessibility in settings Aug 26, 2025
@typed-sigterm typed-sigterm merged commit 261c5c5 into moeru-ai:main Aug 27, 2025
14 checks passed
Disqort pushed a commit to Disqort/airi that referenced this pull request Aug 29, 2025
Co-authored-by: Typed SIGTERM <typed.sigterm@gmail.com>
lucas-oma pushed a commit to lucas-oma/airi that referenced this pull request Sep 7, 2025
Co-authored-by: Typed SIGTERM <typed.sigterm@gmail.com>
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.

feature request: redesign menu item state indiactor

3 participants