apache / incubator-answer

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

Home Page:https://answer.apache.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UI (without the backend) goes to the landing page.

prithvidasgupta opened this issue · comments

Describe the bug

The UI starts displaying the QA list home page when the backend is not available. It should ideally display a global error page instead of the empty QA page (so as not to confuse users).

To Reproduce

Start the UI server without the backend

Steps to reproduce the behavior:

  1. Run make ui
  2. Only run pnpm start. Do not start backend Go service.
  3. Open the UI link in browser

Expected behavior

A global error page should be made visible. This would prevent users from:

  • Thinking the website is up and keeping reloading the site when the backend is down.
  • Making the users aware that the site is down (quick to failure).

NVM my bad