Skip to content

Commit

Permalink
feat: add compatibility status
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 27, 2021
1 parent 02c8733 commit cf24d9b
Show file tree
Hide file tree
Showing 173 changed files with 716 additions and 2 deletions.
24 changes: 24 additions & 0 deletions components/CardModule.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@
<p class="text-gray-500 group-hover:text-gray-800">
{{ module.description }}
</p>
<p>
<span
v-for="c of compatibility"
:key="c.label"
class="text-grey px-1 py-1 mx-1 rounded text-xs"
>
{{ c.icon }} {{ c.label }}: {{ c.statusText }}
</span>
</p>
</div>
<div class="border-t border-gray-200 bg-gray-100 grid grid-cols-3">
<a :href="npmUrl(module)" aria-label="npm" target=" _blank" rel="noopener" class="stats-block group flex items-center space-x-2 border-r border-gray-200 hover:bg-gray-200 hover:bg-opacity-50 py-3 px-4 pl-6">
Expand Down Expand Up @@ -74,6 +83,21 @@ export default {
required: true
}
},
computed: {
statusMap () {
return {
working: { statusText: 'Working', icon: '✔️', color: '#003c3c' },
wip: { statusText: 'Work in progress', icon: '🚧', color: '#E9C600' },
unknown: { statusText: 'Unkown', icon: '', color: 'grey' },
broken: { statusText: 'Not working', icon: '', color: '#ff6446' },
rip: { statusText: 'Won\'t be supported', icon: '', color: '#ff6446' }
}
},
compatibility () {
return Object.entries(this.module.compatibility || {})
.map(([key, status]) => ({ ...this.statusMap[status], label: key }))
}
},
methods: {
numberFormat (num, options = { precision: 1 }) {
return numberFormatter(num, options)
Expand Down
4 changes: 4 additions & 0 deletions modules/ackee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ maintainers:
github: Atinux
twitter: Atinux
avatar: https://avatars2.githubusercontent.com/u/904724?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/alias.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: kdydesign
github: kdydesign
avatar: https://avatars3.githubusercontent.com/u/10152521?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/amp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ maintainers:
github: farnabaz
twitter: a_birang
avatar: https://avatars2.githubusercontent.com/u/2047945?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/animejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: ivodolenc
github: ivodolenc
avatar: https://avatars.githubusercontent.com/u/51852491?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/apollo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ maintainers:
- name: Dominic Garms
github: dohomi
avatar: https://avatars0.githubusercontent.com/u/489221?v=4
compatibility:
2.x: working
2.x-bridge: broken
3.x: broken
4 changes: 4 additions & 0 deletions modules/applicationinsights.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: Dmitry Molotkov
github: aldarund
avatar: https://avatars2.githubusercontent.com/u/571159?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/appwrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: Hrdtr
github: Hrdtr
avatar: https://avatars0.githubusercontent.com/u/35950229?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ maintainers:
- name: João Pedro Antunes Silva
github: JoaoPedroAS51
avatar: https://avatars0.githubusercontent.com/u/15177236?v=4
compatibility:
2.x: working
2.x-bridge: wip
3.x: wip
4 changes: 4 additions & 0 deletions modules/axios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ maintainers:
github: pi0
twitter: _pi0_
avatar: https://avatars0.githubusercontent.com/u/5158436?v=4
compatibility:
2.x: working
2.x-bridge: working
3.x: unknown
4 changes: 4 additions & 0 deletions modules/basic-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: potato4d
github: potato4d
avatar: https://avatars0.githubusercontent.com/u/6993514?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ maintainers:
github: jackmu95
twitter: jackmu95
avatar: https://avatars1.githubusercontent.com/u/2737132?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/browserconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ maintainers:
github: pi0
twitter: _pi0_
avatar: https://avatars0.githubusercontent.com/u/5158436?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/buefy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ maintainers:
- name: Walter Tommasi
github: jtommy
avatar: https://avatars0.githubusercontent.com/u/8029488?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/bugsnag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: JulianMar
github: JulianMar
avatar: https://avatars2.githubusercontent.com/u/29117090?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/build-optimisations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: loonpwn
github: loonpwn
avatar: https://avatars.githubusercontent.com/u/5326365?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/bulma-slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ maintainers:
- name: mustardamus
github: mustardamus
avatar: https://avatars1.githubusercontent.com/u/110802?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/bundle-buddy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: Developmint
github: Developmint
avatar: https://avatars0.githubusercontent.com/u/29969219?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/canvas-sketch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ maintainers:
github: LuXDAmore
twitter: luxdamore
avatar: https://avatars0.githubusercontent.com/u/3841171?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/chakra-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ maintainers:
github: codebender828
avatar: >-
https://avatars2.githubusercontent.com/u/21237954?s=400&u=8d33f80968b1e2582b530af74e26e4cb94d1a90b&v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/chiffre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: Romain Clement
github: rclement
avatar: https://avatars.githubusercontent.com/u/1238873?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/client-init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: potato4d
github: potato4d
avatar: https://avatars0.githubusercontent.com/u/6993514?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/cloudcms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: gitana
github: gitana
avatar: https://avatars3.githubusercontent.com/u/281904?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/cloudinary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ maintainers:
github: mayashavin
twitter: MayaShavin
avatar: https://avatars3.githubusercontent.com/u/6650139?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: broken
4 changes: 4 additions & 0 deletions modules/color-mode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ maintainers:
github: Atinux
twitter: Atinux
avatar: https://avatars2.githubusercontent.com/u/904724?v=4
compatibility:
2.x: working
2.x-bridge: working
3.x: unkown
4 changes: 4 additions & 0 deletions modules/component-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ maintainers:
github: pi0
twitter: _pi0_
avatar: https://avatars0.githubusercontent.com/u/5158436?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/composition-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ maintainers:
github: danielroe
twitter: danielcroe
avatar: https://avatars1.githubusercontent.com/u/28706372?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ maintainers:
github: Atinux
twitter: Atinux
avatar: https://avatars2.githubusercontent.com/u/904724?v=4
compatibility:
2.x: working
2.x-bridge: broken
3.x: broken
4 changes: 4 additions & 0 deletions modules/contentful.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: scaccogatto
github: scaccogatto
avatar: https://avatars3.githubusercontent.com/u/3670888?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/custom-elements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ maintainers:
- name: GrabarzUndPartner
github: GrabarzUndPartner
avatar: https://avatars3.githubusercontent.com/u/28385672?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/darkmode.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: sandoche
github: sandoche
avatar: https://avatars2.githubusercontent.com/u/3635348?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/date-fns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: Ricardo Gobbo de Souza
github: ricardogobbosouza
avatar: https://avatars3.githubusercontent.com/u/13064722?v=4
compatibility:
2.x: working
2.x-bridge: wip
3.x: wip
4 changes: 4 additions & 0 deletions modules/dayjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ maintainers:
github: potato4d
twitter: potato4d
avatar: https://avatars0.githubusercontent.com/u/6993514?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/device.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: Shinji Yamada
github: dotneet
avatar: https://avatars3.githubusercontent.com/u/370602?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/dotenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: Julien Tant
github: JulienTant
avatar: https://avatars1.githubusercontent.com/u/785518?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/druxt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: Decipher
github: decipher
avatar: https://avatars0.githubusercontent.com/u/161090?s=460&v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/emotion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ maintainers:
github: pi0
twitter: _pi0_
avatar: https://avatars0.githubusercontent.com/u/5158436?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: Ricardo Gobbo de Souza
github: ricardogobbosouza
avatar: https://avatars3.githubusercontent.com/u/13064722?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/event-trace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: Xin Du
github: clarkdo
avatar: https://avatars3.githubusercontent.com/u/4312154?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/fathom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: yabhq
github: yabhq
avatar: https://avatars.githubusercontent.com/u/16291011?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/feature-toggle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: stephenkr
github: stephenkr
avatar: https://avatars0.githubusercontent.com/u/25742275?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/feed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ maintainers:
github: manniL
twitter: TheAlexLichter
avatar: https://avatars0.githubusercontent.com/u/640208?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/firebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: Pascal Luther
github: lupas
avatar: https://avatars1.githubusercontent.com/u/4020037?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/floating-prompt-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ maintainers:
- name: sandoche
github: sandoche
avatar: https://avatars2.githubusercontent.com/u/3635348?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/font-loader-strategy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: GrabarzUndPartner
github: GrabarzUndPartner
avatar: https://avatars3.githubusercontent.com/u/28385672?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
4 changes: 4 additions & 0 deletions modules/fontagon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ maintainers:
- name: kdydesign
github: kdydesign
avatar: https://avatars3.githubusercontent.com/u/10152521?v=4
compatibility:
2.x: working
2.x-bridge: unknown
3.x: unknown
Loading

0 comments on commit cf24d9b

Please sign in to comment.