Fenrus icon indicating copy to clipboard operation
Fenrus copied to clipboard

Feature Request - persistent dashboard selection

Open RoryNesbitt opened this issue 2 years ago • 7 comments

If I select a dashboard other than default this will be what I see each time I open fenrus again, until I close my browser. It would be really great if this was persistent each time I opened my browser, so we can have different devices or different browser profiles using the same instance and account but with different selected dashboard

RoryNesbitt avatar Aug 25 '22 14:08 RoryNesbitt

it should be saving the selected dashboard to a cookie and then that is used when loading fenrus. this is certainly working on my instance, as I use a work dashboard on my work computer and a default one on my personal computer.

revenz avatar Aug 25 '22 21:08 revenz

that's interesting, mine only lasts as long as the browser session lasts. Maybe I've got a broken setting somewhere

RoryNesbitt avatar Aug 26 '22 08:08 RoryNesbitt

Look at the network requests, look to see if the cookie is being sent/saved. maybe you have a addon/service that disables cookies?

revenz avatar Aug 26 '22 08:08 revenz

There is indeed cookies being requested, I assume the one named dashbaord is for Fenrus? it seems to change when I change the selected dashboard
~There is also one for jwt, I'm not sure what it's for, and two for organizr even though I'm not loading that~ These seem to be for links connecting to app apis

RoryNesbitt avatar Aug 26 '22 09:08 RoryNesbitt

What seems to be happening is the cookie is only requested if I select a dashboard that session. if I haven't selected one (i.e. I first open the browser) the dashboard cookie isn't requested and therefore I'm getting default

RoryNesbitt avatar Aug 26 '22 09:08 RoryNesbitt

The entire reason to use a cookie is so it's persistent and sent with every request.
Try a different browser. curious if it's a browser issue or a machine. Also, do you have a different machine you could try?

revenz avatar Aug 26 '22 09:08 revenz

tried with firefox and vivaldi on two different machines (both are running endeavour with i3, but I made a point to ask the browser to close nicely instead of using the close window keybinding). both machines with both browsers have this exact issue

on the other side the traffic is going via cloudflare with caching, to traefik, to fenrus (a setup that has never caused me issues before) and I never get signed out so cookies in general do work, just the dashboard one

RoryNesbitt avatar Aug 26 '22 09:08 RoryNesbitt

closing as unable to reproduce this

revenz avatar Dec 02 '22 21:12 revenz