* feat: Programatically add dots to map
Instead of having a hardcoded list of dots in our map, we're now collecting the latitude/longitude information from the information we're already collecting from everyone working at PostHog. We're doing some geocoding to transform that information into lat/long pairs.
There are some problems with the fact that there isn't much uniformity in the way everyone stores their information, so some dots are extremely innacurate.
I've attempted the following pairs and they don't work that well
- Location
- Location, Country
- Location | Country
I ultimately settled with the last one because it looks the most accurate - but there are errors still.
My suggestion: we should suggest everyone to fill their "Location" field with either a "city, country" tuple or simply the long form of their country name, which **should** make the map more accurate.
* feat: Remove name from old employee
* add schema to allow builds without a mapbox token
---------
Co-authored-by: Eli Kinsey <eli@ekinsey.dev>
* 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>