makeplane / makeplane/plane

/god-mode without trailing slash renders a blank/loading page

Open
#9,068 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
59.6k
Forks
5.8k
Avg merge
1d 22h
Merged PRs (30d)
49

Description

Summary

On a self-hosted Plane Community instance, opening /god-mode without the trailing slash returns the SPA shell but React Router does not render the route. The page appears stuck on the initial loading/spinner state.

Opening /god-mode/ works correctly.

Environment
  • Plane Community Edition
  • Version: v1.3.0
  • Image: makeplane/plane-aio-community:stable
  • Deployment: self-hosted AIO, Railway template
  • Browser: Chrome
Steps to reproduce
  1. Deploy a self-hosted Plane AIO instance.

  2. Open the admin setup route without a trailing slash:

    https://<host>/god-mode

  3. Observe that the page does not render the setup/sign-in UI.

  4. Open the same route with the trailing slash:

    https://<host>/god-mode/

  5. The setup/sign-in UI renders correctly.

Actual behavior

/god-mode returns HTTP 200 and loads the SPA shell, but the frontend does not render content. Chrome console shows:

<Router basename="/god-mode/"> is not able to match the URL "/god-mode" because it does not start with the basename, so the <Router> won't render anything.
Expected behavior

/god-mode should either redirect to /god-mode/, or the app/router should normalize the route so both URLs render the same admin setup/sign-in page.

Notes

The backend was healthy during reproduction: /api/instances/ returned 200. The issue is specific to the trailing slash mismatch on the god-mode route.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the frontend router configuration for the /god-mode route and its /god-mode/ basename, then reproduce both URLs in a self-hosted instance. Done means /god-mode either redirects to /god-mode/ or both URLs render the same setup/sign-in UI without the Router basename warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.