website to show/preview drafts uploaded via API

Aberta
#8,116 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
48/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
rust
Domínio
api, full-stack

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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?

Linguagem predominante
Rust
Estrelas
2.5k
Forks
663
Merge médio
2d 11h
PRs com merge (30d)
122

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de modrinth/code

Todas as issues de modrinth/code

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.