Skip to content

Set home page for dev personas - #3974

Open
JohnBlackwell wants to merge 8 commits into
masterfrom
home-page-for-dev-personas
Open

Set home page for dev personas#3974
JohnBlackwell wants to merge 8 commits into
masterfrom
home-page-for-dev-personas

Conversation

@JohnBlackwell

@JohnBlackwell JohnBlackwell commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Test Plan

Test environment: https://console.plrl-dev-aws.onplural.sh/

Checklist

  • I have added a meaningful title and summary to convey the impact of this PR to a user.
  • If required, I have updated the Plural documentation accordingly.
  • I have added tests to cover my changes.
  • I have deployed the agent to a test environment and verified that it works as expected (required only when changing agent code).

Plural Flow: console

@soffi-ai

soffi-ai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Soffi AI Summary

This PR introduces a "Flows" homepage option for users with the Developer persona, redirecting them to the Flows section by default instead of the standard Clusters overview. It also makes the homepage configurable as "Flows" in global settings for all users.

The motivation is to tailor the Console experience for developer-focused personas — rather than landing on the infrastructure/clusters dashboard (more relevant to platform/ops engineers), developers are automatically redirected to Flows, which is more relevant to their workflows. The change threads through all layers of the stack: the Homepage enum is extended with a FLOWS value in the Elixir schema, the Go client model, and the GraphQL SDL; the frontend Home component checks if the logged-in user has a Developer persona role and redirects accordingly; and the Flows option is surfaced in the global settings homepage selector UI.

Commits

Commit Summary
40c71dd Core implementation: extends the Homepage enum with a FLOWS value across the Elixir schema, Go client, and GraphQL SDL. Updates the Home component to detect Developer persona users and redirect them to the Flows path, and adds Flows as a selectable homepage option in global settings.
d7ea22a Minor sidebar tweak — likely an adjustment to the home button visibility or navigation behavior in the sidebar.
5a48d02 Reverts an earlier change to the homepage icon, restoring the original icon.
89c1d17 Reverts an earlier attempt to disable the homepage redirect logic, keeping the redirect in place.
e533511 Merge from master to keep the branch up to date.
09cd23e No-op commit to retrigger CI checks.
1e9fb89 No-op commit to retrigger CI checks.
9f4d097 Trivial change to restart CI checks.

Deploy in Soffi


Updated: 2026-08-06 18:58 UTC

@JohnBlackwell JohnBlackwell added the enhancement New feature or request label Aug 6, 2026
@greptile-apps

greptile-apps Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR adds Flows as a configurable homepage and redirects developer personas to the Flows route.

  • Adds the Flows homepage enum across the GraphQL schema, backend model, and generated clients.
  • Exposes Flows in global homepage settings.
  • Includes persona roles in frontend GraphQL data so developer personas can receive the new default.
  • Updates the Persona controller sample configuration.

Confidence Score: 5/5

The PR appears safe to merge because no blocking failure remains.

No blocking failure remains.

Important Files Changed

Filename Overview
assets/src/components/home/Home.tsx Redirects users configured for Flows, and users with a developer persona, from the root page to the Flows route.
assets/src/components/settings/global/GlobalSettingsGeneral.tsx Adds Flows to the global homepage selector.
assets/src/graph/personas.graphql Adds the persona role to the shared frontend persona fragment used to determine developer personas.
lib/console/schema/user.ex Extends the persisted homepage enum with the Flows option.
schema/schema.graphql Publishes the Flows homepage enum value and persona role through the GraphQL schema.
go/client/models_gen.go Regenerates Go GraphQL models for the new homepage and persona-role schema values.
go/controller/config/samples/deployments_v1alpha1_persona.yaml Updates the developer persona sample to demonstrate the intended navigation configuration.

Reviews (2): Last reviewed commit: "Merge branch 'master' into home-page-for..." | Re-trigger Greptile

Comment thread assets/src/components/layout/Sidebar.tsx Outdated
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

@michaeljguarino michaeljguarino left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need to disable the homepage in the persona here, instead personas should have a way of overriding the homepage enum itself.

@JohnBlackwell

Copy link
Copy Markdown
Contributor Author

@greptile

@JohnBlackwell

Copy link
Copy Markdown
Contributor Author

plural deploy to dev

@JohnBlackwell JohnBlackwell changed the title Set home page for dev personas + make home button hideable Set home page for dev personas Aug 6, 2026
@JohnBlackwell

Copy link
Copy Markdown
Contributor Author

plural deploy to dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants