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(insight-variables): add deletion in edit modal #28897

Merged
merged 5 commits into from
Feb 20, 2025

Conversation

EDsCODE
Copy link
Member

@EDsCODE EDsCODE commented Feb 18, 2025

Problem

  • can't delete insight variables right now

Changes

  • add deletion button and handling

Uploading CleanShot 2025-02-18 at 15.05.40.gif…

👉 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?

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here: app.greptile.com/review/github.

5 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@EDsCODE EDsCODE requested a review from a team February 18, 2025 22:05
if (variable.id) {
LemonDialog.open({
title: 'Delete variable',
description: 'Are you sure you want to delete this variable? This cannot be undone.',
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to make it obvious that any queries using the variable will error out?

Copy link
Contributor

github-actions bot commented Feb 18, 2025

Size Change: +278 B (0%)

Total Size: 9.7 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 9.7 MB +278 B (0%)

compressed-size-action

@EDsCODE EDsCODE merged commit 71a9b66 into master Feb 20, 2025
98 checks passed
@EDsCODE EDsCODE deleted the insight-variables-delete branch February 20, 2025 18:28
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