:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(ai): make the waiting words hog-themed (#94536)
Jake Ruth476d6dbe19e1
diff --git a/products/desktop/packages/core/src/sessions/thinkingActivities.test.ts b/products/desktop/packages/core/src/sessions/thinkingActivities.test.tsindex 1b1ca94aa69a..8f7f7305ee6a 100644--- a/products/desktop/packages/core/src/sessions/thinkingActivities.test.ts+++ b/products/desktop/packages/core/src/sessions/thinkingActivities.test.ts@@ -7,11 +7,13 @@ import {describe("thinking activities", () => {it("selects from a bounded random value", () => {- expect(pickThinkingActivity(0)).toBe("Booping");+ expect(pickThinkingActivity(0)).toBe(THINKING_ACTIVITIES[0]);expect(pickThinkingActivity(1)).toBe(THINKING_ACTIVITIES.at(-1));});it("always advances when the random pick matches the current activity", () => {- expect(pickNextThinkingActivity("Booping", 0)).toBe("Crunching");+ expect(pickNextThinkingActivity(THINKING_ACTIVITIES[0], 0)).toBe(+ THINKING_ACTIVITIES[1],+ );});});diff --git a/products/desktop/packages/core/src/sessions/thinkingActivities.ts b/products/desktop/packages/core/src/sessions/thinkingActivities.tsindex 5b0a4df240f8..8232f1eb273d 100644--- a/products/desktop/packages/core/src/sessions/thinkingActivities.ts+++ b/products/desktop/packages/core/src/sessions/thinkingActivities.ts@@ -1,74 +1,144 @@+/** Status words for a running turn. A wait is one of the few moments a customer+ * reads our copy word by word, so most of these are about the hedgehog: what it+ * eats, where it lives, how it moves, and the spines. The whimsical words that+ * came before are kept below them.+ * A new word earns its place by being funny on sight. If the joke needs trivia+ * or a PostHog product noun to land, it is not a joke.+ * `products/posthog_ai/frontend/utils/thinkingMessages.ts` keeps the same list+ * for Max in the web app, annotated — keep the two together. */export const THINKING_ACTIVITIES = ["Booping",- "Crunching",+ "Snouting",+ "Snoutlining",+ "Snoutdiving",+ "Snoutwiggling",+ "Whiskering",+ "Quilling",+ "Requilling",+ "Quillsharpening",+ "Quillcounting",+ "Quillpolishing",+ "Quillrustling",+ "Bristling",+ "Prickling",+ "Spiking",+ "Spinetingling",+ "Pincushioning",+ "Curling",+ "Unrolling",+ "Unfurling",+ "Snuffling",+ "Sniffing",+ "Nosing",+ "Rooting",+ "Foraging",+ "Rummaging",+ "Grubbing",+ "Prowling",+ "Earwigging",+ "Trufflehunting",+ "Beetlecrunching",+ "Slugsnaffling",+ "Snailsnuffling",+ "Wormwrangling",+ "Munching",+ "Nibbling",+ "Slurping",+ "Lapping",+ "Saucersipping",+ "Puddlesipping",+ "Scuttling",+ "Scurrying",+ "Scampering",+ "Waddling",+ "Trundling",+ "Pattering",+ "Tiptoeing",+ "Pawpadding",+ "Earflicking",+ "Hedgehopping",+ "Hedgerowing",+ "Hedgeclipping",+ "Hedgemazing",+ "Hedgehugging",+ "Brambling",+ "Bushwhacking",+ "Leafpiling",+ "Leafshuffling",+ "Leafrustling",+ "Compostdiving",+ "Molehilling",+ "Mudlarking",+ "Nesting",+ "Burrowing",+ "Nightshifting",+ "Moonlighting",+ "Wheelrunning",+ "Anointing",+ "Squeaking",+ "Chirping",+ "Purring",+ "Hogletting",+ "Hedgehogging",+ "Posthogging",+ "Hedging",+ "Hoggifying",+ "Hogteasing",+ "Hogitating",+ "Hogothesizing",+ "Hogtimizing",+ "Hogstimating",+ "Hogsembling",+ "Hogfactoring",+ "Hogpiling",+ "Hogwarming",+ "Hogwrangling",+ "Hogtrotting",+ "Wholehogging",+ "Hedgineering",+ "Hogorithming",+ "Piggybacking",+ "Oinking",+ "Grunting",+ "Hogswaggling",+ "Spelunking",+ "Hedgewatching",+ "Hogletherding",+ "Wormcharming",+ "Cricketchasing",++ // Kept from the list these replaced."Digging",- "Fetching",- "Inferring",- "Indexing",- "Juggling",- "Noodling","Peeking",- "Percolating","Poking",+ "Snooping",+ "Noodling",+ "Percolating","Pondering",- "Scanning",- "Scrambling",- "Sifting",- "Sniffing",- "Spelunking",+ "Mulling",+ "Puzzling",+ "Grokking",+ "Scheming",+ "Swizzling","Tinkering","Unraveling",- "Decoding",+ "Dissecting",+ "Sifting",+ "Scrambling",+ "Cranking","Trekking",- "Sorting",- "Trimming",- "Mulling",- "Surfacing",- "Rummaging",+ "Hunting","Scouting","Scouring",- "Threading",- "Hunting",- "Swizzling",- "Grokking",- "Hedging",- "Scheming",- "Unfurling",- "Puzzling",- "Dissecting",- "Stacking",- "Snuffling",- "Hashing",- "Clustering",+ "Surfacing",+ "Snagging","Teasing",- "Cranking",- "Snooping",- "Rewiring",- "Bundling",- "Linking",- "Mapping","Tickling",- "Flicking",- "Hopping",- "Rolling",- "Zipping",- "Twisting",+ "Twinkling","Blooming","Sparking",- "Nesting",- "Looping",- "Wiring",- "Snipping",- "Zoning",- "Tracing",- "Warping",- "Twinkling",- "Flipping",- "Priming",- "Snagging",- "Scuttling",- "Framing",- "Sharpening",+ "Self-driving",+ "Signaling","Flibbertigibbeting","Kerfuffling","Dithering",@@ -81,6 +151,7 @@ export const THINKING_ACTIVITIES = ["Galumphing","Puttering","Whiffling",+"Thinking",] as const;diff --git a/products/posthog_ai/frontend/utils/thinkingMessages.ts b/products/posthog_ai/frontend/utils/thinkingMessages.tsindex b04637910d43..4f11970ddfa8 100644--- a/products/posthog_ai/frontend/utils/thinkingMessages.ts+++ b/products/posthog_ai/frontend/utils/thinkingMessages.ts@@ -2,81 +2,147 @@ import { inStorybookTestRunner } from 'lib/utils/dom'import { AssistantMessage } from '~/queries/schema/schema-assistant-messages'+// Status words for a running turn. A wait is one of the few moments a customer reads+// our copy word by word, so most of these are about the hedgehog: what it eats, where+// it lives, how it moves, and the spines. The whimsical words that came before are+// kept below them.+// A new word earns its place by being funny on sight. If the joke needs trivia or a+// PostHog product noun to land, it is not a joke.+// `products/desktop/packages/core/src/sessions/thinkingActivities.ts` keeps the same+// list for PostHog Desktop — keep the two together.export const THINKING_MESSAGES = [- 'Booping', // playful interaction- 'Crunching', // data in progress+ 'Booping', // the classic snoot boop+ 'Snouting', // nose first, as always+ 'Snoutlining', // outlining, but with the nose+ 'Snoutdiving', // straight in, snout first+ 'Snoutwiggling', // the snout is working on it+ 'Whiskering', // feeling out the edges+ 'Quilling', // growing a spike for this one+ 'Requilling', // a lost quill grows back, so does a lost thought+ 'Quillsharpening', // the tools before the work+ 'Quillcounting', // about 5,000 of them, one moment please+ 'Quillpolishing', // presentation matters+ 'Quillrustling', // the sound of a hedgehog with a plan+ 'Bristling', // spikes up, work on+ 'Prickling', // a hunch, with points+ 'Spiking', // spines, not charts+ 'Spinetingling', // this one is exciting+ 'Pincushioning', // the problem now has holes in it+ 'Curling', // spiky ball mode, for thinking+ 'Unrolling', // the ball opens, the answer shows+ 'Unfurling', // opening up, slowly+ 'Snuffling', // hedgehog for "searching"+ 'Sniffing', // following the smell of a bug+ 'Nosing', // into places a hedgehog should not be+ 'Rooting', // through the leaf litter+ 'Foraging', // for the one useful thing+ 'Rummaging', // untidy, but productive+ 'Grubbing', // hunting grubs, and clues+ 'Prowling', // the garden at 3am+ 'Earwigging', // earwigs are food, gossip is data+ 'Trufflehunting', // hogs find the valuable part+ 'Beetlecrunching', // a hedgehog eats loudly+ 'Slugsnaffling', // the garden says thank you+ 'Snailsnuffling', // slow food+ 'Wormwrangling', // they wriggle, we persist+ 'Munching', // steady progress+ 'Nibbling', // small bites of a big problem+ 'Slurping', // no manners, good results+ 'Lapping', // from the saucer+ 'Saucersipping', // water, never milk: a real hedgehog rule+ 'Puddlesipping', // a drink on the way+ 'Scuttling', // short legs, high speed+ 'Scurrying', // faster than it looks+ 'Scampering', // enthusiasm over elegance+ 'Waddling', // not fast, but arriving+ 'Trundling', // slow and sure+ 'Pattering', // tiny feet, real distance+ 'Tiptoeing', // quietly, past the sleeping parts+ 'Pawpadding', // four paws, one purpose+ 'Earflicking', // heard something+ 'Hedgehopping', // over one hedge, then the next+ 'Hedgerowing', // working along the hedge+ 'Hedgeclipping', // cutting back the overgrowth+ 'Hedgemazing', // finding the way through+ 'Hedgehugging', // careful, but warm+ 'Brambling', // through the thorny part+ 'Bushwhacking', // no path, going anyway+ 'Leafpiling', // building a nest for the answer+ 'Leafshuffling', // the classic hedgehog sound+ 'Leafrustling', // something is happening in there+ 'Compostdiving', // a hedgehog's favorite heap+ 'Molehilling', // turning your mountain back into a molehill+ 'Mudlarking', // there is treasure in the mud+ 'Nesting', // structure first+ 'Burrowing', // down and in+ 'Nightshifting', // hedgehogs work nights+ 'Moonlighting', // a second shift, by moonlight+ 'Wheelrunning', // a hedgehog runs kilometers each night+ 'Anointing', // hedgehogs self-anoint, we self-review+ 'Squeaking', // a small sound, a big question+ 'Chirping', // a hedgehog with news+ 'Purring', // the sound of a content hedgehog+ 'Hogletting', // small steps now, big hog later+ 'Hedgehogging', // the most hedgehog thing possible+ 'Posthogging', // brand pun, no apologies+ 'Hedging', // hedgehog pun, kept from the old list+ 'Hoggifying', // to make a thing more hog+ 'Hogteasing', // a hog take on teasing+ 'Hogitating', // cogitating, with more snout+ 'Hogothesizing', // forming a hypothesis+ 'Hogtimizing', // making it faster+ 'Hogstimating', // a hog's guess, honestly given+ 'Hogsembling', // putting the parts together+ 'Hogfactoring', // same behavior, better shape+ 'Hogpiling', // every idea at once+ 'Hogwarming', // warming up+ 'Hogwrangling', // many hogs, one direction+ 'Hogtrotting', // the hog trot: a working pace+ 'Wholehogging', // going the whole hog+ 'Hedgineering', // engineering, but spikier+ 'Hogorithming', // the algorithm, but hog+ 'Piggybacking', // standing on the last good answer+ 'Oinking', // the other kind of hog+ 'Grunting', // the effort is audible+ 'Hogswaggling', // hoggish bamboozling+ 'Spelunking', // deep in the burrow+ 'Hedgewatching', // waiting for a hedgehog to appear+ 'Hogletherding', // many small ideas, one direction+ 'Wormcharming', // a real sport, and a real skill+ 'Cricketchasing', // it went that way++ // Kept from the list these replaced.'Digging', // going deep- 'Fetching', // retrieving something- 'Inferring', // making sense of things- 'Indexing', // organizing info- 'Juggling', // handling multiple things- 'Noodling', // casual problem-solving'Peeking', // quick look- 'Percolating', // slow thinking'Poking', // testing ideas+ 'Snooping', // poking around data+ 'Noodling', // casual problem-solving+ 'Percolating', // slow thinking'Pondering', // thoughtful pause- 'Scanning', // fast overview- 'Scrambling', // chaotic progress- 'Sifting', // sorting signal from noise- 'Sniffing', // searching with instinct- 'Spelunking', // deep exploration+ 'Mulling', // slow consideration+ 'Puzzling', // solving something tricky+ 'Grokking', // deep understanding+ 'Scheming', // clever planning+ 'Swizzling', // techy weirdness'Tinkering', // tweaking stuff'Unraveling', // breaking things down- 'Decoding', // translating complexity+ 'Dissecting', // breaking it apart+ 'Sifting', // sorting signal from noise+ 'Scrambling', // chaotic progress+ 'Cranking', // pushing through work'Trekking', // on a journey- 'Sorting', // putting things in order- 'Trimming', // cleaning things up- 'Mulling', // slow consideration- 'Surfacing', // bringing something up- 'Rummaging', // messy searching+ 'Hunting', // focused seeking'Scouting', // looking ahead'Scouring', // intense searching- 'Threading', // connecting things- 'Hunting', // focused seeking- 'Swizzling', // techy weirdness- 'Grokking', // deep understanding- 'Hedging', // hedgehog pun- 'Posthogging', // brand pun- 'Self-driving', // autonomy pun- 'Signaling', // signals pun- 'Scheming', // clever planning- 'Unfurling', // opening up ideas- 'Puzzling', // solving something tricky- 'Dissecting', // breaking it apart- 'Stacking', // building layers- 'Snuffling', // hedgehog behavior- 'Hashing', // working something out- 'Clustering', // grouping related things+ 'Surfacing', // bringing something up+ 'Snagging', // quick retrieval'Teasing', // nudging out meaning- 'Cranking', // pushing through work- 'Merging', // putting ideas together- 'Snooping', // poking around data- 'Rewiring', // making new connections- 'Bundling', // grouping ideas- 'Linking', // making a connection- 'Mapping', // plotting points'Tickling', // triggering results lightly- 'Flicking', // small, quick action- 'Hopping', // fast, light progress- 'Rolling', // forward movement- 'Zipping', // fast execution- 'Twisting', // shifting structure+ 'Twinkling', // flicker of insight'Blooming', // ideas forming'Sparking', // fresh thought forming- 'Nesting', // organizing structure- 'Looping', // revisiting paths- 'Wiring', // making connections- 'Snipping', // precise cutting- 'Zoning', // deep focus- 'Tracing', // following logic- 'Warping', // reshaping view- 'Twinkling', // flicker of insight- 'Flipping', // shifting state- 'Priming', // getting ready- 'Snagging', // quick retrieval- 'Scuttling', // fast, scurrying motion- 'Framing', // contextualizing view- 'Sharpening', // refining details+ 'Self-driving', // autonomy pun+ 'Signaling', // signals pun'Flibbertigibbeting', // flustered but active chaos'Kerfuffling', // low-stakes commotion'Dithering', // indecisive processing@@ -89,6 +155,7 @@ export const THINKING_MESSAGES = ['Galumphing', // awkward progress'Puttering', // low-energy thinking'Whiffling', // light, directionless searching+'Thinking', // just thinking, like in the old days]