-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: show correct badge count on notebook button #17735
Merged
Merged
Changes from all commits
Commits
Show all changes
211 commits
Select commit
Hold shift + click to select a range
96338f8
fix: show correct badge count on notebook button
daibhin 6cb7817
update tests
daibhin f95d65a
remove final insight reference
daibhin bb08774
Merge branch 'master' into dn-fix/insight-notebook-badge
daibhin 3076189
cleanup button styling
daibhin 18564d5
Update UI snapshots for `chromium` (2)
github-actions[bot] ada936a
feat(web-analytics): Fix top pages sql and add some extra insights (#…
robbie-c e4cb8f9
fix: remove content width toggle from popover (#17775)
daibhin 320786b
fix(batch-exports): Include properties in feature_enabled call (#17860)
tomasfarias 07b4447
chore: set Sentry release using commit.txt (#17855)
bretthoerner 06ba7e3
chore: Remove promise manager usage from ingestion warnings & db (#17…
tiina303 aed7ff6
fixes "CSV export is limited to 10000 events" menu is hidden behind e…
ahsan722505 3f9cdf9
feat: onboarding, remove product intro, fix navigation (#17858)
raquelmsmith b33cd39
feat: sidebar widgets (#17859)
daibhin 2631f29
chore(plugin-server): kafka: change analytics linger.ms and batch.siz…
bretthoerner 98f0b9f
feat(surveys): optional questions for multipleq (#17830)
liyiy d04774b
chore(deps): Update posthog-js to 1.83.0 (#17871)
posthog-bot 874b2da
feat(surveys): Add question html support (#17847)
neilkakkar 1a0e5b6
test: Increase playwright timeouts (#17872)
robbie-c 04704d6
fix(celery): celery compatibility with importlib (#17874)
thmsobrmlr 7bfd2d3
fix(insights): do not remove empty series from converted queries (#17…
thmsobrmlr b9a25a2
feat: Person node changes (#17880)
benjackwhite 099aa84
chore: Remove runner abstraction from onEvent (#17683)
tiina303 ad72cb5
fix: update slack description (#17884)
MarconLP 2537bd3
feat: Reworked Playlist UI with Notebook support (#17802)
benjackwhite 3c88ef0
feat: clarify experiments usage in FFs onboarding (#17870)
raquelmsmith 5c0c1a6
chore(plugin-server): run node-rdkafka with cooperative rebalancing p…
bretthoerner 236ccc1
fix(insights): loading in saved insights card view (#17875)
mariusandra 10f6a83
chore(invites): Clarify expiration message (#17862)
Twixes dcfd9c3
fix: disable link button until full href (#17889)
daibhin 5100791
fix: remove gap cursor (#17888)
daibhin 82d2e81
chore(plugin-server): trigger ingestion deploy (#17900)
bretthoerner fa2a7eb
feat: Set keepalive to 60 on gunicorn (#17897)
frankh 2b6e72c
feat: Easier selecting of next line after node (#17883)
benjackwhite a0c8229
chore: launch celery by module in pycharm (#17901)
pauldambra 198011a
perf: Reworked types and rendering to try and reduce needless renders…
benjackwhite 1da9e8b
chore: remove title expand toggle (#17887)
daibhin d327937
feat(surveys): add Rating question results viz (#17886)
jurajmajerik 2f82349
feat(3000): Added link specific styles (#17867)
benjackwhite 69446ff
fix: Notebook colors and start position (#17907)
benjackwhite 7483622
fix: Insight tooltip overscrolling issue (#17906)
benjackwhite de45d21
fix(dev): do not sync the cloud announcement flag (#17911)
thmsobrmlr ef90e1d
chore(decide): Add missing span instrumentation (#17910)
neilkakkar f5ed7e8
chore: skip flaky test in session-recordings-consumer-v2.test.ts (#17…
tiina303 5172cf2
chore: Update install script (#17851)
benjackwhite aa2c838
fix(types): fix value inspector button warning (#17876)
thmsobrmlr dbb09fd
chore(dev): Allow generating demo data for existing projects (#17913)
Twixes abb5b59
fix(autocapture): add taxonomic filter key as data-attr (#17899)
thmsobrmlr d8b7c32
fix: account for negative timestamps from rrweb (#17849)
daibhin 06cb45b
chore: yeet CH recordings ingestion (#17572)
pauldambra 45841c1
feat: Add env var to skip migration checks (#17915)
frankh 8ca7080
feat(hogql): events query runner (#17892)
mariusandra 868d7b0
chore(plugin-server): use existing INGESTION_BATCH_SIZE and KAFKA_CON…
bretthoerner 006b86e
chore: Remove stale feature flags (#17925)
neilkakkar c7cfb6d
fix: Editor initial content (#17912)
benjackwhite b2bb86d
feat: persons & events settings in notebooks (#17866)
daibhin b16d481
chore: Remove org-wide retro from sprint planning (#17928)
timgl 733b17d
fix: throw error so test failures are not swallowed (#17926)
pauldambra fc27f3b
fix: Additional parsing of incoming messages (#17937)
benjackwhite 66c7e1a
chore: Remove v2 suffix for replay consumer (#17938)
benjackwhite a7243f2
fix: Notebook select matching (#17916)
daibhin 6d2339a
feat(css): Add tailwind size breakpoints (#17918)
robbie-c 766b248
feat: Respect resize of DataTable in Notebook (#17929)
benjackwhite a4e3443
feat(hogql): query debugger (#17939)
mariusandra ab99298
chore(plugins-server): remove eachBatchLegacyIngestion (#17894)
xvello c5ed2a4
fix: Check for the event generally being truthy (#17942)
benjackwhite d112f26
feat: Added notebooks to sidebar (#17919)
benjackwhite dd7fa40
fix(hogql): quick fix for events query index (#17941)
mariusandra 80b2ec6
chore: twiddle with logging (#17944)
pauldambra 7e054c9
fix: e2e testing posthog capture (#17940)
pauldambra 31727bc
feat(surveys): Single Choice question results (#17923)
jurajmajerik 35ce77f
chore: update wait-on-action (#17945)
pauldambra 1daaf21
chore(plugin-server): add labels to merge txn metrics (#17934)
bretthoerner 91db93c
feat: Add django command for geoip (#17947)
robbie-c cc1f1cc
fix: early access management cancel button (#17857)
kiran-4444 855e11d
feat: Allow pausing whilst buffering (#17951)
benjackwhite 8d00bf1
fix: Performance issue with player logs (#17948)
benjackwhite 96a486a
fix(flags): Fix spinner on new feature flag (#17953)
neilkakkar 45fc509
feat: Added lazy joins for groups on events (#17950)
Gilbert09 ed5f9cf
feat: Notebook feedback changes (#17952)
benjackwhite c283d09
fix(insights): Move GF, GP and YT to top level on the world map (#17949)
daibhin 53c9916
feat(web-analytics): Add web analytics filters - Part 2 (#17878)
robbie-c 299b4d8
chore: deflake a test (#17956)
pauldambra 5fd89fb
feat: Added not found helper for notebooks (#17957)
benjackwhite 6d86ae8
fix: margin finness & insertion suggestion height (#17955)
daibhin 3fdb045
fix(design): remove background from action filter (#17964)
thmsobrmlr 3954715
feat(hogql): query modifiers (#17946)
mariusandra 7d07ab8
fix: ensure we dont overwrite events fields with group mappings (#17965)
Gilbert09 7bc578b
feat(web-analytics): Fix source query views and uniques - remove blen…
robbie-c b7fe802
feat: Add basic Group / cohort Notebok nodes (#17962)
benjackwhite e28a1b4
feat(surveys): Add cypress e2e tests (#17920)
neilkakkar a138a8c
feat: Node title placeholders with custom title (#17966)
benjackwhite c6173d4
feat(database): faster queries from the persons table (#17811)
mariusandra 49a2e02
chore: send reports closer to midnight (#17960)
raquelmsmith 8f71710
perf: Parse HogQL with C++ for a huge speedup (#17659)
Twixes 6dbe7af
feat: Added the first iteration of trend insghts breakdowns (#17891)
Gilbert09 7e2fd45
feat(hogql): debugger split view (#17970)
mariusandra 4794016
chore: add timings measure for breakdown values query (#17974)
Gilbert09 cdcb114
chore: update copy to reflect popover over pinning (#17971)
daibhin 0438640
feat(hogql): intelligent argmax on persons table (#17975)
mariusandra a53d8eb
chore(plugin-server): move runner process.env calculations to Hub (#1…
bretthoerner 74991e5
chore: Update capabilities.test.ts (#17465)
tiina303 c9064d4
feat(surveys): Multiple Choice question results (#17954)
jurajmajerik ed641a3
feat(hogql): edit SQL directly where possible (#17905)
mariusandra 95bec32
style(3000): Use new Central icons (#16463)
Twixes d633ff1
chore: update snapshots for optimise aggregation setting (#17990)
pauldambra f3c598a
feat(temporal-worker): Add steps to trigger deployment (#17881)
tomasfarias de57c16
chore(batch-exports): Minor model docstring updates (#17993)
tomasfarias 9d36e03
refactor(insights): remove query from editor filter props (#17963)
thmsobrmlr 83a130b
fix: don't process subscriptions with no assets (#17988)
pauldambra d375690
refactor(insight): simplify insightVizDataLogic update actions (#17972)
thmsobrmlr 402d3b6
fix: console log fiddling (#17996)
pauldambra a7692e1
feat(surveys): Improved survey creation flow (#17902)
smallbrownbike 51559eb
feat: add and handle never drop data field (#17978)
raquelmsmith 6f461e3
fix: Nextjs onboarding snippets (#17979)
ivanagas bc5dab3
chore(plugin-server): remove INGESTION_DELAY_WRITE_ACKS and workerMet…
bretthoerner cb06116
feat(hogql-debug): add explain (#17998)
mariusandra 93aa220
feat: Move plugin options out of drawer + uninstall safety (#17980)
tiina303 b40ec18
chore(plugin-server): remove some unused piscina references (#18012)
bretthoerner f0d7838
feat: dedupe console logs (#18009)
pauldambra 50fe0a4
chore(deps): Update posthog-js to 1.83.1 (#18014)
posthog-bot 4adb958
feat(surveys): templates (#17904)
liyiy 6ebbc34
chore: really capture console log search errors to Sentry (#18015)
pauldambra a2d71f5
chore(surveys): report template clicked (#18017)
liyiy 933f61f
fix: console log query (#18021)
pauldambra daeab9a
feat(plugin-server): allow to configure the rdkafka producer queue si…
pauldambra ded024c
feat: open settings when query inserted (#17969)
daibhin d919370
fix: text formatting icons in inline menu & slash commands (#17958)
daibhin fa02095
fix: popover edits out of sync (#18006)
daibhin 786d748
feat: Create Notebook from dashboard (#17968)
benjackwhite f6123c2
feat: Separate out apps management tab (#18013)
tiina303 edb1077
chore: Update plugin-scaffold to latest (#17930)
tiina303 d6d0d29
feat(web-analytics): Add web analytics tabs (#17981)
robbie-c 28cc0ad
Fix/overlap taxonomic filter popup with scroll (#17987)
pausan 6a6f161
fix: fixed missing param when building Breakdown (#17991)
Gilbert09 2d13821
feat: HogQL trends breakdown by hogql expressions (#17992)
Gilbert09 fc00c10
fix: Make rating start at 0 for surveys (#18011)
neilkakkar c7082f9
chore: Make pluginConfigs be keyed over config id not plugin id (#17999)
tiina303 598b0c5
perf(hogql): Fix C++ parser leaks (#18022)
Twixes 8dbc978
chore(deps): Update posthog-js to 1.83.2 (#18033)
posthog-bot 7bff220
fix(surveys): clean up survey edit code (#18010)
liyiy c1478f7
feat(surveys): Implement Open Text visualization (#18016)
jurajmajerik 33fc371
fix(surveys): fix survey template (#18034)
liyiy e103aed
feat: added trends breakdown by cohort (#18028)
Gilbert09 3c2d7c2
revert "chore: Make pluginConfigs be keyed over config id not plugin …
tiina303 a2b2e8e
feat: show only login options if account exists when accepting an inv…
c6804f7
fix: tiers show incorrect volumes if denominator differs (#18041)
raquelmsmith 78cc85f
fix: react env var name inconsistency (#18044)
raquelmsmith 9d240e8
fix(surveys): see multiple question surveys in overview (#18048)
liyiy 87020e7
fix(deps): Update @posthog/icons to fix React peer dependency (#18043)
Twixes 73c23d0
feat: show CTA for annual plan if over $1k/mo (#18049)
raquelmsmith b535d3e
fix(hogql): Fix boolean is not set (#18040)
robbie-c 1200be8
fix(queries): export limit (#18046)
mariusandra 6d98aa4
feat(insights): edit as sql (#18055)
daibhin 0607951
feat(hogql): use join for "in cohort" operations instead of subquery …
mariusandra bd12ca4
feat: move buttons higher (#18039)
pauldambra a6b32cb
chore: Remove install button from apps view (#18038)
tiina303 957933d
feat: added session duration as a breakdown option (#18056)
Gilbert09 969a16d
chore(deps): Update posthog-js to 1.83.3 (#18035)
posthog-bot f392115
fix(surveys): Add html descriptions for thank you (#18036)
neilkakkar 7c29ec8
feat(queries): persons query source (#18060)
mariusandra 5703cb3
feat(web-analytics): Basic adding of date ranges to the web dashboard…
robbie-c 2cddb46
chore(surveys): add surveys opt in to onboarding ingestion (#18045)
liyiy e44639d
fix(surveys): bypass HogQL coercion + UI fixes (#18063)
jurajmajerik 159d94d
chore(storybook): run a few times ¯\_(ツ)_/¯ (#18066)
mariusandra 9033116
chore(deps): Update posthog-js to 1.84.0 (#18069)
posthog-bot 1fea2c3
fix(surveys): Some UI/UX issues (#18070)
neilkakkar 9d5d3b6
feat: surveys onboarding (#18053)
raquelmsmith cfdb512
fix(surveys): check result exists (#18082)
jurajmajerik a550a82
fix(decide): Don't create exceptions for survey targeting flags (#18062)
neilkakkar 5e9df5b
chore(insights): Making schema conversion from schema.ts to schema.py…
robbie-c 20a42c4
feat(hogql): Added unit tests for the new trends query runner (#17730)
Gilbert09 360957f
feat(batch-exports): Add backfill workflow (#17909)
tomasfarias 2a4bd69
feat(hogql): basic pretty print (#18086)
mariusandra d968fcf
fix(plugin-server): wrap a few ingestion/consumer calls in simple ret…
bretthoerner 340d9ff
fix(version-checker): Use latest semantic version (#18085)
neilkakkar cec778e
fix(plugin-server): clarify var name in retryIfRetriable (#18093)
bretthoerner 7bc36c5
fix: redirect to correct view for surveys (#18081)
raquelmsmith 83df6bc
fix(batch-exports-backfill): Instantiate tuple when resuming from hea…
tomasfarias 5cd17c6
chore(deps): Update posthog-js to 1.84.1 (#18096)
posthog-bot 022e0bf
fix(plugin-server): consumer loop throwing trigger a shutdown (#18073)
bretthoerner 9d19747
chore(batch-exports): Do not retry on forbidden (#18091)
tomasfarias 6221de3
feat: allow placeholders in place of ratio expressions in hogql (#17973)
Gilbert09 2f438e4
chore(p-s): add logs around setupPlugins (#18099)
xvello 02f3921
chore(plugin-server): log timing per rdkafka batch loop rather than b…
bretthoerner 73dc7a1
fix(batch-exports): Only read person properties for S3 (#18095)
tomasfarias 38b0065
fix(plugin-server): log EPS every 10 seconds, only log individual bat…
bretthoerner 956da86
feat(surveys): add responses to the events table + fixes (#18088)
jurajmajerik 2afad9f
feat(billing): add menu option for reducing bill info (#18050)
raquelmsmith 6c95f47
fix: support minimal top bar for onboarding screens (#18077)
raquelmsmith 472d814
fix(backfill-batch-exports): Do not run partial ranges (#18114)
tomasfarias abd23e5
feat(hogql): mixed PoE mode (#18064)
mariusandra 9dcdcda
fix: update person recordings default date range (#18115)
pauldambra 6f49da9
chore(batch-exports): Do not retry on RefreshError and NotFound (#18107)
tomasfarias a44fbd2
chore(hogql): Use the C++ parser in local dev (#18112)
Twixes 496d492
chore(deps): upgrade storybook to 7.5 (#18113)
thmsobrmlr 9f6a676
fix(plugin-server): jitter and retry reloadPlugins (#18108)
bretthoerner 7bebb03
fix(plugin-server): filter NaN out of buildIntegerMatcher (#18106)
bretthoerner 89292f2
feat: added support for daily and weekly active user aggregations (#1…
Gilbert09 477e64e
feat(insights): Add dashboard filters to hogql insights (#18076)
robbie-c 338dad7
feat(web-analytics): Add localised number formatting and right-aligne…
robbie-c d722e8e
fix(plugin-server): prevent multiple concurrent reloadPlugins and coa…
bretthoerner 4cbd622
fix(backfill-batch-exports): Account for jitter (#18121)
tomasfarias 25a516a
feat(surveys): auto opt in and out surveys for users (#18080)
liyiy 0e51d49
feat(surveys): gate premium features (#18094)
liyiy 32a3001
fix(survey): fix question type placement and add open feedback templa…
liyiy 251fd3d
chore(deps): Update posthog-js to 1.84.2 (#18130)
posthog-bot 3e493e4
ci(hogql): Don't run parser build workflow on forks (#18018)
rishabnayak e10fbd3
chore(deps-dev): bump postcss from 8.4.18 to 8.4.31 (#17767)
dependabot[bot] 3daf5de
Merge branch 'master' into dn-fix/insight-notebook-badge
daibhin abf2010
Update UI snapshots for `chromium` (2)
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file modified
BIN
-147 Bytes
(99%)
...snapshots__/scenes-app-notebooks-components-notebook-select-button--default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+37 Bytes
(100%)
...ks-components-notebook-select-button--with-no-existing-containing-notebooks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-147 Bytes
(99%)
..._/scenes-app-notebooks-components-notebook-select-button--with-no-notebooks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-170 Bytes
(99%)
...app-notebooks-components-notebook-select-button--with-slow-network-response.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🤔 So we are making
query
only work for a specific Insight? This feels very off...If this is the way to go then I think the "target" should explicitly be
saved-insight
or something.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.
My understanding was that this is just for cases in which there is an id present e.g. when the search query looks like
query:vk7xz3
where the content after the colon is the short id of the saved insight. You could still search notebooks that contain / do not contain queries with the search paramquery:true
orquery:false
.The only reason we special case this lookup is because the
NotebookNodeQuery
does not have anid
attribute which the search endpoint assumes. Its id is nested inside thequery
attribute.Does that explain your question?
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.
@pauldambra am I right in thinking that this will still allow you to search for the presence of a query with the
query:true
param?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.
so long as this test is still valid
then yep we can filter by presence of "type" and presence of an instance of a "type"