* edit height
* add hedgehog height
* hedgehog percentage
* padding
* mobile
* add variables so cory can tweak to his hearts content
* slack emojis
* small team faq polish
* tooltip for removing a team member
* feature flag for location
* unit feature flag
* remove inches
* use local image
---------
Co-authored-by: Eli Kinsey <eli@ekinsey.dev>
* 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>
* team index view, move small team nav
* polish
* added crest, started to move PA team page blocks around
* moving components around
* encapsulate milestones and team updates inside box
* team icon
* source from graphql
* team page start
* fixed small team person card hover ux
* flex da people
* placeholder header image
* more responsive
* add other sections
* add team images
* add nav
* fix subscribe flow
* added sum stickers
* moved icons
* add pineapple sticker
* added all country icons, fixed pineapple icons
* added all flags
* implemented mayor badge
* hide small team sidebar (for now)
* tighten text
* fix in progress modal
* update objectives files
* cleanup
* added GB flag, updated flag pack
* tightening text
* add objectives to own section
* added pineapple sticker
* added borked thumbs up sticker
* subheader polish
* small adj
* dark mode
* link to small teams
---------
Co-authored-by: Eli Kinsey <eli@ekinsey.dev>
* add account link to community dashboard
* link roadmap items to cta.url if it exists
* populate cta
* use Link
* link to changelog item
* font weight, also fixed <li> community post sizing
* disable hashspy/add cloudinary image support
---------
Co-authored-by: Eli Kinsey <eli@ekinsey.dev>
* initial source
* adjust other components to support community team members
* remove team files
* wrap role inside header
* add badge to posthog moderators
* conditionally show logomark and company role
---------
Co-authored-by: Cory Watilo <cww@watilo.com>
* 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>
* 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>
* 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>
* remove gatsby-plugin-posthog
* move gatsby-browesr to ts
* misc fixes to clean up errors
* chore: remove console.log from gatsby-source-squeak
* remove PosthogAnnouncement
* update to use snippet in html.tsx
* Add safe redirects (JS)
* fix import in Layout
* source config from environment
* capture metrics
* don't access window if not defined
* add alt descriptions to homepage images
* add alt text to hedgehog image
Co-authored-by: PostHog <hey@posthog.com>
* add team roadmaps
* add team members
* Add safe redirects (JS)
* fix thumbs up
* add new reactions to schema
* improve responsiveness of team members
Co-authored-by: PostHog <hey@posthog.com>
Co-authored-by: Cory Watilo <corywatilo@gmail.com>
* upgrade gatsby to ^4.17.2
This commit also upgrades all of the gatsby plugins to their latest
versions
* update gatsby-plugin-sitemap options to work with latest version
* import graphql from gatsby
Using the global graphql is no longer supported after gatsby v3
* deps: upgrade sharp to ^0.30.4
* update kea to v3 and use new logic syntax
* remove gatsby-plugin-remove-trailing-slashes
This functionality is now built into Gatsby
* remove type import from contributorStatsLogic
* change trailingSlash value to 'never'
* add @netlify/plugin-gatsby
* remove GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES flag
This feature is now built in to gatsby
* use optimized images from #3453
* optimize blog and tutorial images
* optimize features images
* decrease max width of optimization to 1650
* shrink blog images to 1000px
* shrink tutorials images to 1000px
* shrink docs and handbook images
* set node version to 16
* add gatsby-plugin-netlify
* try incresing head size and reducing CPU count
* wrap values in quotes
* remove heap size change
* regen lockfile and bump @netlify/plugin-gatsby
* revert image resizing
* re-do resizing to preserve transparency
* Revert "optimize blog and tutorial images"
This reverts commit fcb5efdd09edd4b3117af8cab11771b022f96643.
* Revert "use optimized images from #3453"
This reverts commit 56f9369e651040f30abee60ba47f7316515952e0.
* Revert "shrink docs and handbook images"
This reverts commit d172e71d3a8f478aa1a3e5802d229e6b0e4acc71.
* Revert "shrink tutorials images to 1000px"
This reverts commit 65dfd718f6d0e6c9fba05a4af55e40b68c1753eb.
* Revert "shrink blog images to 1000px"
This reverts commit d22b95525a9581ecd9f3d9176ac728100ebb3efc.
* Revert "decrease max width of optimization to 1650"
This reverts commit 29a2bdbed0024375978851621cb2a5f45e217f6b.
* Revert all image resizing
* add latest versions of @netlify/plugin-gatsby and gatsby-plugin-netlify
* upgrade gatsby packages
* remove mdx-js
* reset png images to master
* reset jpg images to master
* delete user-guides images
* reset last few images
* remove library stats
Co-authored-by: Paul Hultgren <pjhul@Pauls-MacBook-Pro.local>
* add 'plugins/*' as workspaces in package.json
Adding local plugin directories as workspaces means their deps will
automatically be installed
* chore: add yarn v2 dependency ignores
* create gatsby-plugin-git-info
This local plugin is a fork I created of gatsby-transformer-gitinfo,
which was originally used but suffered from serious performance issues.
On every call to onCreateNode, the library would completely reindex the
entire git repo in order to retrieve the latest commit for a single file.
This new plugin instead performs everything during the onPreInit stage.
It first matches all markdown files (as these are currently the only
ones which need to display a 'Last updated' tooltip) and then caches the
latest commit for each file. Then, at build time it simply retrieves this
info with a lookup.
On my machine I saw a significant speedup on the 'source and
transform nodes' stage, going from taking +120s to now only taking
~40s!
* deps: remove gatsby-transformer-gitinfo and regen lockfile
* change package to private
In yarn classic workspaces are only allowed in private packages. Even
though the posthog.com repo is public, it shouldn't matter setting the
package to private as we don't publish it as a standalone package
* add versions to plugins and revert to v1 lockfile
Yarn will ignore a workspace if it doesn't have a version. This commit
also reverts back to using yarn classic to generate the lockfile.