Skip to content

ECHO-984 fix(portal): send non-participant URLs to the dashboard - #1361

Merged
ussaama merged 1 commit into
mainfrom
fix/portal-redirect-to-dashboard
Nov 11, 2026
Merged

ussaama merged 1 commit into
mainfrom
fix/portal-redirect-to-dashboard

Conversation

@ussaama

@ussaama ussaama commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

The sign-in cookie is shared across *.dembrane.com, so a dashboard user who opened portal.dembrane.com got a 404 drawn inside the dashboard sidebar, and dashboard paths like /o or /login turned into broken participant links.

  • The portal web server redirects anything that isn't /:lang?/:projectId/... to the dashboard, keeping path and query. Only the path is copied, so //host can't redirect off-site.
  • ErrorPage drops the dashboard layout on the portal; Return home goes to the project's start page, or the dashboard when there is no project.

Replaces #1351, whose client-side loaders ran on the dashboard too and reloaded /, /login, /o and /settings in a loop.

The sign-in cookie is shared across *.dembrane.com, so a dashboard user who
opened portal.dembrane.com got a 404 drawn inside the dashboard sidebar, and
dashboard paths like /o or /login turned into broken participant links.

- The portal web server redirects anything that isn't /:lang?/:projectId/...
  to the dashboard, keeping path and query. Only the path is copied, so
  //host can't redirect off-site.
- ErrorPage drops the dashboard layout on the portal; Return home goes to the
  project's start page, or the dashboard when there is no project.

Replaces #1351, whose client-side loaders ran on the dashboard too and
reloaded /, /login, /o and /settings in a loop.
@linear

linear Bot commented Nov 9, 2026

Copy link
Copy Markdown

ECHO-984

@ussaama
ussaama merged commit 0a02df7 into main Nov 11, 2026
17 checks passed
@ussaama
ussaama deployed to pr-preview November 11, 2026 08:35 — with GitHub Actions Active
@github-actions

Copy link
Copy Markdown
Contributor

Now on staging, deployed 2026-11-11 08:42 UTC.

This branch was successfully deployed

1 active deployment
pr-preview — 20cecedf Deployed Nov 11, 2026 by ussaama via 51-teardown-pr-preview #1198
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant