17 Commits

Author SHA1 Message Date
Tom Piccirello
a5d6111021 chore: add note to public env files (#12792) 2025-09-15 15:54:05 +00:00
landon-posthog
fb953d0516 automatic DPA signing (#11509)
* added a custom event running in Node for DPA

* dpa page now offers distinct user flows depending on legal vs fun choices. Created a legal requests landing page with placeholder text and styling.

* Added Zapier hook to DPA backend

* remove date, UI clean up, removed logging for testing purposes.

* changed Zapier DPA URL

* Restored the Tay tay preview

* changed Zapier DPA URL

* Added BAA API, cleaned up some UI, text updates to the legal request page, zapier webhook updates

* restored .env.development file

* bump

* link BAA, update plans

* restored old form content

* formatted dpa generator

* formatting BAA

* added date field

* polish

* removed old page

---------

Co-authored-by: Simon Fisher <simfish85@googlemail.com>
Co-authored-by: Cory Watilo <corywatilo@gmail.com>
2025-06-04 08:12:16 +01:00
Eli Kinsey
7f3eeebb34 Kill onPostBuild step (#9758) 2024-10-29 23:57:58 -04:00
Eli Kinsey
d87a02e253 Release Max AI in the forums (#9291)
Co-authored-by: Cory Watilo <corywatilo@gmail.com>
2024-09-03 14:10:39 -04:00
Cory Watilo
9ea0a5a9c6 Community news (#8287)
* inside posthog layout

* mobile layout

* question table styles

* questions, but with grid instead of a table

* right column content

* dynamic posts

* realtime status

* <PersonSpotlight />

* object Object

* people news

* questions data

* add slack section

* newbies

* wip section

* add anniversaries

* swag

* posts component

* newsletter

* cta

* post category filters

* componentize

* removed inside posthog logo

* wide mode fixes

* updated newsletter subscribe form

* subscribe

* remove margin

* validation

* improve layout at narrow screens

* responsive questions

* left column responsivity

* fixed container queries, dark mode

* more dark

* polish

* newsletter responsive

* subscribed case

* before launch

* responsive

* spacing and polish

* more fixes

* menu fixes

* alignment fix

* added community news logo

* better app status

* remove revalidate on focus

* only on community page

* remove redirect

* line height

* round less optimistically

* app status loading state

* upgrade tailwind

* spacing

* open graph

* fixed header padding, added mobile header elements

* header spacing

* global padding

* github reactions

---------

Co-authored-by: Eli Kinsey <eli@ekinsey.dev>
2024-04-17 19:57:43 -07:00
Eli Kinsey
d580c3c506 New roadmap pages (#8045)
* WIP page

* add team update form to team pages

* add update on wip page

* add option to post as team lead

* only show relevant team roadmap items

* refresh roadmaps on team change

* allow editing updates

* show author info / link to teams

* show in progress roadmap items on WIP page

* roadmap changes

* unlogged in auth

* small polish

* sort

* update/add items

* link

* update schema

* polish

* team names

* sidebars

* type to search

* fix import

* dark

* spacing

* polished roadmap page

* polished roadmap, wip forms

* updated changelog edit ui to match

* v small cleanup

---------

Co-authored-by: Cory Watilo <cww@watilo.com>
2024-03-14 19:34:31 -04:00
Raquel Smith
fb1497b2d3 feat: reverse proxy our own endpoints (#7972)
* reverse proxy our own endpoints

* revert dev env

* put back sans billing

---------

Co-authored-by: Eli Kinsey <eli@ekinsey.dev>
2024-03-05 07:36:40 -08:00
Cory Watilo
906c6380f2 Add teams plan to pricing page (#7720)
* upgraded tailwind

* added free tier in page header

* show all 4 plans

* plan data

* alignment n stuff

* updated calculator icons

* polish

* pricing card polish

* got desktop calc integrated

* calc desktop responsive polish

* fixed calc values

* plans overflow for small desktop

* responsiveness for calc grid on mobile

* mobile calculator polish

* re-added lottie for mobile

* more polish

* placeholder plan comparison breakdown

* "other options" and, you guessed it, more polish

* tooltips n stuff

* full-width plan comparison table

* dark mode fixes

* typooo

* text updates

* massively improved tooltips

* cleaned up css

* update global components

* show different header on product-specific pricing pages

* colorized slider handles to match product

* conditionalize tooltips

* improved other tooltips

* small fixes

* fix

* populate plans table from billing info

* change some language

* fix

* secondary CTAs

* fix ab testing name

* show annual pricing in calculator

* add control back

* try to do set up experiment

* add types / remove named queries

* fixed table columns (now that we have 2 plans, not 4)

* fix test case

* adjusted available discounts section

* annual toggle styling on mobile

* Revert "fixed table columns (now that we have 2 plans, not 4)"

This reverts commit 5c652df7a404f8d5aad8f315b1473d7192df775f.

* smaller startups CTA

* fix yearly price, show tooltip with total yearly amt

* feedback changes

* set up test

* use usePosthog

* exclude a couple more things

* fix cta hog location

* better loading state

* updates

---------

Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
Co-authored-by: Eli Kinsey <eli@ekinsey.dev>
2024-03-04 07:09:22 -08:00
Eli Kinsey
3ed3d51182 Changelog anchor fixes (#7832)
* width/height

* add gatsby cloudinary image support/remove hash spy

* update key

* store changes in state

* remove filters

* update key
2024-02-16 10:49:51 -05:00
Cory Watilo
90690ce36e Merch store (#7510)
* feat(shopify): add gatsby-source-shopify, source shopify products

* feat(merch): add merch template

- pagination/n-add template

* feat(drawer): add drawer component for cart

* feat(cart): add store, lines items, checkout, cart

* refactor(cart): return full cart upon new cart creation

in order to validate the cart before checkout, grab the new cart along with the checkoutUrl for validation. Also removed Storefront API key from .env.development.

* feat(cart): adjustment to feedback and UI

* feat(graphql): add MerchNavigation nodes to Gatsby mesh layer for nav menu

* feat(merch-page): add collection template, product card, variant selection, update types

switch from static paginated pages to frontend-managed pagination. update types.

* feat(navigation): add collection navigation

collection navigation is based on Shopify metaobjects, see more...

* polished up UI to match website vibe

* feat(merch-product-slide-in): add drawer with internal animation, product add form

including quantity control, pdp slide-in layout, switch to cart, variant options

* feat(cart): cart layout, quantity controls, cart logic, cart quantity

* styled quantity, product description

* cart stylin'

* styled radio options

* badge styling

* feat(merch): add product template

* refactor(merch): move cart drawer to Nav

* feat(merch): add product page at /product route

and refactor access to cart drawer in nav from new PDP

* refactor(merch-page): adjust syling

* refactor(source-nodes): extract shopify url and api version to env

* refactor(merch-page): remove print app code from variant option names

in product page, product panel, and cart

* feat(merch): types for node sourcing and merch content soucing and page creation

* refactor(merch-page): remove AllProducts template in favor of just Collections template

* feat(merch): finish all TypeScript types

* show all the products!

* dark mode fixes

* cart dark mode fixes

* refactor(merch-drawer): remove scrollbars that create visual gap

* refactor(merch): continue to checkout

* show correct subnav on all merch pages

* add orders to user menu

* fixed icons

* add missing env variable

* feat(merch-checkout): detect completed cart and reset if so

also adjust types, and modify checkout qty and out of stock notifications to only be out of stock if qty changes from 1 to 0

* Create doc explaining how we do revenue forecasting (#7480)

* Create revenue-and-forecasting.md

* add to nav

* Update contents/handbook/engineering/revenue-and-forecasting.md

* Docs - Nextjs: Replace <Suspense> with Dynamic Import (#7505)

* fix nextjs docs

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Ian comments

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Remove proxying using DNS for cloudflare (#7509)

* Adding in our operating cadence to goal setting  (#7488)

* Update goal-setting.md

We don't have a place where we set out a clear operating cadence. This might not be the optimal place for this but we can shuffle it around once we have all the changes made. This is more for feedback on the actually wording

* Update contents/handbook/company/goal-setting.md

Co-authored-by: Charles Cook <charles@posthog.com>

* Update contents/handbook/company/goal-setting.md

Co-authored-by: Charles Cook <charles@posthog.com>

---------

Co-authored-by: Charles Cook <charles@posthog.com>

* feat(merch): add merch template

- pagination/n-add template

* feat(drawer): add drawer component for cart

* feat(cart): add store, lines items, checkout, cart

* feat(cart): adjustment to feedback and UI

* add orders to user menu

* fixed icons

* feat(shopify): add gatsby-source-shopify, source shopify products

* feat(cart): add store, lines items, checkout, cart

* feat(cart): adjustment to feedback and UI

* feat(merch): finish all TypeScript types

* add orders to user menu

* feat(merch-checkout): detect completed cart and reset if so

also adjust types, and modify checkout qty and out of stock notifications to only be out of stock if qty changes from 1 to 0

* fix build?

* remove node import

* fix icon import

* Update open graph description (#7518)

Changed this to be a bit more all-in-one and a bit less self-hosty.

* feat(merch): add product carousel

* refactor(CallToAction): pass disabled prop through to Link component

* feat(merch): add variant stock detection to variants

- add variant stock detection at query time to PDP (not just static)
- add skeleton
- add back in stock email form

* refactor(merch): update variant selection types

* feat(merch): add back in stock form styling and logic

* fix(merch): reset cartId when change to cart is detected

This will cause a new checkout to be built when anything changes in the cart

* dark mode category selector

* fix console error

* adds a lil magic to an empty cart

---------

Co-authored-by: kevin frilot <kevinfrilot@icloud.com>
Co-authored-by: Kevin Frilot <kevin@Kevins-MacBook-Air.local>
Co-authored-by: Eli Kinsey <eli@ekinsey.dev>
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
Co-authored-by: Lior539 <lneuner@gmail.com>
Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
Co-authored-by: timgl <tim@posthog.com>
Co-authored-by: Fraser Hopper <fraser@posthog.com>
Co-authored-by: Charles Cook <charles@posthog.com>
2024-01-19 13:07:01 -05:00
Eli Kinsey
00e4ced115 Use CloudFront for homepage videos (#7502) 2024-01-10 19:37:11 -05:00
Eli Kinsey
401ac099b6 A better Zendesk integration (#6651) 2023-09-01 22:07:40 -04:00
Paul Hultgren
dc4b272a15 feat: migrate Squeak to Strapi (#5622)
* remove org providers

* merge questions components

* merge authentication components

* merge question form components

* move main login

* move Squeak.tsx

* merge question

* update exports

* split out replies component

* begin rewriting question component

* add the ability to fetch by permalink

* move gatsby-source-squeak to ts

* working questions table

* working question permalink pages!

* add images to questions table

* basic login working

* working topics pages

* move topiGroup fetching

* working topic groups

* working login state

* remove unused apiHost and organizationId params

* fix useUser hook

* small tweaks

* rename Question.permalink to SqueakQuestion.permalink

* remove reply resolver

* remove useOrg hook

* add back old CommunityQuestions components

* update roadmap queries

* fetch roadmaps

* remove console.log

* small tweaks

* remove key

* add squeak migration script

* only fetch questions that match the current slug

* unify useQuestions hook

* fix build

* change markdown component

* search: removing padding

* working reply!

* expand question by default

* replace username with email

* working sign up

* working question sidebar + remove pre-rendered question pages

* add back pre-rendered question component pages

* uncomment Changelog query

* display multiple teams

* remove updatedAt field

* don't access avatar if it's null

* fix question profile links

* only add replies with profiles

* fail when no question

* fixes

* remove ErrorBoundary from QuestionForm

* remove old changelog page

* delete ErrorBoundary component

* working question posting

* gravatar urls

* working profiles

* use questions component

* reset password

* display profile info in dropdown

* post question to specific page

* remove excess padding on replies

* remove changelog from dropdown

* make registering and signing in work

* avatar fixes

* login / registration error messages

* more avatar fixes

* update slugs in queries

* fail on non-ok request to `/me`

* add edit profiles

* set all user roles to authenticated

* upload avatars

* use getAvatarURL

* only show edit profile button on active user

* fix question pages

* working subscribe and unsubscribe endpoints

* refactor useUser logic

separate out logic to fetch and save the current user

* working subscriptions

* chore: remove misc console logs

* use fetchUser in EditProfile

* ensure all questions have profiles

* add more misc to migration sql

* use useRoadmap hook in Roadmap

* working team roadmaps

* show login when trying to subscribe as anon

* fix profile TODO

* add sortBy newest, popular, and activity

* add back homepage roadmap

* remove unused Changelog component

* bring back reply actions

* fix collapsed avatars

* fix badge text

* small ui improvements

* mobile edit profile

* add teams to profile sidebar

* also show questions that user has replied to

* hide discussions if no questions exist

* reduce required reply count to show collapsed view

* fix: return correct user from login and signUp methods

* remove unused lib/api

* add body to form preview

* button labels on questionform

* question page modal initial view

* fix blur bug

* try not passing slug on questions page

* dark mode colors

* dark mode fix

* error messages

* correct type of slugs object

* more onBlur fixes

* add logged in user email and add edit profile button back

* remove log

---------

Co-authored-by: Eli Kinsey <eli@ekinsey.dev>
Co-authored-by: Cory Watilo <cww@watilo.com>
2023-04-13 10:50:52 -07:00
Raquel Smith
31904841d0 feat: hook up pricing page to plans API (#5181)
* change addons

* remove enterprise prices in plan header

* remove pricing in "want to self-host" section

* Remove pricing from table

* Remove addons section and move self-host to bottom

* Rename plan columns

* Kill enterprise self-host option

* Do some cleanup

* Configure the plans

* Reinstate pricing on scale plus plan

* use saml sso instead of sso saml

* acct mgr on enterprise only

* Get rid of a bunch of old tests

* More cleanup

* Set up test

* Add env var for billing service url

* support more grid columns

* Add billing v2 types

* Stub new pricing page

* Make control look okay with only 2 plans

* Update borders

* Fix tractor hog

* Move calculator to its own component
to avoid key errors and simplify

* Clean up

* Add a modal for the pricing tiers

* Make more mobile friendly

* Update enterprise section

* Update Q&A section (for both pages)

* One more Q&A update

* clean up a bit

* show tooltip on right for wide screens

* Fix unique key warnings

* Clarify faq about ffs

* Use a variant in the ff check since it'll be n exp

* Wait for flags before rendering

* don't wait for flgas if local

* Fix images (maybe)

* Use a different env var

* add icons, don't show icons and text in rows together

* Flexbox the pricing matrix (#5200)

* initial rebuild of plan matrix with flexbox

* most responsive styles in place

* hide some features, ui polish

* use prod billing service by default

* polish

* remove temp classes

* polished styles, removed old styles

* align all the things

* fix alignment

* icons, polish

* Fix post-apply signup button

* Move AllPlans component to control folder

---------

Co-authored-by: Cory Watilo <cww@watilo.com>
2023-02-03 11:38:21 -08:00
Paul Hultgren
f2c78312a2 PostHog Forum (#4626)
* update mdx-js

* export Icons as default

* export SEO component as default

* first draft profile page

* allow squeak users to edit their profiles

* update squeak configs

* remove package

* update api requests

* update links

* add profile links to names and avatars

* spacing / bug

* fix 404 issue

* redirect

* redirect test

* redirect test

* 404 fix

* add rewrites to other paths

* poc forum display

* format date correctly

* tweak description color

* link to community profile

* comment out dislpaying topics

* don't create question pages in createPages

* deps: add @docsearch/react

* break out squeak topic pages using file system routing api

* remove old Question template

* debugging squeak-react

* create useTopicMenu hook

* skeleton sidebar

* add profile to question node

* fix build issues!

* downgrade gatsby-remark-prismjs

* many improvements to questions page

* change to squeak.cloud

* bump squeak-react

* small styling improvements, break table into separate component

* create client only fallback route

* improvements to squeak question form

* upgrade squeak-react to 4.3.1

* update all squeak occurences with env variables

* show new questions as soon as they are available

* remove @docsearch/react

* remove old commented out code

* remove unused QuestionPage component

* use squeak.cloud when developing locally

* change http -> https

* return null if request is null

* add link back to questions page and reduce spacing

* small styling tweaks

* show form before login

* dark mode styling

* use static community sidebar

* bump squeak-react to 4.3.3

Co-authored-by: Eli Kinsey <eli@ekinsey.dev>
2022-12-20 11:29:47 -08:00
Paul Hultgren
9b782471e6 feat: Nail Search (#4706)
* move search components to subfolder

* merge search into single component

* remove netlify plugin

* remove netlify deps

* add gatsby-plugin-algolia

* add optional chain

* move schema customizations to gatsby-source-squeak

* remove unused deps

* slugify id and remove internal.type field

* move config to typescript and es modules

* add pageview numbers to pages

* very rough first version of search

* styling improvements to search results

* open search menu with either ctrl+k or /

* only check pageview cache if it exists

* create sidebar search box and tweak styling of results

* rough draft of side-by-side preview

* show all categories and only allow selecting one at a time

* only send algolia information when env variables are present

* display api endpoints on preview

* allow setting initial filter when opening search box

* use headless ui combobox component

* set initial filter types

* fetch question body as excerpt

* uncomment onPostBuild

* style result background based on active state

* allow for opening with Cmd+K on Mac

* navigate to result on clicking enter

* allow tabbing through categories

* styled search results, added better 'no results' state

* only uppercase API category

* polish for individual category results

* more polish

* remove ui around searchbar

* moves result categories to bottom as tabs

* more itty bitty modal polish

* border polish

* correctly set initial filter category when present

* style sidebar search input

* remove search box from Using PostHog page

* links to site search

* disable categories with no results

* hide event count for the 'all' category

* link to specific headings within pages

* pull parameters from environment

* small improvements

* Revert "remove search box from Using PostHog page"

This reverts commit 24a3dd8ea34214fec79b5221eb632df86458fa2c.

* sidebar search button dark mode

* fixed a couple unrelated bugs

* search: dark mode

* add search to 404 page

* use correct env variables in gatsby-config

* add slugs for api and questions

* remove search box from docs, handbook, and using posthog

* add detailed custom tracking

Co-authored-by: Cory Watilo <corywatilo@gmail.com>
2022-12-01 22:06:53 -05:00
Sam Winslow
4daf1df1b8 Add sign-up page with email request modal (#1675)
* add sign-up page with modal (wip)

* build out form components

* styling button

* move ButtonBlock to own file

* signupLogic

* email validation & trigger identify

* change enum name to 'Realm'

* move posthog API info to dotenv files

* scaffold deployment options view

* custom icon lockups

* move files

* signup funnels callout message

* border graphic

* more graphics

* send update contact events

* add types and error handling

* fix font issues

* send event when modal skipped

* minor changes, remove nullish coalescing

* change view while contact is created in background

* add tracking for deployment options screen
2021-08-03 17:46:35 -07:00