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

fix: property labels need to be known about in the backend but are defined in the front end #27328

Merged
merged 27 commits into from
Jan 9, 2025

Conversation

pauldambra
Copy link
Member

@pauldambra pauldambra commented Jan 7, 2025

property definition searching depends on a list of aliases being available in the API code
that needs to be manually updated - and we're not updating it so the search breaks

the taxonomy is already duplicated into the ee hogai folder
let's move that into posthog (since it's already not EE licensed in the frontend) and use that in the search

we should collapse the duplication in the front end but we can do that in the future since this is already one step better

before after
Screenshot 2025-01-08 at 17 56 00 Screenshot 2025-01-08 at 17 53 15

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

91 snapshot changes in total. 0 added, 91 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

Copy link
Contributor

github-actions bot commented Jan 7, 2025

Size Change: 0 B

Total Size: 1.11 MB

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

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

87 snapshot changes in total. 0 added, 87 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@pauldambra pauldambra marked this pull request as draft January 7, 2025 23:51
@thmsobrmlr
Copy link
Contributor

Fixes #26923

@pauldambra pauldambra requested a review from a team January 8, 2025 17:56
@pauldambra
Copy link
Member Author

tagging @PostHog/team-ai-product-manager since this moves some of their code.

i'm not trying to collapse the duplication here, but will follow-up by dumping the dictionaries into the POSTHOG_APP_CONTEXT on window

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 2)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@pauldambra pauldambra requested a review from oliverb123 January 8, 2025 18:21
@pauldambra pauldambra marked this pull request as ready for review January 8, 2025 18:27
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

6 snapshot changes in total. 0 added, 6 modified, 0 deleted:

  • chromium: 0 added, 6 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

Copy link
Member

@Twixes Twixes left a comment

Choose a reason for hiding this comment

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

Just one line seems unexpected

posthog/utils.py Outdated Show resolved Hide resolved
@pauldambra pauldambra requested a review from Twixes January 9, 2025 15:21
Copy link
Member

@Twixes Twixes left a comment

Choose a reason for hiding this comment

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

Awesome

@pauldambra pauldambra merged commit 022d623 into master Jan 9, 2025
99 checks passed
@pauldambra pauldambra deleted the fix/prop-label-map branch January 9, 2025 16:57
fuziontech added a commit that referenced this pull request Jan 10, 2025
* master: (659 commits)
  fix: more tz/date fiddling to get this property thing working (#27423)
  fix(hogql): support virtual tables with lazy tables (#27404)
  fix: Removing target options for survey resets its value to remove validation error (#27139)
  chore: Use `actions/{download,upload}-artifact@v4` (#27413)
  feat(clickhouse): when HTTP pass ca_cert and verify  to pool manager (#27399)
  fix: typo in dashboard template configuration (#27417)
  fix(experiments): Force refresh when `start_date` is provided (#27396)
  feat(data-warehouse): Reset the pipeline source files when resync is selected on the frontend (#27402)
  chore(data-warehouse): Added SSL error as a non retryable error (#27395)
  chore(data-warehouse): Upgrade deltalake package (#27393)
  chore(data-warehouse): Kill the delta subprocess if need be (#27392)
  feat: Add P75 quantile (#27409)
  fix: property labels need to be known about in the backend but are defined in the front end (#27328)
  fix(editor-3001): show header on mobile for editor (#27373)
  chore: Enable web vitals capture (#27394)
  feat: Add human friendly comparison periods toggle (#27176)
  feat: promote data warehouse from taxonomic filter component (#27364)
  chore(experiments): Improve result state resetting (#27391)
  fix: Track records completed in heartbeat (#26686)
  fix(data-warehouse): Handle NaN values from SQL sources (#27360)
  ...
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.

5 participants