Closed kennedymwavu closed 1 year ago
If you use something other than "page" (e.g. "tab") as your query param name, then I think it should be fine. The "page" query param is used by polished to navigate between sign in page, the app, and the admin panel which are actual separate shiny apps.
@merlinoa Thanks a lot for the clarification! Closing this now.
By default, when using {polished}, the sign-in page has a URI with the query
?page=sign_in
. I decided to add such routing to my app, and I noticed that the app works as expected without{polished}
, with browser navigation (i.e., using the back and forward buttons) working properly. However, after adding{polished}
authentication, using browser navigation causes the entire app to reload first, resulting in the loss of any uploaded data or selections made by the user.Unless I'm missing something, this behavior appears to be a possible bug in
{polished}
.Here is a reprex using
navbarPage
:ui.R
server.R
global.R