jangerhard / jangerhard/react-github-showcase

Feature - Support for organizations

Abierto
#18 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
JavaScript
Estrellas
2
Forks
2
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**Describe the solution you'd like**
Support for organizations and not just users. Requires a different GraphQL call, but it is doable.
Requires a different prop when using the component, and therefore we risk that neither name nor organization is added, so adequate testing is needed.

**Additional context**

It should be very similar to existing call, except user is switched out with organization.
```
query someQuery($org: String!, $numRepositories: Int!, $numCommits: Int!) {
organization(login: $org){
repositories(first: $numRepositories, orderBy: {field: UPDATED_AT, direction: DESC}) {
...
```

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by locating the existing user GraphQL call and the component prop that supplies the user, then compare it with the organization(login: $org) query shown here. Done means the component supports organizations as well as users and tests cover both inputs, including the case where neither name nor organization is provided.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
graphql, javascript, react
Área
api, frontend
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.