✨ feat: add Openference icon and provider mapping - #375
Conversation
💻 变更类型 | Change Type - [x] ✨ feat - [x] 🐛 fix - [x] ♻️ refactor - [x] 💄 style - [x] 🔨 chore - [x] 📝 docs 🔀 变更说明 | Description of Change Add the brand icon for Openference — a unified OpenAI-compatible LLM gateway that routes requests across curated open-source models (GLM, DeepSeek, Qwen, Kimi, and more). - `src/Openference/` with Mono, Color, Text, Combine, and Avatar components - Mark sourced from official github/glm brand assets (`src/dashboard/public/brand/favicon.svg` + `logo.svg`): evenodd eye cutouts, antenna circle, COLOR_PRIMARY: '#6366f1' - `Combine type="color"` sets icon + wordmark both purple (#6366f1), matching the official lockup - Registered in `src/icons.ts` and regenerated `src/toc.json` via `bun scripts/tocWorkflow/index.ts` - category: Application, COLOR_PRIMARY: #6366f1 - Provider mapping: Openference = 'openference' in ModelProvider / RNModelProvider plus providerMappings entries in both packages, so ProviderIcon provider="openference" resolves - React Native package: `packages/react-native/src/icons/Openference/` (Mono, Color, Text, Combine, Avatar), exported from `packages/react-native/src/index.ts` - Official brand assets: github/glm/src/dashboard/public/brand/favicon.svg (mark), logo.svg (wordmark typography: Geist Bold, lowercase openference) 📝 补充信息 | Additional Information - `tsc --noEmit` passes in the main and react-native packages; ESLint and Prettier pass on all touched files - `npm run ci` and `npm run build` pass locally - Visual review vs official glm mark: eyes (evenodd cutouts) and combine color lockup verified
88d5b7e to
7bb64fb
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 88d5b7ebb9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Replace the Geist-dependent <text> element with outlined path glyphs so the wordmark renders consistently in static exports and third-party consumers without a bundled font, matching the RN Text component and other web text logos in this repo.
|
@canisminor1990 @arvinxx Hi — Openference icon PR is ready for review when you have a moment. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #375 +/- ##
=========================================
+ Coverage 0.00% 1.75% +1.75%
=========================================
Files 520 4489 +3969
Lines 13448 89829 +76381
Branches 520 4489 +3969
=========================================
+ Hits 0 1578 +1578
- Misses 12928 85340 +72412
- Partials 520 2911 +2391 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
commit: |
|
@canisminor1990 @arvinxx approved? |
Summary
openferenceprovider mapping in web + React Native packages soProviderIcon provider="openference"resolvessrc/toc.jsonfor docs site💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
Add the brand icon for Openference — a unified OpenAI-compatible LLM gateway that routes requests across curated open-source models (GLM, DeepSeek, Qwen, Kimi, and more).
src/Openference/with Mono, Color, Text, Combine, and Avatar componentssrc/dashboard/public/brand/favicon.svg+logo.svg): evenodd eye cutouts, antenna circle,COLOR_PRIMARY: '#6366f1'Combine type="color"sets icon + wordmark both purple (#6366f1), matching the official lockupsrc/icons.tsand regeneratedsrc/toc.jsonviabun scripts/tocWorkflow/index.ts#6366f1Openference = 'openference'inModelProvider/RNModelProviderplusproviderMappingsentries in both packagespackages/react-native/src/icons/Openference/exported frompackages/react-native/src/index.tsgithub/glm/src/dashboard/public/brand/favicon.svg(mark),logo.svg(wordmark: Geist Bold, lowercaseopenference)📝 补充信息 | Additional Information
tsc --noEmitpasses in the main and react-native packages; ESLint and Prettier pass on all touched filesnpm run ciandnpm run buildpass locallyTest plan
npm run ci(lint + type-check)npm run buildcd packages/react-native && npm run type-checkfavicon.svg/logo.svg(eyes + combine color)ProviderIcon provider="openference"resolves viaproviderMappings