CodeForPhilly / CodeForPhilly/laddr

Move project stage filter to checkboxes

Offen
#181 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Smarty
Sterne
62
Forks
34
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

The /projects browser currently shows "Stages" as a 4th tab within the same UI used to filter projects by tags for topics/tech/events:

screen shot 2018-01-16 at 7 56 46 pm

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::

screen shot 2018-01-16 at 8 04 01 pm

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne beim Browser /projects und der Methode handleBrowseRequest und vergleiche anschließend die Reihenfolge und Beschreibungen der Phasen, die im Bearbeitungsformular für Projekte verwendet werden. Ersetze den Tab Stages durch Checkbox-Optionen oberhalb des Tags-Widgets, verwende stages[] und lasse Hibernating standardmäßig deaktiviert; fertig ist die Änderung, wenn die ausgewählten Phasen $conditions erreichen und Projekte korrekt filtern.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
php
Bereich
full-stack
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.