yeatmanlab / AFQ-Browser

Browser-based visualization tools for AFQ results
BSD 3-Clause "New" or "Revised" License
33 stars 15 forks source link

URL query string #167

Closed jyeatman closed 6 years ago

jyeatman commented 7 years ago

Rather than settings file, save into URL query string

jyeatman commented 7 years ago

Somehow handle prioritizing query string versus settings file. One thing to note is that we need to keep a way to edit the title of the page to have the citation and link in it. Piggy back editing the title on the dat GUI

akeshavan commented 7 years ago

https://github.com/ljharb/qs

jyeatman commented 7 years ago

query string gets populated based on settings in settings.json file

richford commented 7 years ago

@akeshavan I think that the qs.min.js file you committed is from https://github.com/nire0510/qs, which explains the API differences we were seeing yesterday. The one you referenced above (https://github.com/ljharb/qs) has a nice stringify method that makes readable strings when you use the {encode: false} option. We might wind up using both. We can talk more about it at our meeting today.