gr2m / gr2m/github-project

Expose the fields, their data types and options that exist in the project

Abierto
#169 1 comentario 0 reacciones 0 asignados Ver en GitHub
feature
Lenguaje dominante
JavaScript
Estrellas
36
Forks
10
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Please avoid duplicates

- [X] I checked [all open feature requests](https://github.com/gr2m/github-project/issues?q=is%3Aissue+is%3Aopen+label%3Afeature) and none of them matched my problem.

### What’s missing?

The ability to see the current fields configuration for a project.

### Why?

For my use case I need to list the available options for the built-in field `status` even if no items have that status set. Anyone who wants to discover how a project is configured would find the generally capability useful.

~This seems really to just be modifying `projectNodeToProperties()` to not include `fields` from `state`.~

~There could be confusion in doing this in regards to the `GitHubProject.fields` property when doing this which from my understanding is about mapping/remapping the fields given back for each item.~

_I ignorantly thought this was all fields in the project, not those just mapped through with options._

### Alternatives you tried

Could have written my own query but since everything was already loaded I just patched `projectNodeToProperties()`.

### Would you be interested in contributing the feature?

- [X] yes

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con projectNodeToProperties() y la propiedad GitHubProject.fields; después, inspecciona cómo la consulta existente carga los datos del proyecto. La funcionalidad completada debe exponer los campos actuales del proyecto, sus tipos de datos y las opciones disponibles, incluidas las opciones para campos integrados como status cuando ningún elemento los utiliza actualmente.

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

Evaluación

Stack tecnológico
github, javascript
Área
api
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.