93 Commits

Author SHA1 Message Date
Jeremy Dorn
a7efc68c2c Fix BigQuery date parsing bug 2021-08-05 16:59:31 -05:00
Graham McNicoll
75e99f8f31 Removed unused import 2021-07-29 20:07:35 -07:00
Graham McNicoll
c7e5477204 Fixed problem where getExperimentsByIds returns experiments in a random order. 2021-07-29 20:03:21 -07:00
Graham McNicoll
3f8082dd66 New sharing and presentation feature (#31)
* Improved presentation modals and presentation style
* Cleaned up unused learnings. Improved logic for showing the right phases.
2021-07-29 09:44:42 -07:00
Jeremy Dorn
5bd8c7ad85 Switch experiments results to use the new async queriy engine (#32)
* Switch experiments results to use the new async queriy engine.
* Make the RunQueriesButton in a flex container
* Add mongo indexes for queries and snapshots. Fix dashboard formatting.
2021-07-26 08:16:42 -05:00
Jeremy Dorn
4a0dfe451b Improve docs on self-hosting and metrics. Fix formatting of markdown files. 2021-07-22 13:34:46 -05:00
Jeremy Dorn
a8dfb17d07 Add guardrail metric support. (#30) v0.2.3 2021-07-22 07:39:20 -05:00
Jeremy Dorn
503473fac2 Bug fixes: datasource format bug for bigquery, use UNION ALL instead of just UNION, variationIdFormat not saving properly. 2021-07-21 12:45:39 -05:00
Jon Wolfe
0796406e51 Fix: Catch uncaught promise rejection when trying to connect to mongo (#29)
* add-snowflake-role: Add role to snowflake setup params

* remove duplicate role field

* remove duplicate role field on type

Co-authored-by: Jon Wolfe <jon.wolfe@doxy.me>
2021-07-19 18:51:33 -05:00
Jeremy Dorn
6721cc779a Allow customizing snowflake default role. Fixes #28 2021-07-19 16:01:41 -05:00
Graham McNicoll
8b8feefd71 Metric tagging (#27)
* Add support for metric tags.

* Added the ability to add metrics by metric tag to experiments. Updated display on metric page.

* Persist new tags in the database.

Co-authored-by: Jeremy Dorn <jeremy@jeremydorn.com>
2021-07-16 09:06:50 -07:00
Jeremy Dorn
8a0453b198 Add support for PrestoDB (and Trino) (#25) 2021-07-16 10:50:59 -05:00
Jeremy Dorn
6cc3a8a075 Improve how Risk is displayed in results (#26) 2021-07-16 10:26:54 -05:00
Jeremy Dorn
860a287abc Fix bug with docker container when NODE_ENV !== "production"
Move pino-pretty to runtime dependencies for the back-end.
2021-07-06 09:14:09 -05:00
Jeremy Dorn
a57b796e64 Better logging and error messages for API. 2021-07-05 11:48:19 -05:00
Jeremy Dorn
7d78b4d807 Use job queue to update running experiment results every 6 hours. (#24)
* Use job queue to update running experiment results every 6 hours.

* Refactor the update job

* Connect to Mongo and start the queue automatically on back-end startup.
Limit queue prefetch to 5 per job type for better horizontal scalability.
v0.2.2
2021-07-04 20:12:59 -05:00
Itamar Faran
6c1e658fe9 Add bayes classes (#22)
Clean up and organization Python code, add a test suite.

Co-authored-by: Jeremy Dorn <jeremy@jeremydorn.com>
2021-07-04 15:38:09 -05:00
Jeremy Dorn
e64b39a7ea Add open source installation instructions to the docs (#23)
* Add open source installation instructions to the docs.
Also add philosophy section to the docs homepage.

* Improve typography of the docs

* Add missing border to dark mode code blocks. Standardize dark mode border colors.

* Add link to installation instrucitons in readme.
2021-07-02 11:03:16 -05:00
Jeremy Dorn
b8cffc97fe Update README.md 2021-07-01 11:21:31 -05:00
Jeremy Dorn
75052053b7 Add support for webhooks (#21)
Fixes #6
2021-06-30 21:43:30 -05:00
Jeremy Dorn
278f3f01aa Add optimized MongoDB indexes for auth lookups 2021-06-29 14:15:39 -05:00
Jeremy Dorn
5c14815947 Add optimized MongoDB indexes for the most frequently accessed queries. 2021-06-29 14:00:43 -05:00
Jeremy Dorn
bedac49134 Link experiments back to the idea they were created from. 2021-06-29 13:41:41 -05:00
Jeremy Dorn
4648f0cbce Python stats (#20)
*  Use Python for stats back-end instead of jStat
*  Change count metrics to use a Gaussian prior instead of Gamma
*  New more robust method for calculating credible intervals
*  Expose Bayesian Risk in front-end
*  Use Violin plots instead of bar chart to show credible intervals
*  Simplify back-end build process
*  Add typescript definitions for jStat (just the methods used)
*  Better sample data and onboarding experience
v0.2.1
2021-06-28 17:39:06 -05:00
Jeremy Dorn
fd27298f6f Fix broken api docs link. Clarify the API endpoint urls for self-hosted vs cloud deployments. 2021-06-28 15:26:42 -05:00
Jeremy Dorn
0f6f265a30 Fix documentation links in instructions modal. 2021-06-28 13:52:41 -05:00
Jeremy Dorn
0238ce972b Bug fix: escape regex and use single quotes in clickhouse queries 2021-06-16 07:56:48 -05:00
Jeremy Dorn
ac77ccf350 Add ClickHouse as a supported datasource. Fixes #18 (#19) 2021-06-15 21:47:11 -05:00
Jeremy Dorn
c1c074c933 Add Ruby implementation instructions 2021-06-15 21:35:58 -05:00
Jeremy Dorn
2aed4e42a1 Add python client library 2021-06-15 14:26:53 -05:00
Jeremy Dorn
150626e417 Update docs.
-  Update js docs to v0.11.0
-  Update react docs to v0.4.0
-  Add new 'build-your-own' client library docs page
-  Update in-app instructions for js/react to match latest versions
-  Fix url regex escaping bug in inline-script code
2021-06-11 13:11:13 -05:00
Graham McNicoll
abeda1f517 Added onboarding page with questions and settings (#17)
* Added third welcome page with org questions and settings
* Add visual editor callout on getting started page.
* Fix bug where tech stack / data source preferences were not saving to Mongo.
* Update telemetry tracking throughout app.

Co-authored-by: Jeremy Dorn <jeremy@jeremydorn.com>
v0.2.0
2021-06-08 10:25:28 -07:00
Jeremy Dorn
d42cd08c8a Docs: constrain max-width on mobile. 2021-06-07 11:51:35 -05:00
Jeremy Dorn
61e3e2783c Try to fix tailwind css error 2021-06-06 17:31:38 -05:00
Jeremy Dorn
d7a70fd33a Fix tailwindcss bug in docs 2021-06-06 17:14:32 -05:00
Jeremy Dorn
53da7b599d Update docs 2021-06-06 16:55:07 -05:00
Jeremy Dorn
d3aa6a4ebf Use SQL queries to configure data sources (#16)
* Use SQL queries to configure data sources instead of a bunch of parameterized fields.
2021-06-06 15:03:52 -05:00
Jeremy Dorn
ad6b3db96b Use node-dev instead of ts-node-dev to fix js-heap errors. 2021-06-06 08:56:37 -05:00
Jeremy Dorn
a92e904963 Create CODE_OF_CONDUCT.md 2021-06-05 20:19:32 -05:00
Graham McNicoll
06c9231a63 Added a way to logout on the create org modal 2021-06-03 18:21:13 -07:00
Graham McNicoll
7e7d90356a Abstracted the onboarding welcome frame into new component, and updated the create org modal to use it (#15)
* Abstracted onboarding welcome frame into new component, and moved the welcome flow and create org to this component
2021-06-03 15:44:03 -07:00
Jeremy Dorn
41278e9e1d Use the short SHA for docker git tags. Add comments to github workflow. 2021-06-03 17:06:48 -05:00
Jeremy Dorn
1fd820d121 Split github workflow into separate jobs and optimize runs.
- Only run CI tasks if any of the apps changed (i.e. skip if only README changed)
- Only deploy to docker from the main repo on the main branch or when a release is made and there are front-end or back-end changes
- Only deploy to prod from the main repo on the main branch when there are back-end changes
v0.1.7
2021-06-03 11:18:26 -05:00
Jeremy Dorn
b8e26d8cf2 Add CONTRIBUTING.md file (for real this time) 2021-06-03 09:46:25 -05:00
Jeremy Dorn
993e2647c5 Add CONTRIBUTING.md file 2021-06-03 09:43:20 -05:00
Graham McNicoll
6d3c7259b6 New auth page design and first signup experience (#14)
* Reworked local auth page to be more visually interesting and informative
* Added first time mode for welcome form
* Better handling for Mongo connection errors
2021-06-03 08:48:50 -05:00
Jeremy Dorn
97b7aaafe2 Add exposed ports to docker, add cron command, update readme 2021-06-02 17:20:59 -05:00
Jeremy Dorn
301e13a10d Changes to enable running Growth Book in a docker container (#13)
-  Load front-end environment variables at runtime instead of buildtime
-  Add root Dockerfile and docker-compose.yml
-  Update CI to push docker images to Docker Hub
-  Update quick start in README to use `docker-compose up -d` instead of `yarn dev`
2021-06-02 16:15:31 -05:00
Jeremy Dorn
83f8352b0b Add "View Docs" button to left nav, make organizationId part of the api cache key. 2021-06-02 09:01:29 -05:00
Jeremy Dorn
f2e69b540f Add option to import sample data to Getting Started screen.
Don't start docs automatically with `yarn dev` anymore.
Temporary fix for stats bug when confidence interval doesn't match up with ChanceToWin.
On experiment list, default to first tab with data.
Remove segment comparisons.
2021-06-01 22:55:18 -05:00