Commit graph

7 commits

Author SHA1 Message Date
Ezekiel Kigbo
cd27bead2e
Cleanup css classes and styles
Use class and id syntax for button attributes

Use feature flag variable and shorthand if expression

Use shorthand if expression

Use a classname instead of tag

Simplify common rules

Use size variable

Move flex grow and shrink to utility classes

Extract redused classes

Remove unecessary styles
2019-05-06 16:42:44 +01:00
Ezekiel Kigbo
6accad69e2
Added blank lines to meet style guide
Un-nest title variable output

Update spec test names

Rename sort_value_most_stars -> sort_value_stars_desc

Rename sorted_by_stars -> sorted_by_stars_desc

Renname sort_value_most_stars_asc -> sort_value_stars_asc

Invert feature check, assign feature condition to a variable

Inline conditional nav bar rendering

Invert conditional label

Added follow up task

Fix filters returning 0 projects show the wrong view

Move click action out of test expectation

Use proper variable name for project in before block

Rename projects_sort_admin_options_hash

Renamed projects_sort_admin_options_has to
old_projects_sort_options_hash as its not only used
on the admin screen

Fix extra whitespace errors

Stub project_list_filter_bar in the projects_helper specs

Added follow up task for `show_projects?`

Removed url test expectations
2019-05-06 16:42:44 +01:00
Ezekiel Kigbo
b736a9f000
Minor review fixes
Externalize strings

Simplify locals passed through views

Ensure we can still filter when logged out

Cleanup conditional rendering for explore filters
2019-05-06 16:42:43 +01:00
Ezekiel Kigbo
5f22907418
Update project list specs
Add tests to ensure search only executes with a button click or enter,
sort by Name, Last updated, Created date and Stars and tests for
Visibility filter
2019-05-06 16:41:47 +01:00
Ezekiel Kigbo
aebf22f639
Ensure we dont apply changes to admin/projects
The changes introduced for the project filter bar should
not apply to the admin projects screen.

Remove "Owned by me", "Owned by anyone" options

Update the dropdown option Last created -> Created date.
Introduces fixes for spacing and minor styling across breakpoints.
2019-05-06 16:41:47 +01:00
Ezekiel Kigbo
6daec21a16
Updated layout for various breakpoints
Updated translations

Adds sort direction dropdown

Allows the project list sorting direction to be changed,
available options can be sorted ascending or descending.
Implements the changes from the UX review.
2019-05-06 16:41:46 +01:00
Ezekiel Kigbo
6bab1f8dde
Added filter bar to project page
Added project_list_filter_bar feature flag
2019-05-06 16:41:46 +01:00