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

build a tag filtered page that can be linked #3

Open
Grummfy opened this issue Jun 8, 2017 · 2 comments
Open

build a tag filtered page that can be linked #3

Grummfy opened this issue Jun 8, 2017 · 2 comments

Comments

@Grummfy
Copy link
Contributor

Grummfy commented Jun 8, 2017

in the tool page, we should have a way to prefilter the tools with the url
https://phpqa.io/#tag-name,tag-name2 should prefiltered the page for the two tag tag-name & tag-name2

The anchor url can be easyly build in js without reloading the page, so we we click on the tags, we should have the url tags added.

@MetalArend
Copy link
Contributor

Great idea!

It is already on the todo list, as I want it to use it as a way to show a link next to the author on the tool details page. You could then click through to a filtered list with projects by the author as well as add tag links.

It's one of the easiest things to implement on the list for the moment, so I'll release it soon, but I want to make sure to check for injection problems in javascript.

@MetalArend
Copy link
Contributor

I also want to add it working two ways, to update the hash when selecting tag filters and adding search filters.

  • Update hash based on tag filters
  • Update hash based on search filters
  • Filter based on location.hash, and prefill search field
  • Add (projects) to the tool detail page for each author
  • Add link to the author filtered overview page on the About page

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

No branches or pull requests

2 participants