Loading failures negatively impact UX
@SharonStrats đang làm issue này rồi.
Từ ngày 23/9/2026.
Đá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
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
- Lĩnh vực
- authentication, frontend
Hướng nghiên cứu
Bắt đầu tại src/mainPage/index.ts, xung quanh phần xử lý GotoSubject cho login, logout và root của app, sau đó kiểm tra src/outline/manager.js quanh dòng 2109 để xem cách hiển thị lỗi tải tài nguyên. Xem lại PR 575 được tham chiếu và tái hiện ba trường hợp 401/403 đã báo cáo. Được coi là hoàn tất khi các luồng điều hướng và tải tệp liên quan không còn hiển thị lỗi đột ngột mà thay vào đó hiển thị trải nghiệm đã xác thực hoặc đã đăng xuất như dự kiến.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When navigating around my pod, logging out, logging in, viewing things I have in my storage I receive an abrupt message about my resource failing to load. There are different cases when this happens.
Cases where 401/403 Issues arise
- Logging Out -
error: Failed to load https://www.solidcommunity.net/ Fetcher: https://www.solidcommunity.net/ status: 401
should happen: I would not like to see this error, instead it could say something (not in red), you are logged out. Or it could just show the menu. - Logging in - right away when I log in I get an error
error: Failed to load https://www.solidcommunity.net/ Fetcher: https://www.solidcommunity.net/ status: 403
should happen: I should not get an error, maybe it should navigate to the home screen when this happens, although what if you log in while you are looking at another resource you would want to redirect. So logging in from the "home" should be detected somehow and accordingly you should be displayed something specific. - From storage I click on the link icon next to the file name, takes me to the file (I'm logged in already). I receive 2 errors
errors: Error reading file: Error: Web error: 401 on GET of https://sstratsianis.solidcommunity.net/formtest.ttl and below it Failed to load https://sstratsianis.solidcommunity.net/formtest.ttl Fetcher: https://sstratsianis.solidcommunity.net/formtest.ttl status: 401
when I go through the link below I don't have the same problem, it goes directly to the resource with no failed to load errors. I believe this is the "about" pane. need to find it in solid-panes.
Technical details
- Logout We could redirect to a known public page before reload, or skip GotoSubject when URL is app root and unauthenticated. here is the spot
- Login Same spot as above. We could at bare root, open the user profile or perhaps storage when logged in, and otherwise skip root fetch.
- File Loading Errors After research I believe the only way to solve this is storing cookies or looking through all the links and passing authSession in (need to look at this again and why it's not a good option for production). We can't store auth in cookies because it's not safe. But, we could change the message to be more directed to user. To change the error message style we can do that here
Changes we could make are shown in this PR here
- Ngôn ngữ chính
- JavaScript
- Star
- 146
- Fork
- 21
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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/solidos
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Redirect pages after logoutCó thể đã có người làm @timea-solid đã nhận 18 ngày trước. Đang mởenhancement question
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Profile editing - delete button contrastCó thể đã có người làm @SharonStrats đã nhận 17 ngày trước. Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
Tất cả issue của SolidOS/solidos
Issue tương tự
-
[dsh-plugin.org | dsh-plugin-hub] plugin distribution incomplete: yjh051108/dsh-routing-suiteĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 71/100
yjh051108/dsh-routing-suite#227 ·
-
needs-triage release-watch
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
dusk-network/exu#17 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
jspreadsheet/ce#1809 ·
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
githubnext/gh-aw-workshop#4458 ·
Maintainer thường phản hồi trong vòng 1 ngày