Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Loading failures negatively impact UX

オープン
#263 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

@SharonStrats がすでに取り組んでいます。

2026年9月23日 から。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript

調査の方向性

src/mainPage/index.ts の login、logout、アプリのルートに対する GotoSubject の処理付近から始め、次に src/outline/manager.js の 2109 行付近でリソース読み込みエラーの表示を調べます。参照されている PR 575 を確認し、報告された 3 つの 401/403 ケースを再現します。完了の条件は、該当するナビゲーションおよびファイル読み込みフローで突然エラーが表示されず、意図された認証済みまたはログアウト済みのエクスペリエンスが表示されることです。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
JavaScript
スター
146
フォーク
21
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SolidOS/solidos のほかの issue

SolidOS/solidos の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。