Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UST-222] [Frontend] Enter the homepage immediately after signing up #561

Open
Xiawpohr opened this issue Oct 25, 2024 · 0 comments · May be fixed by #576
Open

[UST-222] [Frontend] Enter the homepage immediately after signing up #561

Xiawpohr opened this issue Oct 25, 2024 · 0 comments · May be fixed by #576
Assignees
Labels
feature new feature frontend open to all the issues that is open to all contributors

Comments

@Xiawpohr
Copy link
Collaborator

Xiawpohr commented Oct 25, 2024

Is your feature request related to a problem? Please describe.
Currently, it shows nothing for a while after users are signing up. Users should be able to see the homepage instead of empty screen.

Describe the solution you'd like

推測造成白屏的原因是因為這行,ProtectedRoute 會檢查使用者是否有登入 ,當使用者還沒完成登入時,就不會顯示任何畫面(白屏)。至於登入會花這麼久的原因在於 Syncronizer 需要先完成同步,才算登入完成,之後才可以產生正確的 Proof。

當使用者正在登入時,應該要直接進入 app,但是所有動作要等登入完成後,才可以按。

應當把是否登入的檢查從 ProtectedRoute 移除,並在每個動作(如:發文、留言、檢舉、按讚、倒讚)前,加入“是否登入”的檢查。


Story point: 3
Reporter: @Xiawpohr

@github-actions github-actions bot added the feature new feature label Oct 25, 2024
@Xiawpohr Xiawpohr added the open to all the issues that is open to all contributors label Oct 25, 2024
@Xiawpohr Xiawpohr changed the title [UST-222] Enter the homepage immediately after signing up [UST-222] [Frontend] Enter the homepage immediately after signing up Oct 26, 2024
@badukwei badukwei self-assigned this Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new feature frontend open to all the issues that is open to all contributors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants