-
Notifications
You must be signed in to change notification settings - Fork 2.1k
chore: Endpoints cleanup ✨ #42216
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
chore: Endpoints cleanup ✨ #42216
Conversation
608e6ee to
b82fc34
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
15 files reviewed, 1 comment
|
Size Change: -119 B (0%) Total Size: 3.41 MB ℹ️ View Unchanged
|
| if not saved_query.table: | ||
| return False | ||
|
|
||
| # Check if materialized data is stale |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@orian this 🎀 is for you
| }, | ||
| confirmToggleActive: ({ endpoint }) => { | ||
| const isActivating = !endpoint.is_active | ||
| LemonDialog.open({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i can smell someone shouting at me for putting a dialog here 👀
|
|
||
| const handleEditQuery = (): void => { | ||
| newTab(urls.sqlEditor(hogqlQuery.query)) | ||
| newTab(urls.sqlEditor(hogqlQuery.query, undefined, undefined, undefined, OutputTab.Endpoint, endpoint.name)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is so sexy now - if you want to edit a SQL query behind an Endpoint, this button takes you straight to the Endpoint outputTab with the endpoint name set and the toggle set to 'update existing' 🤤
| }, | ||
| createdAtColumn<EndpointType>() as LemonTableColumn<EndpointType, keyof EndpointType | undefined>, | ||
| createdByColumn<EndpointType>() as LemonTableColumn<EndpointType, keyof EndpointType | undefined>, | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e265b5e to
be07752
Compare
Co-authored-by: sakovic.fx <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
be07752 to
779dee3
Compare


Problem
found my room to be slightly messier than I like it
Changes
How did you test this code?
👉 Stay up-to-date with PostHog coding conventions for a smoother review.
Changelog: (features only) Is this feature complete?
not just yett