Vyacheslav Matyukhin
4397a310fe
feat: create dashboards with graphql
2022-04-20 01:29:12 +04:00
Vyacheslav Matyukhin
4a28c51169
feat: run prisma generate on build
2022-04-19 01:30:15 +03:00
Vyacheslav Matyukhin
ba93178e14
cleanup: remove unused api endpoints
2022-04-19 01:15:46 +03:00
Vyacheslav Matyukhin
60d3973ea3
feat: rewrite frontend with graphql (WIP)
2022-04-19 01:15:42 +03:00
Vyacheslav Matyukhin
b02b730ac5
feat: prisma integration and initial queries for graphql
2022-04-19 01:15:09 +03:00
Vyacheslav Matyukhin
71ab64343f
refactor: extract shuffleArray to src/utils
2022-04-19 01:15:09 +03:00
Vyacheslav Matyukhin
4da6e08448
feat: minimal graphql server
2022-04-19 01:15:09 +03:00
Vyacheslav Matyukhin
6543a729f3
refactor: rename forecast -> question (see #40 )
2022-04-19 01:15:06 +03:00
2ee82cdd15
fix: embed bug
2022-04-12 17:35:24 -04:00
132deea7b3
Merge pull request #55 from quantified-uncertainty/vercel
...
merge: Vercel and Terraform
2022-04-12 17:20:21 -04:00
Vyacheslav Matyukhin
f64a5c04c3
Merge branch 'forecast-html-css' into vercel
2022-04-12 22:58:26 +03:00
Vyacheslav Matyukhin
e320d50276
Merge pull request #53 from quantified-uncertainty/forecast-html-css
...
Frontend refactorings & dashboard features
2022-04-12 22:54:22 +03:00
Vyacheslav Matyukhin
6b0a9a4c41
feat: /dashboards/embed/[id] url schema
2022-04-12 22:21:32 +03:00
Vyacheslav Matyukhin
e4119d6112
ops: www domain
2022-04-12 12:57:36 +03:00
Vyacheslav Matyukhin
ba6b11ce6d
fix: reqToBasePath
2022-04-12 12:05:16 +03:00
Vyacheslav Matyukhin
25fad77f25
fix: basePath check
2022-04-12 11:57:35 +03:00
Vyacheslav Matyukhin
651471a961
ops: remove sslmode=require from pg uri
2022-04-12 11:57:14 +03:00
Vyacheslav Matyukhin
846e235e0c
fix: NEXT_PUBLIC_VERCEL_URL usage
2022-04-12 11:37:17 +03:00
Vyacheslav Matyukhin
473a372515
ops: move heroku_email to vars, set vercel framework
2022-04-12 11:15:33 +03:00
Vyacheslav Matyukhin
328fdd69bd
docs: infra notes in configuration.md
2022-04-12 11:05:30 +03:00
Vyacheslav Matyukhin
5ab67ce7fe
ops: more terraform, docs
2022-04-12 11:01:55 +03:00
Vyacheslav Matyukhin
860fc1eb70
ops: heroku
2022-04-12 00:32:34 +03:00
Vyacheslav Matyukhin
ee07435c62
feat: get rid of NEXT_PUBLIC_SITE_URL
2022-04-12 00:10:07 +03:00
Vyacheslav Matyukhin
bf08d04862
ops: DO, new vercel provider
2022-04-11 23:44:36 +03:00
Vyacheslav Matyukhin
5f19ff1c98
ops: domain, .env generator
2022-04-11 23:44:36 +03:00
Vyacheslav Matyukhin
5cf183ec6f
ops: initial terraform config
2022-04-11 23:44:36 +03:00
Vyacheslav Matyukhin
62e3a37c65
fix: capitalize component files
2022-04-10 17:34:11 +03:00
Vyacheslav Matyukhin
8d6cf48b41
docs: typo cleanup
2022-04-10 17:27:39 +03:00
Vyacheslav Matyukhin
115bd30708
feat: 404 on non-existent dashboards
2022-04-10 16:54:51 +03:00
Vyacheslav Matyukhin
986f7ab888
feat: new dashboards logic, closes #17
2022-04-10 16:54:51 +03:00
Vyacheslav Matyukhin
d92f18db3f
docs: coding style
2022-04-10 16:54:51 +03:00
Vyacheslav Matyukhin
ce9bb0eedf
refactor: frontend code, especially DisplayForecast(s)
2022-04-10 16:54:48 +03:00
5e7596e6e7
tweak: Clean infer description + cosmetic changes
2022-04-09 23:21:35 -04:00
789fafd0f6
tweak: cosmetic improvments to good judgment fetcher
2022-04-09 23:21:24 -04:00
7aa44746bf
feat: Rework INFER fetcher using the json embedded in its html
2022-04-08 11:14:43 -04:00
63219d429d
fix: add missing dependency
2022-04-08 10:01:30 -04:00
Vyacheslav Matyukhin
a65f157be8
Merge pull request #48 from QURIresearch/prisma-migrate
...
Prisma migrate
2022-04-08 00:18:25 +03:00
Vyacheslav Matyukhin
8b70568795
feat: initial prisma migration
2022-04-07 23:19:59 +03:00
Vyacheslav Matyukhin
5e34ebf35e
cleanup: unnecessary db-related code
2022-04-07 22:47:17 +03:00
Vyacheslav Matyukhin
6a6597c657
WIP: more prisma migrate
2022-04-07 22:47:17 +03:00
Vyacheslav Matyukhin
592309559d
feat: prisma (empty config)
2022-04-07 22:47:17 +03:00
Vyacheslav Matyukhin
ebe09bd999
fix: /dashboards props type
2022-04-07 22:47:09 +03:00
7c89a1c6ad
Merge pull request #47 from QURIresearch/rootclaim-fix
...
Fix rootclaim fetcher
2022-04-06 21:14:30 -04:00
Vyacheslav Matyukhin
5aef91414c
fix: rootclaim ( fixes #39 )
2022-04-07 03:02:35 +03:00
Vyacheslav Matyukhin
afeca1e796
fix: avoid connection leaks in frontpage code
2022-04-06 02:16:55 +03:00
Vyacheslav Matyukhin
340dd3ac19
fix: /capture code
2022-04-06 01:51:32 +03:00
Vyacheslav Matyukhin
39e46b1fe6
fix: more dashboards fixing & ts changes
2022-04-06 00:36:38 +03:00
Vyacheslav Matyukhin
3771b53e4f
fix: platform labels in dashboards
2022-04-06 00:02:54 +03:00
067832b72f
fix: Tweak polymarket stars calculation b/c wash-trading incentives
...
Do this by adding liquidity requirements, rather than only loking at
volume
2022-04-05 10:46:46 -04:00
Vyacheslav Matyukhin
5ccbb7fabc
Merge pull request #42 from QURIresearch/no-schemas
...
Should be fine. Tables in `public` schema are ready.
Fixed secretEmbed and dashboards, fixed small bugs in platforms code (I'm starting to dislike the fact that platform fetchers have to populate `platform` field and set `id` to `${platform}-${shortId}`, it seems error-prone; maybe platforms should remove an object with `id: shortId` and without `platform`, and then an external code would populate it as needed... but then we'd need a different type for "fetcher output result", and I'm still hesitant).
Steps for the next half-hour:
- [ ] move tables to new DB instance in the US (copied with pg_dump/pg_restore)
- [ ] merge code, deploy on heroku/netlify
- [ ] switch to the new db
- [ ] update algolia index
- [ ] check that everything works
- [ ] drop schemas (from new DB, not a problem even in case of significant issues since we have backups and the old DB)
2022-04-02 03:12:36 +03:00