Logout leaves databrowser blank/stale until manual reload
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- javascript
- Área
- authentication, frontend
Línea de trabajo
No se especifican archivos ni pruebas concretos. Empieza localizando los handlers de login, logout y sessionRestore de authSession y la ruta actual de bootstrap de databrowser o de renderizado de URL-subject en solid-panes/mashlib; verifica las transiciones en un hosting de estilo JSS y Pivot sin requerir una recarga manual.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
After logout, the databrowser UI can end up blank or stale and does not reliably recover until a manual browser reload. This appears to be a client lifecycle issue in the current solid-panes/mashlib integration, not a server-specific auth failure.
Expected behavior
On logout (and similarly login / sessionRestore), the client should consistently re-render from current URL state without requiring a manual reload.
Actual behavior
Header/auth state updates, but the main databrowser view is not always reinitialized/rerendered. In practice, users sometimes need F5 to get the normal outline/dashboard view back.
Environment / observed on
- mashlib: 2.2.0
- Server tested: JavaScriptSolidServer (JSS) with mashlib CDN mode
- Also compared with Pivot server behavior (different hosting model, static assets), which may mask this by effectively reloading/reinitializing in its flow.
Why this seems client-side
Current flows react to auth events (header/dashboard updates), but there is no guaranteed “auth transition -> rerender current subject” path equivalent to a full databrowser bootstrap.
Symptoms suggest:
- logout triggers partial UI updates (header/menu/dashboard close),
- but not a deterministic re-render/init of main subject view.
Proposal
Create a single auth-transition handler in client code (solid-panes/mashlib) used for:
authSession.events.on('login', ...)authSession.events.on('logout', ...)authSession.events.on('sessionRestore', ...)
Handler should:
await authn.checkUser()- reset/close transient UI state (dashboard/menu if needed)
- re-render current URL subject (or re-run equivalent of initial databrowser render path)
- avoid requiring page reload
Acceptance criteria
- Logout does not require manual browser reload to restore a usable databrowser view.
- Login/sessionRestore behave consistently with logout transition handling.
- Works across hosting styles:
- static databrowser asset hosting (e.g., Pivot)
- server-generated databrowser HTML wrappers (e.g., JSS)
Notes
As a temporary server-side mitigation, forcing location.reload() on logout works, but this should not be the long-term fix. The robust fix should live in the client lifecycle so behavior is server-agnostic.
- Lenguaje dominante
- JavaScript
- Estrellas
- 106
- Forks
- 52
- Merge medio
- 13 h 35 min
- PR fusionados (30 d)
- 10
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de SolidOS/solid-panes
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
SolidOS/solid-panes#653 ·
-
Editing profile in storage Abiertobug
SolidOS/solid-panes#758 · 4 comentarios · 1 asignado ·
-
bug
SolidOS/solid-panes#761 · 1 asignado ·
-
bug
SolidOS/solid-panes#752 · 1 asignado ·
-
Feature Audit: Access Icons Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
SolidOS/solid-panes#751 · 1 comentario ·
Todos los issues de SolidOS/solid-panes
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
mksglu/context-mode#1200 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
neondatabase/website#5944 ·
-
module: core
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
bigbluebutton/bigbluebutton#25849 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
jaegertracing/jaeger-ui#4506 ·