website to show/preview drafts uploaded via API

Đang mở
#8,116 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
api, full-stack

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
Rust
Star
2.5k
Fork
663
Merge trung bình
2 ngày 11 giờ
Pull request đã merge (30 ngày)
122

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của modrinth/code

Tất cả issue của modrinth/code

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.