Plots2: Retain gallery/list view state when we move from one filter to another in the questions page

Created on 31 Mar 2021  路  5Comments  路  Source: publiclab/plots2

Please describe the desired behavior.
Currently, irrespective of whether we're in the gallery view or in the list view in https://publiclab.org/questions/ if we go to Recently Asked, Recently Commented etc it switches to gallery view. It would be good if the same state is retained when we click on one of the columns i.e if we are in list view in Recently Asked and then go to Recently Commented, list view should be retained there.

Additional context (optional)
ezgif com-video-to-gif

UI-consistency enhancement

Most helpful comment

hi, I agree @Manasa2850 that would be great, thanks for catching this. You can go ahead @TildaDares we would love your help
Thanks you both :tada:

All 5 comments

@Manasa2850 I'd love to work on this.

Hi @TildaDares. You can definitely start working on this once @jywarren or @cesswairimu approves this issue!

hi, I agree @Manasa2850 that would be great, thanks for catching this. You can go ahead @TildaDares we would love your help
Thanks you both :tada:

@cesswairimu Can I use session storage to persist the button's state?

yeah that is okay...i've seen your pull request, I will take a look at it in the evening. Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

first-timers[bot] picture first-timers[bot]  路  3Comments

noi5e picture noi5e  路  3Comments

grvsachdeva picture grvsachdeva  路  3Comments

keshavsethi picture keshavsethi  路  3Comments

milaaraujo picture milaaraujo  路  3Comments