0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 08:40:03 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
Tim Glaser
bcf427cb55
Webpack HMR, Add hashes to chunk filenames. (#878)
* Closes #877 chunk loading errors

* Closes #877 chunk loading errors

* add chunks to all webpack files, use webpack-html-plugin to make an index.html with the right names

* change to contenthash for better caching

* add dev server on a different port

* store loaded scenes in reducer

* add react-hot-loader

* add react-hot-loader to all code split points

* fix action pages HMR

* ignore cypress screenshots

* generate django login/signup page layout with webpack html plugin

* move to devDependencies

* expose webpack-dev-server ports

* run tests on the production docker image

* start webpack dev server on a custom host if requested

* revert e2e to dev dockerfile

* add test travis config

* add stages

* add travis conf

* cache node and pip

* node 11

* travis ci bump

* node via nvm

* install v12, disable cypress for a moment

* remove 2 commands, test cached build time

* try different yarn cache, add cypress

* add postgres 12

* migrate before cypress

* remove latest postgres for now

* createdb before cypress

* Try different port

* cull packages

* remove hash from main bundle filenames to not break anything

* cypress port 8000

* cypress tests with production docker

* don't use the /code path in e2e test, use docker image

* remove hash from css to work better with editor

* only one export from actions

* remove travis test

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2020-06-02 10:39:53 +01:00
James Greenhill
2fd1bc6377
Optimize event telemetry pipeline (#833)
* Split out celery worker into its own container for easier debugging

* Refactor creating people from events and serialize Team to celery worker

* type fixes

* remove todo message

* use the correct marshal (unmarshal)

* limit to just removing try except for person creation

* switch from count to exists
2020-05-26 20:18:01 +01:00
James Greenhill
8472a8caa9
695-Optimize funnel rendering (#792)
* Deployment to ECS using CloudFormation beta testing

* bug fixes for cloudformation

* bug fixes for cloudformation

* saving before I tear up networking

* logging works

* it works

* remove extra configs

* parameterize the rds instance

* lateral joins for funnel render

* Cleaned up code for testing and review

* debugging tests

* account for users who convert and out of order funnel events

* remove print (:

* Don't trust ORM

* address type errors

* change how scoring is calculated to not be based on index

* feedbacks

* remove unneeded import

* cleanup comment and add types where we can

* comment on django query formatting

* DRY the initial format of query body

* DRY append once base_body to lateral_joins
2020-05-18 17:40:22 +01:00
Raul Gallegos
451da21d05
Closes #476 set trends page as default for users (#656) 2020-04-24 13:25:37 +01:00
Tim Glaser
853bcfaf57
Closes #636 docker for local dev (#638) 2020-04-22 11:12:37 +01:00