SEED-platform / seed

Standard Energy Efficiency Data (SEED) Platform™ is a web-based application that helps organizations easily manage data on the energy performance of large groups of buildings.
Other
107 stars 55 forks source link

Bug - Menu org change does not redirect to new org #4575

Open perryr16 opened 6 months ago

perryr16 commented 6 months ago

Issue

If a user changes their org from the menu org selection Image

the url does not update and the user is left looking at the original organization data, not the newly selected organization data.

Suggested action:

If a new org is selected and the url contains an org_id argument, update the argument which should trigger a page reload with the correct data.

RDmitchell commented 6 months ago

Instance: dev1 SHA: 3.0.0-beta.0.d60822140

I am not seeing the fix.

I log in as lbnl, with lots of associated orgs Image

I click on another org Image

I am still on lbnl Image

perryr16 commented 6 months ago

@RDmitchell that may be a different bug.

This ticket refers to when you are on an org setting page, like "Cycles" and you change org via the menu. The cycle page should update with the new data and the url updated with the new org id (/accounts//cycles).

My dev1 access doesn't have multiple orgs, so I can only test on dev2. Below is my testing procedure.

https://github.com/SEED-platform/seed/assets/58446472/8c393605-0250-46f3-8d21-6d8e1ff06a40

RDmitchell commented 5 months ago

Instance: dev1 org: lbnl

@perryr16 -- I can't even change my org to see the cycles for different orgs. So it doesn't seem like I can even test this

I will make a separate issue for that.

RDmitchell commented 5 months ago

the new issue where I can't change orgs from any location in SEED

4618