We will use GWT activities and places to make search filter statuses bookmarkable.
This will be accomplished by storing search parameters in the history token as described below.
Firstly, at the top of the search filter on the SnipSearch page add a link icon like the one on google maps:
When a user clicks on the link icon a popup will appear with the formatted link for his current search parameters. The user can copy paste the link to his address box and that shall directly restore the search parameters and do the search showing the relavant list. This link is bookmarkable.
Copy pasted:
This details the way we will store information on our history tokens:
Double dots ”:” is our main separator, parameters are separated by it.
Equals “=” is between an attribute and it’s value
Plus sign: “+” is a blank space placeholder. When an attribute has a string value which contains blank spaces we replace it with + when we tokenize it.
Example link to a search with author name Alex Dob, a start date and 5 positive references
Be careful since the link builder will have to build a different link depending on the environment, on your local machine you have "localhost" and not www.therdl.com.
We will use GWT activities and places to make search filter statuses bookmarkable.
This will be accomplished by storing search parameters in the history token as described below.
Firstly, at the top of the search filter on the SnipSearch page add a link icon like the one on google maps:
When a user clicks on the link icon a popup will appear with the formatted link for his current search parameters. The user can copy paste the link to his address box and that shall directly restore the search parameters and do the search showing the relavant list. This link is bookmarkable.
Functional analysis has been updated with how to build search status tokens: https://docs.google.com/document/d/1eMJvAE0q7a0Wx-3C0aze47i_-i-QzczhcMlznmybOgA/edit?usp=sharing
Copy pasted: This details the way we will store information on our history tokens:
Double dots ”:” is our main separator, parameters are separated by it. Equals “=” is between an attribute and it’s value Plus sign: “+” is a blank space placeholder. When an attribute has a string value which contains blank spaces we replace it with + when we tokenize it.
Example link to a search with author name Alex Dob, a start date and 5 positive references
www.therdl.com/#ideas:author=Alex+Dob:startDate=120095306:positiveRef=5
Be careful since the link builder will have to build a different link depending on the environment, on your local machine you have "localhost" and not www.therdl.com.