Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Loading failures negatively impact UX

Đang mở
#263 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

@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ả

enhancement

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
  1. 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.
  2. 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.
  3. 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.
Image

Technical details
  1. 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
  2. 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.
  3. 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

Mở trong Codespaces

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.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của SolidOS/solidos

Tất cả issue của SolidOS/solidos

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.