Skip to content

Conversation

@somritdasgupta
Copy link

Description

Adds custom icons for three services currently missing from Ente Auth:

  • OpenRouter (openrouter.ai)
  • Uptimerobot (uptimerobot.com)
  • Dhan (dhan.co)

Changes Made

  • Added 3 optimized SVG icons to mobile/apps/auth/assets/custom-icons/icons/
  • Updated mobile/apps/auth/assets/custom-icons/_data/custom-icons.json with metadata (slug, hex, altNames)

Technical Details

  • All SVGs optimized and under 50KB
  • Hex colors verified from official brand assets
  • Added altNames for better issuer matching

Tests

  • Verified SVG file sizes are under 50KB
  • Confirmed JSON syntax is valid
  • Tested slug naming matches issuer name conventions
  • Hex colors validated against official brand guidelines

Copilot AI review requested due to automatic review settings January 10, 2026 05:41
@CLAassistant
Copy link

CLAassistant commented Jan 10, 2026

CLA assistant check
All committers have signed the CLA.

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 adds custom icons for three authentication services: OpenRouter (openrouter.ai), Uptimerobot (uptimerobot.com), and Dhan (dhan.co). The changes include both the SVG icon files and corresponding metadata entries in the custom icons JSON file.

Changes:

  • Added 3 optimized SVG icon files for the new services
  • Added JSON metadata entries with slugs, hex colors, and alternative names for better issuer matching
  • Reformatted existing JSON entries from multi-line to single-line format for altNames arrays

Reviewed changes

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

File Description
mobile/apps/auth/assets/custom-icons/icons/uptimerobot.svg New SVG icon for Uptimerobot service with green circular design
mobile/apps/auth/assets/custom-icons/icons/openrouter.svg New SVG icon for OpenRouter service with router/network path design
mobile/apps/auth/assets/custom-icons/icons/dhan.svg New SVG icon for Dhan securities service with gradient and logo design
mobile/apps/auth/assets/custom-icons/_data/custom-icons.json Added metadata for 3 new icons and reformatted existing altNames to single-line format

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

@AmanRajSinghMourya
Copy link
Contributor

Thank you for the contribution. But it will be great if you could not change the default formatting of our files.

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

Copilot reviewed 1 out of 4 changed files in this pull request and generated 4 comments.


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

Comment on lines 1412 to 1428
"title": "tencent cloud",
"slug": "tencent_cloud",
"altNames": [
"腾讯云",
"tencentcloud"
]
"altNames": ["腾讯云", "tencentcloud"]
},
{
"title": "Techlore",
"altNames": [
"Techlore Courses",
"Techlore Forums"
]
"altNames": ["Techlore Courses", "Techlore Forums"]
},
{
"title": "Teleport",
"altNames": [
"Gravitational Teleport",
"GoTeleport"
]
"altNames": ["Gravitational Teleport", "GoTeleport"]
},
{
"title": "tencent cloud",
"slug": "tencent_cloud",
"altNames": [
"腾讯云",
"tencentcloud"
]
"altNames": ["腾讯云", "tencentcloud"]
},
Copy link

Copilot AI Jan 11, 2026

Choose a reason for hiding this comment

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

Duplicate entry detected: "tencent cloud" appears twice in the JSON (lines 1412-1414 and 1425-1427) with identical configuration. One of these entries should be removed to avoid confusion and potential issues with icon matching.

Copilot uses AI. Check for mistakes.
"title": "Dhan",
"slug": "dhan",
"altNames": ["dhan.co", "Dhan Securities"],
"hex": "4575D9"
Copy link

Copilot AI Jan 11, 2026

Choose a reason for hiding this comment

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

The hex color value "4575D9" (blue) does not match the actual colors used in the dhan.svg file, which uses green colors (#138c61, #4dba93, #17875f, #269970). The hex value should represent the primary brand color from the SVG. Consider using one of the green colors from the SVG, such as "269970" for consistency.

Suggested change
"hex": "4575D9"
"hex": "269970"

Copilot uses AI. Check for mistakes.
},
{
"title": "Animal Crossing",
"slug:": "animal_crossing",
Copy link

Copilot AI Jan 11, 2026

Choose a reason for hiding this comment

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

Typo in field name: "slug:" should be "slug" (without the colon). This will cause the slug field to not be recognized properly.

Suggested change
"slug:": "animal_crossing",
"slug": "animal_crossing",

Copilot uses AI. Check for mistakes.
"title": "Upstox"
},
{
"title": "Uptimerobot",
Copy link

Copilot AI Jan 11, 2026

Choose a reason for hiding this comment

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

The title "Uptimerobot" does not match the official brand name "UptimeRobot" (with capital R). The title should be updated to "UptimeRobot" for consistency with the brand and the altNames field.

Suggested change
"title": "Uptimerobot",
"title": "UptimeRobot",

Copilot uses AI. Check for mistakes.
@AmanRajSinghMourya
Copy link
Contributor

Thank you for the contribution. But it will be great if you could not change the default formatting of our files.

There are a lot of issues in this PR, I would recommend you to close this and open a new PR

@ua741 ua741 requested a review from prateekmedia January 12, 2026 06:48
@prateekmedia
Copy link
Member

@somritdasgupta Please remove the formatting changes.

@prateekmedia prateekmedia marked this pull request as draft January 12, 2026 07:42
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.

4 participants