yaade icon indicating copy to clipboard operation
yaade copied to clipboard

Bug: `proxy-through-server` setting not applying on a fresh page load

Open arcastro opened this issue 1 year ago • 1 comments

Steps:

  • Open incognito mode (to simulate a fresh state with no localstorage,cookies,etc..)
  • Navigate to yaade and sign in

Bug 1

  • I can see my collection, but it initially appears empty.
  • Refreshing the page fixes it and my collection items are populated after the refresh.

Bug 2

  • When I select an item in the collection and click "Send", I see the "Failed to connect to extension" modal, despite the proxy-through-server setting having already been applied to the collection in the past.
  • When I navigate to the "environment" tab on the collection, I can see that the proxy-through-server setting is already applied and I have to make no changes to this setting.
  • However, the simple act of navigating to the Environment tab (without changing any settings on that page) is enough for it to get "fixed" and for the setting to start taking effect.

Please let me know if these are reproduceable.

arcastro avatar Aug 23 '24 06:08 arcastro

Environments are currently only stored in localstorage, and the "default" is to use the extension if no environment is selected. So the behavior is expected. But it might make sense to reconsider this and save the envs chosen in the user profile.

jonrosner avatar Aug 23 '24 11:08 jonrosner