Logout leaves databrowser blank/stale until manual reload
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- javascript
- Lĩnh vực
- authentication, frontend
Hướng nghiên cứu
Không có tệp hoặc bài kiểm thử cụ thể nào được nêu. Hãy bắt đầu bằng cách xác định các handler login, logout và sessionRestore của authSession, cùng với đường dẫn bootstrap hiện tại của databrowser hoặc đường dẫn render URL-subject trong solid-panes/mashlib; xác minh các chuyển tiếp khi hosting theo kiểu JSS và Pivot mà không yêu cầu tải lại thủ công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- HTML
- Star
- 106
- Fork
- 52
- Merge trung bình
- 6 giờ 50 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của SolidOS/solid-panes
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
SolidOS/solid-panes#653 ·
-
Refactor table to divCó thể đã có người làm @SharonStrats đã nhận 3 ngày trước. Đang mở
SolidOS/solid-panes#765 · 1 bình luận · 1 người được giao ·
-
Feature Audit: Access IconsĐang mởenhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
SolidOS/solid-panes#751 · 1 bình luận ·
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
SolidOS/solid-panes#745 ·
-
Deleting Resources (Special Case) - Pane deletion - type indexesCó thể làm lại được @timea-solid đã nhận 50 ngày trước và không có pull request nào đang mở. Đang mởquestion
SolidOS/solid-panes#740 · 3 bình luận · 2 người được giao ·
Tất cả issue của SolidOS/solid-panes
Issue tương tự
-
install: root SSH tmpfiles.d drop-in is labeled etc_runtime_t instead of etc_tCó thể đã có người làm @andrewdunndev đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
security trivy
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
kubefleet-dev/kubefleet#944 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
security-scan
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Show the mcp-gee-sweet auth hint for a mid-session RefreshError in tools that return error dictsĐang mởenhancement from-review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
khuisman/mcp-gee-sweet#906 ·
Maintainer thường phản hồi trong vòng 1 ngày