Steps to reproduce:
- Go to page https://fedidb.com/servers
- Use the filters
- Click on a server to get it’s overview page
- Then click the browser’s back button
Expectation:
I expect to go back to the page I was just at
What actually happened:
I return to /servers as I if I never selected a filter
Notes:
Had this website been written in htmx it would have worked better out of the box because it forces you to use web standards instead of depending on js for all state.
Nevertheless even with vuejs it is possible to apply url parameters as a search query (as http intended).
I propose that the browser history get overwritten (not pushed) to the search query selected. E.g. /servers/?q=search&sw=mastodon&sort=mau_desc&limit=50&p=1
url queries suggested:
- q: search
- sw: software
- sort: sort type + asc vs desc
- limit: page size only accepts a number and defaults to the higher option 3=10, 99=50 as max
- p: page of selection.
Steps to reproduce:
Expectation:
I expect to go back to the page I was just at
What actually happened:
I return to
/serversas I if I never selected a filterNotes:
Had this website been written in htmx it would have worked better out of the box because it forces you to use web standards instead of depending on js for all state.
Nevertheless even with vuejs it is possible to apply url parameters as a search query (as http intended).
I propose that the browser history get overwritten (not pushed) to the search query selected. E.g.
/servers/?q=search&sw=mastodon&sort=mau_desc&limit=50&p=1url queries suggested: