Adding a new Resource requires an Author, but can't list them all yet
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- backend
調査の方向性
このissueではファイル、テスト、エントリポイントのいずれも指定されていません。まず、リンクされているDiscord Select MenuおよびAutocomplete Interactionのドキュメントを確認し、その後、既存の/add-resourceのauthor-selectionフローを調査してください。Doneでは、ユーザーが現在の25個の選択肢の上限を超えてAuthorsを選択できるようにする、決定済みのアプローチが提示されている必要があります。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- TypeScript
- スター
- 29
- フォーク
- 8
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Developer-DAO/devie-bot のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
Developer-DAO/devie-bot#21 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
Developer-DAO/devie-bot#19 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Developer-DAO/devie-bot#15 ·
Developer-DAO/devie-bot の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
AvaProtocol/ava-sdk-js#276 ·
メンテナーはふだん 1 日以内に返信
-
useFragment does not require `variables` when the fragment's variables type has required fieldsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
apollographql/apollo-client#13493 ·
メンテナーはふだん 1 日以内に返信
-
Custom hosts written as trailing-dot FQDNs (`host.local.`) aren't detected as local backends対応中かも @roboomp が今日担当しました。 オープンbug prio:p2 providers triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
can1357/oh-my-pi#15798 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
code-yeongyu/oh-my-openagent#10172 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
PDFCraftTool/pdfcraft#189 ·