Skip to content

fix(ENG-10975): send provider as parameter#32

Merged
adefreitas merged 2 commits intoStackOneHQ:mainfrom
adefreitas:ENG-10975/send-provider-as-query-parameter
Nov 12, 2025
Merged

fix(ENG-10975): send provider as parameter#32
adefreitas merged 2 commits intoStackOneHQ:mainfrom
adefreitas:ENG-10975/send-provider-as-query-parameter

Conversation

@adefreitas
Copy link
Copy Markdown
Collaborator

@adefreitas adefreitas commented Nov 12, 2025

Summary by cubic

Send the provider as a query parameter in getHubData instead of a header so the hub connectors API returns the correct provider-specific data. Fixes ENG-10975 by making the dashboard open edit mode with pre-filled values instead of the new link account view.

Written for commit 6c78c0d. Summary will update automatically on new commits.

Copilot AI review requested due to automatic review settings November 12, 2025 17:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR changes how the provider filter is sent to the hub API, switching from a custom header (x-hub-provider) to a query parameter (?provider=...). This aligns with more standard REST API practices.

Key changes:

  • Replaced header-based provider filtering with query parameter approach
  • Removed the comment about adding provider header
  • Modified URL construction to conditionally append the query parameter

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/modules/integration-picker/queries.ts Outdated
@adefreitas adefreitas changed the title [ENG-10975] fix: send provider as parameter fix(ENG-10975): send provider as parameter Nov 12, 2025
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@adefreitas adefreitas merged commit fbbdecb into StackOneHQ:main Nov 12, 2025
2 checks passed
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.

3 participants