website to show/preview drafts uploaded via API

Abierto
#8,116 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
api, full-stack

Línea de trabajo

Start by tracing the draft version API response and the website’s project version-management and version-page routes; the issue names no source files or tests. Check how project members are authorized to view versions, then identify the changes needed to list and preview drafts and provide an explicit Publish action. Done means owners or project members can preview an API-uploaded draft privately and publish it from the website.

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

Descripción

Please confirm the following.
What parts of Modrinth is your feature request related too?

Modrinth.com website

Is your suggested feature related to a problem? Please describe.

I can upload drafts to versions, but I am unable to preview them in the Modrinth website and edit and publish them.

Describe the solution you'd like

Way to preview drafts, edit them and publish.

Describe alternatives you've considered

well do it manually, the whole upload process. but it is very cumbersome to do, when you could just automate it with the API. but you can't preview your uploads before publishing them.

Additional context

I uploaded a version through the API with status: "draft". Authenticated GET /v2/version/{id} confirms that the draft exists and has the correct file attached.

However, it does not appear in the project’s version-management page, and its version-page URL returns 404 while I’m logged in as the project owner.

Could drafts be listed privately for project members, with a preview page and an explicit Publish action?

Lenguaje dominante
Rust
Estrellas
2.5k
Forks
663
Merge medio
2 d 11 h
PR fusionados (30 d)
122

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de modrinth/code

Todos los issues de modrinth/code

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.