vanadium-archive / browser

Example app: Vanadium namespace browser
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

If users loads the namespace browser from "recent", "bookmarks" or "help" page, we lose their "last visited" namespace #48

Closed aghassemi closed 9 years ago

aghassemi commented 9 years ago

Normally when one comes back to namespace browser, the last namespace they were on is preserved. This behaviour is broken if someone visits recent or bookmarks and then goes to one of the browse views.

afandria commented 9 years ago

I cannot reproduce this. I tried 2 ways.

Can you elaborate on this behavior?

aghassemi commented 9 years ago

You directly to https://browser.staging.v.io/#/bookmarks in a fresh browser tab. Notice the namespace is empty ( < home > ) instead of your last visited namespace.

afandria commented 9 years ago

I see it. In that case, this also affects the Help page.

When going through routes other than routes/index.js and routes/browse.js, state.browse.namespace remains unset.