Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(data-warehouse): edit SQL based import configs #25685

Merged
merged 7 commits into from
Oct 18, 2024
Merged

Conversation

EDsCODE
Copy link
Member

@EDsCODE EDsCODE commented Oct 18, 2024

Problem

  • can't edit connection details right now

Changes

  • add UI to edit config
Screenshot 2024-10-18 at 9 45 35 AM

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Does this work well for both Cloud and self-hosted?

How did you test this code?

@EDsCODE EDsCODE requested a review from a team October 18, 2024 13:45
Comment on lines +32 to +41
if (source?.source_type !== 'MSSQL' && source?.source_type !== 'MySQL' && source?.source_type !== 'Postgres') {
return (
<LemonBanner type="warning" className="mt-2">
<p>
Only Postgres, MSSQL, and MySQL are configurable. Please delete and recreate your source if you need
to connect to a new source of the same type.
</p>
</LemonBanner>
)
}
Copy link
Member

Choose a reason for hiding this comment

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

Is this because there's not a 1:1 match between the field names and job inputs for the other sources right now?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah :/

Copy link
Contributor

Size Change: 0 B

Total Size: 1.14 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.14 MB

compressed-size-action

@EDsCODE EDsCODE merged commit dbfefae into master Oct 18, 2024
94 checks passed
@EDsCODE EDsCODE deleted the dw-edit-source branch October 18, 2024 18:22
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.

2 participants