Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Dropdown Facet filters #1363

Closed
postphotos opened this issue Aug 27, 2018 · 6 comments
Closed

Implement Dropdown Facet filters #1363

postphotos opened this issue Aug 27, 2018 · 6 comments
Milestone

Comments

@postphotos
Copy link
Contributor

As an developer using the AMP for WordPress plugin, I should have a way to filter errors on each index listing screen (by URL and by Error).

Formal AC to come.

@westonruter
Copy link
Member

Filtering by error I understand to mean showing a list of URLs that have a given error. This is currently possible by clicking on the URL count in each validation error row.

For filtering by URL, what does this mean? Is this not the invalid URL list view?

@kienstra
Copy link
Contributor

kienstra commented Aug 29, 2018

Filtering On 'Errors By URL' Page

Based on our discussion this morning, it looks like there aren't filters anymore on the 'Errors by URL' page (previously called 'Invalid Pages').

PR #1373 now allows filtering the 'Errors by URL' page (previously called 'AMP Validation Errors') by accepted status and error type.

@westonruter
Copy link
Member

Based on our discussion this morning, it looks like there aren't filters anymore on the 'Errors by URL' page (previously called 'Invalid Pages').

Humm, I think this isn't right. There are currently filters in the plugin for selecting invalid URLs that have errors with a given status. There is also a filter for the date and search:

image

I don't think these should go away.

But on this invalid URLs screen (errors by URL) should there be a new dropdown for selecting URLs that have errors of a given type? Note that in addition to storing the error attributes in the term description, the full error JSON is also stored in the post_content for an amp_invalid_url post; so a regular search could be done to find such errors here, without having to worry about doing a join on the description field for amp_validation_error terms.

But should the status links get converted into a dropdown?

image

@kienstra
Copy link
Contributor

kienstra commented Aug 30, 2018

Add Filter Dropdowns

Hi @westonruter,
Based on our meeting, there will be 2 filter <select> elements added to this 'Errors by URL page.

This page should have the same 'All Statuses' and 'All Error Types' dropdowns that exist on the 'Errors by Type' page (in addition to the existing date filter):

add-to-errors-by-url

Also, I requested that the design be updated.

@westonruter
Copy link
Member

Fixed by #1373.

@kienstra
Copy link
Contributor

'Moving to 'Ready For Merging'

If it's alright, I'm moving this to 'Ready For Merging,' as the filters should be tested in #1361 and #1362.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants