Feature: allow setting a Dashboard as the default landing page (post-login home) #20842
richroberts-prog
started this conversation in
Ideas
Replies: 2 comments
|
+1 — would love to see this. We run a small self-hosted Twenty workspace for our business, and this would be genuinely useful. Bookmarking the dashboard URL works as a workaround, but a proper default landing page would make a real difference in daily use. |
0 replies
|
@richroberts-prog you can have a specific dashboard visible after logging in if you set it first in navigation menu |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
Twenty currently has no way to set a Dashboard as the post-login landing page. The default routing logic in
useDefaultHomePagePath.tsonly considers object table views:lastVisitedObjectMetadataItemId(client-side Jotai state) → that object's tableDashboards are not considered, even though Twenty's Dashboard primitive (with multi-tab support + RECORD_TABLE / chart widgets) is exactly the surface most CRM users want as their home.
Use case (concrete)
We're a self-hosted Twenty workspace running EOS (Entrepreneurial Operating System). Our Today dashboard contains four tabs:
This is the workspace member's daily homepage. We want it to be where users land after sign-in or when explicitly navigating "home". Today users have to either bookmark the dashboard URL or click through Favorites.
Why this fits Twenty's architecture
Proposed shape
1. Add a recognised key to `WorkspaceMember.settings`:
```ts
type WorkspaceMemberSettings = {
// ... existing keys (locale, timeZone, colorScheme, ...)
homePageDashboardId?: string; // UUID of a Dashboard the user owns or can read
};
```
2. Update `useDefaultHomePagePath.ts`: before the existing `lastVisitedObjectMetadataItemId` branch, check whether `currentWorkspaceMember.settings.homePageDashboardId` is set and the dashboard is still readable. If yes → return `/object/dashboard/`.
3. Surface it in Settings UI: add a "Home page" field under Settings → Profile that lets a user pick any Dashboard they have access to (or revert to "Last visited object").
Acceptance criteria
Workarounds we're using meanwhile
Both work, but neither is the home page in any meaningful sense.
Related
Happy to open a PR if the team confirms this shape is acceptable.
All reactions