Skip to content

Conversation

thmsobrmlr
Copy link
Contributor

Problem

We have a couple of reports that the leave page confirmation triggers when saving an insight.

Changes

A condition that is only relevant for data exploration triggers erroneously for non data-exploration users. The condition works as expected with data exploration. This PR adds a feature flag safeguard to the condition.

How did you test this code?

Verified the page leave confirmation doesn't trigger when clicking save (non data-exploration), but still works correctly for data exploration.

@thmsobrmlr thmsobrmlr marked this pull request as ready for review April 26, 2023 07:22
@thmsobrmlr thmsobrmlr enabled auto-merge (squash) April 26, 2023 07:26
@thmsobrmlr thmsobrmlr merged commit cd77cb0 into master Apr 26, 2023
@thmsobrmlr thmsobrmlr deleted the fix-prevent-leave-on-insight-save branch April 26, 2023 07:46
fuziontech added a commit that referenced this pull request Apr 27, 2023
* master: (37 commits)
  fix: fix sprint planning issue template (#15271)
  fix: player skip buttons only ever showed right (#15269)
  chore: bump vm2 due to CVE (#15268)
  fix(person-query): don't query persons twice if we don't need to (#15265)
  fix(ch): stop running delete jobs while clickhouse is on an older version (#15239)
  chore(recordings): use cooperative-sticky rebalance strategy (#15260)
  fix: SESSION_RECORDING_BLOB_PROCESSING_TEAMS config handling (#15247)
  fix(flags): Some UX inconsistencies (#15255)
  fix: Recording share button (#15256)
  chore(deps): Update posthog-js to 1.54.0 (#15257)
  style(3000): Support keyboard navigation in sidebar (#15237)
  feat: Add support for opening bug report via URL (#15251)
  feat: Hedgebar (#14934)
  Fixed undefined default for window select (#15249)
  fix(data-exploration): prevent leave confirmation safeguard (#15250)
  chore: remove readonly setting defaults for hogql (#15246)
  feat(hogql): refactor macros and asterisks into "resolver" (#15175)
  feat(hogql): swap out toDateTime function (#15226)
  fix(insight-timeout-state): centralize query ID (#15240)
  Fix/forgot ingestion fixes (#15238)
  ...
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