* Add posthog-js defaults to snippet examples
* Add defaults to install-web too
* Add some more defaults
* feat: Add `<ph_posthog_js_defaults>` everywhere
Everywhere where we're initializing `<ph_project_api_key>` now also initializes `<ph_posthog_js_defaults>`. A follow-up pass is needed to update `pageview` docs letting people know we're tracking these automatically now
* refactor(): Remove `ph_posthog_js_defaults` where we're not initing lib from beggining
We'll only include the `defaults` suggestion in places where we're explaining HOW we initialize posthog. When we're talking about a non-correlated config, then we'll omit it. The same applies to `api_host`
* refactor: Stop using `history_change` in most places
Rather than suggesting `history_change`, let's instead suggest using our new `defaults` feature
* add a space
* change next.js note
* Ian's fixes
---------
Co-authored-by: Rafa Audibert <rafael@posthog.com>
Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
* first commit
* add backlinks
* Apply suggestions from code review
* title
* Apply suggestions from code review
* ian comment
* Apply suggestions from code review
* refactor posts section
* add mobile nav
* index views
* filtering fixes
* lazy load index pages / menu fixes
* hide mobile nav
* more index views
* missing images
* wide mode (broken)
* comment out wide mode code
* categories column: better overflow-y on short viewports
* tooltip to explain why we organize content the way we do
* stylin's
* dialing in posts max-width and wide mode
* wide mode and not wide mode tweaks
* link post title
* match postcard changes in customers view
* customers sizing
* icon color fix
* space between post title and metadata in list view
* don't block text with graphic
* add excerpts to client posts
* Show correct active subnav tab for each section
* prevent list from shifting
* like buttons next to title
* only show post type on /posts
* show and link authors
* fix open menu items
* add back to posts button
* add filter by crosspost
* Content Hub Reorg
* load more button
* index new categories/build fix
* add redirects
* update index pages
* post schema/strapi sync auto tag and category creation/manual menus/crosspost filtering/rip sticky sidebar
* Updating posts sidebar
* Tutorials tags
* re-implemented sticky sidebar
* cleanup
* case when there's no featured image (or video)
* removed all tutorial banners
* more tutorial banner deletion
* Tidying up blog tagging
* add "all" pages
* Fixing some tags
* Blog category redirects
* Remove newsletter tag from old newsletters
* Moving paid ads blog post
* Newsletters
* Fix redirect loop
* fixed some syntax errors
* build fix
* cleanup
* added icons to tutorials categories
* sidebar filters
* styled post sidebar (wip)
* scope communitybar
* vertical dividing lines
* updated icons pkg
* colored icons
* wide mode index view
* wide mode comments
* had my way with the posts view... 👀
* applying general layout to customer stories, tutorials, clientpost templates
* post type icons
* category dropdown icons
* polish
* use prod api host
* spacing
* cleanup
* client post padding, wide mode support
* spacing
* remove breadcrumb, replace with simple message about posts hub
* padding
* image background for transparent pngs
* force reload to see landing page views
* reluctantly fix hilarious image issue
* Moving post back into blog folder
* Redirect fixes
* Redirects
* Redirecting blog categories to new paths
* Tweaks to blog sidebar + redirects
* menus / upvote button
* footer links
* active internal menus / nav fixes
---------
Co-authored-by: Cory Watilo <cww@watilo.com>
Co-authored-by: Andy Vandervell <92976667+andyvan-ph@users.noreply.github.com>