Adding a new Resource requires an Author, but can't list them all yet
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- backend
Hướng nghiên cứu
Issue không nêu tệp, bài kiểm thử hoặc điểm vào nào. Trước tiên, hãy xem lại tài liệu Discord Select Menu và Autocomplete Interaction được liên kết, sau đó kiểm tra luồng chọn Authors hiện có của /add-resource. Done cần đưa ra một phương án đã được quyết định, cho phép người dùng chọn Authors vượt quá giới hạn 25 tùy chọn hiện tại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
When adding a new Resource the Author field is currently required. Currently the list of Authors is restricted to 25 as this is the maximum number of options that can be listed in a Select Menu for discord. Discord documentation
We need a new approach for selecting Authors as part of the /add-resource command.
I have thought about a few approaches that could be taken, but other ideas are welcome.
1) Make Author Optional
This would make it possible to add Resources without an Author and therefore allow submissions to continue.
Pros
Simple change
Immediately allows submissions of articles where the Authors are currently not listed
Cons
Data quality is reduced
Authors should be searchable
2) Add Paging Options
Change the first (apart from the first page) and last options in the Select Menu to be paging selections
Pros
Allows all Authors to be listed (eventually)
Possibly a simple code change
Cons
Finding an Author near the end of the list will take a long time
3) Create an index strategy
Sort all of the Authors into buckets, with a maximum of 25 entries at each level, e.g.
A-B
|-> Aa - Ag
|-> Aaron Aardvaark
Aaron Smith
Abbey Mills
...
Agatha Doe
Pros
Potentially faster average time to find authors
Should be possible to list all authors
Cons
Relies on consistent naming of Authors to make sense to users. e.g. Firstname, Surname or Surname, Firstname
4) Autocomplete Interaction
It should be possible to create an Autocomplete Message Interaction to allow searching for Authors.
Pros
Makes it possible to search for an Author
Cons
This does not seem to be supported by discord.js at this time
- Ngôn ngữ chính
- TypeScript
- Star
- 29
- Fork
- 8
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Developer-DAO/devie-bot
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
Developer-DAO/devie-bot#21 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Developer-DAO/devie-bot#19 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Developer-DAO/devie-bot#15 ·
Tất cả issue của Developer-DAO/devie-bot
Issue tương tự
-
area/core status/need-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
google-gemini/gemini-cli#29602 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: backend enhancement priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
snapotter-hq/SnapOtter#1879 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Tencent/BrowserSkill#390 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue status: needs triaging type: bug version: 2.0
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
medusajs/medusa#17094 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày