website to show/preview drafts uploaded via API

オープン
#8,116 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
api, full-stack

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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?

主要言語
Rust
スター
2.5k
フォーク
663
平均マージ
2日 11時間
マージ済み PR(30日)
122

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modrinth/code のほかの issue

modrinth/code の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。