Skip to content

feat(ui): redirect to connections view after successful provider login#373

Merged
manojbajaj95 merged 5 commits into
mainfrom
feature/post-login-redirect-to-connections
Jun 2, 2026
Merged

feat(ui): redirect to connections view after successful provider login#373
manojbajaj95 merged 5 commits into
mainfrom
feature/post-login-redirect-to-connections

Conversation

@manojbajaj95
Copy link
Copy Markdown
Collaborator

Summary

  • After completing a provider OAuth flow, the return_url now points to /?view=connections&provider=<name> instead of /
  • On page load, the dashboard reads ?view and ?provider query params to activate the connections view and pre-populate the search filter with the provider name
  • Users land directly on the Connections page scoped to their newly connected provider, confirming the connection succeeded

Test plan

  • Start the dashboard and trigger a GitHub (or any provider) OAuth login
  • Complete the OAuth flow — verify you land on the Connections view with the provider search pre-filled
  • Verify the connection row is visible and shows "Connected" status
  • Verify navigating to / directly (no query params) still shows the Dashboard view as before
  • Verify named-connection dialog also redirects to the connections view after login

Closes #355

🤖 Generated with Claude Code

manojbajaj95 and others added 5 commits June 2, 2026 16:42
After OAuth completes, the return_url now points to
/?view=connections&provider=<name> instead of /. On load, the dashboard
reads those query params to activate the connections view and pre-populate
the search filter with the provider name, landing the user on a page that
confirms their new connection.

Fixes #355

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Replace monolithic test.yml with python-lint, python-test, and ui-lint
  workflows, each with path-based conditional triggers
- Remove publish-rc.yml (RC deploy workflow)
- Remove .claude/commands/run-evals.md
- Fix stale actions/checkout@v6 references (non-existent version)
- Update README: remove local-first framing, provider counts, Telemetry
  and Security sections, consolidate Docs links into Links section

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Calling setActiveView/setConnectionFilter inside useEffect body triggered
the react-hooks/set-state-in-effect lint error. Initialise both states
directly from URL params via lazy useState initialisers so no effect is
needed, and remove the now-unused useEffect import.

Also scope Docker build to version tags only (release-please triggers),
and restrict Python Tests to push/PR against main.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@manojbajaj95 manojbajaj95 merged commit 19bdf05 into main Jun 2, 2026
5 checks passed
@manojbajaj95 manojbajaj95 deleted the feature/post-login-redirect-to-connections branch June 2, 2026 11:37
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.

Redirect to connection page after successful login

1 participant