CodeForPhilly / CodeForPhilly/laddr
Move project stage filter to checkboxes
- 主要言語
- Smarty
- スター
- 62
- フォーク
- 34
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
The /projects browser currently shows "Stages" as a 4th tab within the same UI used to filter projects by tags for topics/tech/events:

Remove this 4th tab and instead list out all the stages as checkbox options ABOVE the tags widget, with all of them presented in order with descriptions like they are in the project edit form::

In the filter sidebar they will have checkboxes instead of radio buttons though, and all of them will be checked by default except for `Hibernating`
Use an input name like `stages[]` for the check boxes as this will produce in PHP an array of all the checked values that can be applied to `$conditions` in the `handleBrowseRequest` method for projects
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
/projects ブラウザーと handleBrowseRequest メソッドから始め、次にプロジェクト編集フォームで使用されているステージの順序と説明を比較します。Stages タブをタグウィジェットの上にあるチェックボックスのオプションに置き換え、stages[] を使用し、デフォルトでは Hibernating のチェックを外した状態にします。選択したステージが $conditions に渡され、プロジェクトを正しくフィルタリングできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- php
- 領域
- full-stack
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100