Make the active organization part of the URL (switching organization in one tab switches all tabs)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- nextjs, typescript
- Área
- authentication, full-stack
Línea de trabajo
Start by tracing how the dashboard resolves the active organization from the session and how project or service routes handle a resource belonging to another organization. The issue does not name files or tests, so first locate those entry points and check existing route and membership behavior. Done means organization-specific URLs keep tabs and shared links in the intended organization; the smaller proposed step would show or switch to a member organization instead of redirecting home.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What problem will this feature address?
The active organization is stored per browser session, not in the URL. So you can't work in two organizations at the same time in different tabs or windows: switching the organization in one tab switches it in every tab.
Concretely, when I have a service of organization A open in one tab and switch to organization B in another tab, the first tab's next navigation (or reload) of a link like /dashboard/project/<projectId>/environment/<envId>/services/compose/<serviceId> silently redirects to /dashboard/home, because that project belongs to A and the session now points to B. Links to services can't be shared or bookmarked reliably for the same reason: whether they open depends on which organization happens to be active.
This hurts most when several people or tools share one browser session, e.g. a developer and browser automation working on projects in different organizations at the same time – they keep switching the organization under each other.
Describe the solution you'd like
Make the organization part of the URL, e.g. /dashboard/<orgId-or-slug>/project/..., and resolve the active organization from the URL instead of the session (the session value can stay as the default for /dashboard/home). Then each tab works in its own organization and links always open the right one.
A smaller step that would already help: when a URL points to a project/service in another organization the user is a member of, switch to (or show) that organization instead of redirecting to /dashboard/home.
Describe alternatives you've considered
- Separate browser profiles or private windows per organization (separate sessions) – works, but you have to log in for each, and links opened from other apps land in the wrong profile.
- Switching the organization back and forth by hand before each action – error-prone, and it breaks whatever is open in other tabs.
Additional context
Seen on Dokploy v0.31.0 (self-hosted).
Will you send a PR to implement it?
No
- Lenguaje dominante
- TypeScript
- Estrellas
- 38.8k
- Forks
- 3.2k
- Merge medio
- 1 d 10 h
- PR fusionados (30 d)
- 110
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Dokploy/dokploy
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Dokploy/dokploy#6151 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Healthy Swarm task shows an empty `(Error:)` suffix on the last row of the Containers tabPosiblemente ocupada @AyhamJo7 la tomó hace 4 días. Abiertoneeds-triage🔍
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Dokploy/dokploy#6115 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Global search (Cmd/Ctrl+J) never sorts results by relevancePosiblemente ocupada @hamidzr la tomó hace 6 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Dokploy/dokploy#6107 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
`utils/dns/ovh.ts`: the zone-listing 403 handler replaces the provider's error instead of chaining itPosiblemente ocupada @SyncWithRaj la tomó hace 8 días. Abiertobug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
Dokploy/dokploy#6075 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
MongoDB with Replica Sets enabled: container exits with code 0 and restarts in a loop (generated startup script never waits on mongod)Posiblemente ocupada @ghazy2001 la tomó hace 10 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Dokploy/dokploy#6051 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de Dokploy/dokploy
Issues similares
-
[Bug]: RUN_STARTED resets the run's tool-call tally even when a subscriber suppresses the eventAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
ag-ui-protocol/ag-ui#3504 ·
Los mantenedores suelen responder en 1 día
-
area/profiles area/sessions comp/desktop desktop/chat desktop/sessions P2 type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
NousResearch/hermes-agent#161712 ·
Los mantenedores suelen responder en 1 día
-
bug p3
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
rothgar/rabble.radio#283 ·
Los mantenedores suelen responder en 1 día
-
bug from-app needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
nightly-labs/openbot#19805 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
OHDSI/Data2Evidence#3760 ·
Los mantenedores suelen responder en 3 días