Commit Graph

374 Commits

Author SHA1 Message Date
7236e9662f tweak: chart padding 2022-05-19 20:54:47 -04:00
3afbb647da tweak: minor aesthetic chart tweaks 2022-05-19 19:48:31 -04:00
51bdfc915d tweak: minor aesthetic tweaks 2022-05-19 17:50:46 -04:00
Vyacheslav Matyukhin
d684d074f5
feat: metaculus fetcher takes markdown description from js vars 2022-05-19 14:16:08 +04:00
Vyacheslav Matyukhin
4d736f711d
feat: metaculus validates api, supports --id cli arg 2022-05-19 14:16:08 +04:00
159f9c2b45 tweak: Question page style tweaks 2022-05-18 20:53:00 -04:00
Vyacheslav Matyukhin
e6e9f9bdbc
feat: better question page styling; ol styling 2022-05-13 02:23:06 +04:00
Vyacheslav Matyukhin
fad619385c
fix: circular dependency 2022-05-12 18:59:07 +04:00
Vyacheslav Matyukhin
2d5e73dd8b
feat: store smarkets original contracts and prices 2022-05-12 18:33:30 +04:00
Vyacheslav Matyukhin
fcbc627d1d
feat: improve smarkets; cli args and partial fetchers 2022-05-12 17:58:56 +04:00
Vyacheslav Matyukhin
f37a49e398
refactor: strict typescript
also:
- save history simultaneously with question data
- update squiggle
- minor refactorings
2022-05-11 01:45:02 +04:00
Vyacheslav Matyukhin
da03fa8804
refactor: stars calculation moved to platforms 2022-05-10 01:15:18 +04:00
Vyacheslav Matyukhin
ac7b541896
refactor: platforms don't need to pass in results 2022-05-09 23:34:56 +04:00
Vyacheslav Matyukhin
f6e2e8cfa1
refactor: more typescript 2022-05-09 23:27:51 +04:00
Vyacheslav Matyukhin
439a9045da
refactor: some typescript improvements 2022-05-09 21:37:28 +04:00
Vyacheslav Matyukhin
5d2bec1bfc
feat: next/image on /tools, update capture screenshot 2022-05-09 18:25:29 +04:00
Vyacheslav Matyukhin
5c248388b6
feat: guesstimate platform, show guesstimate viz on question pages 2022-05-09 17:49:36 +04:00
Vyacheslav Matyukhin
05b0daa631
feat: question page layout tuning 2022-05-09 15:29:31 +04:00
Vyacheslav Matyukhin
a2f94efcc7
feat: full legend items name on hover 2022-05-08 11:09:37 +04:00
Vyacheslav Matyukhin
066b79fe12
refactor: move stuff around, simplify / code 2022-05-07 22:49:14 +04:00
Vyacheslav Matyukhin
8c5ed35c0f
feat: lazy-load charts, avoid ssr 2022-05-07 22:12:19 +04:00
Vyacheslav Matyukhin
da66ea05f8
feat: render highlighted series last 2022-05-07 01:56:20 +04:00
Vyacheslav Matyukhin
7b1ccc2252
fix: stable options sorting 2022-05-07 01:39:04 +04:00
Vyacheslav Matyukhin
fa57a78cb9
fix: victory groups order 2022-05-07 01:28:42 +04:00
Vyacheslav Matyukhin
cf8d79b8e4
feat: highlight lines, refactorings 2022-05-07 01:17:37 +04:00
Vyacheslav Matyukhin
290cb48960
feat: legend improvements 2022-05-06 23:51:26 +04:00
Vyacheslav Matyukhin
43383237aa
fix: label positioning and padding 2022-05-05 23:09:10 +04:00
Vyacheslav Matyukhin
b723c3026b
feat: improve chart tooltips 2022-05-05 01:38:31 +04:00
Vyacheslav Matyukhin
e155781fcb
feat: scale and domain in charts, fixes a few bugs 2022-05-05 01:02:55 +04:00
Vyacheslav Matyukhin
9973c25054
fix: sorting order 2022-05-04 02:03:57 +04:00
Vyacheslav Matyukhin
3ec3c873ff
feat: sort chart options by current probability 2022-05-04 01:58:34 +04:00
Vyacheslav Matyukhin
3b85c32c9d
feat: capture on question pages, fixes, new frontpage condition 2022-05-04 01:34:27 +04:00
Vyacheslav Matyukhin
3ae7a68cb2
cleanups: charts 2022-04-30 23:39:57 +04:00
Vyacheslav Matyukhin
12a236186f
feat: css improvements 2022-04-30 00:44:13 +04:00
Vyacheslav Matyukhin
9507579a7a
cleanups 2022-04-29 23:00:57 +04:00
Vyacheslav Matyukhin
8e37d5761b
feat: icon and hover highlight for external link 2022-04-29 22:14:11 +04:00
Vyacheslav Matyukhin
822225b781
fix: order history entries 2022-04-29 22:09:19 +04:00
Vyacheslav Matyukhin
da7415bf65
feat: capture on individual questions pages 2022-04-29 21:59:46 +04:00
3842921c08 fix: display 2022-04-28 19:15:38 -04:00
83debf4ae9 fix: too many console.logs 2022-04-28 19:09:32 -04:00
6aea4f6b6d tweak: add indicators
Various indicators code should probably be moved to its own file.
2022-04-28 18:39:59 -04:00
07a7bb0c55 Merge branch 'questions-page-2' after solving conflicts 2022-04-28 17:49:23 -04:00
bbe0fd5982 fix: further chart tweaks 2022-04-28 17:45:39 -04:00
Vyacheslav Matyukhin
42f3160abe
fix: inverted binary forecasts, fixes #76 2022-04-29 00:17:46 +04:00
340d99b485 tweak: Charts
Add line, reorganize display

Also fix nasty bug where probabilities are inverted in frontpage
2022-04-28 15:22:22 -04:00
Vyacheslav Matyukhin
55b320c528
feat: chats (merge code from #63) 2022-04-27 23:51:00 +04:00
Vyacheslav Matyukhin
692dee183e
feat: reenable question page links 2022-04-27 23:22:11 +04:00
Vyacheslav Matyukhin
d378674c8c
fix: /status colors 2022-04-27 23:20:05 +04:00
Vyacheslav Matyukhin
54cd3c259b
feat: /status page 2022-04-27 23:02:14 +04:00
Vyacheslav Matyukhin
396a39372d
fix: pointer cursor for CopyText 2022-04-27 22:27:36 +04:00
Vyacheslav Matyukhin
185464c0ae
feat: insert questions without removing (slower, but fixes fks) 2022-04-27 22:07:00 +04:00
Vyacheslav Matyukhin
73a47d94c3
refactor: question components 2022-04-26 01:34:18 +04:00
Vyacheslav Matyukhin
ab6f17ffe0
feat: question pages; various refactorings 2022-04-26 00:46:42 +04:00
Vyacheslav Matyukhin
ece3ac4780
refactor: /about uses Card, minor cleanups 2022-04-26 00:44:11 +04:00
Vyacheslav Matyukhin
10945a6dd5
refactor: Layout component cleanups 2022-04-26 00:44:11 +04:00
Vyacheslav Matyukhin
6720a39a95
fix: footer indicators 2022-04-26 00:42:27 +04:00
Vyacheslav Matyukhin
c039dde3e7
fix: expose qualityIndicators fields in graphql 2022-04-26 00:24:56 +04:00
Vyacheslav Matyukhin
7520c43307
feat: docstrings in schema 2022-04-26 00:23:31 +04:00
Vyacheslav Matyukhin
fd2c39435d
refactor: prisma everywhere, drop unused columns and tables 2022-04-23 23:44:38 +04:00
Vyacheslav Matyukhin
da83eabdbe
fix: ssr for search pages 2022-04-23 01:15:41 +04:00
Vyacheslav Matyukhin
02cb8089a7
fix: prisma import, rename global._prisma 2022-04-23 00:49:52 +04:00
Vyacheslav Matyukhin
66938bcaf4
debug: exploratory logging for frontpage 2022-04-23 00:40:24 +04:00
Vyacheslav Matyukhin
38d666fec0
feat: filter out non-existent questions on frontpage 2022-04-23 00:40:09 +04:00
Vyacheslav Matyukhin
34cfa31fe9
fix: getFrontpage query 2022-04-23 00:18:53 +04:00
Vyacheslav Matyukhin
b258afe16d
feat: store question ids only for frontpage (closes: #49) 2022-04-22 23:50:39 +04:00
Vyacheslav Matyukhin
3ef786db4b
fix: guesstimate/visualization 2022-04-22 00:28:48 +04:00
Vyacheslav Matyukhin
9a3b7c9d94
docs: graphql, schema comments 2022-04-22 00:28:39 +04:00
Vyacheslav Matyukhin
db85d80ddb
fix: capture page 2022-04-21 00:35:48 +04:00
Vyacheslav Matyukhin
689edac83e
cleanup: more graphql, remove rest 2022-04-21 00:29:09 +04:00
Vyacheslav Matyukhin
5f56ebf880
fix: upsert dashboards 2022-04-21 00:28:25 +04:00
Vyacheslav Matyukhin
f4bb0d19eb
fix: ssr for / 2022-04-21 00:01:22 +04:00
Vyacheslav Matyukhin
297eadc59b
feat: graphql introspection, timestamps, custom scalar skaffolding 2022-04-20 02:50:19 +04:00
Vyacheslav Matyukhin
4397a310fe
feat: create dashboards with graphql 2022-04-20 01:29:12 +04: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
Vyacheslav Matyukhin
f64a5c04c3
Merge branch 'forecast-html-css' into vercel 2022-04-12 22:58:26 +03:00
Vyacheslav Matyukhin
6b0a9a4c41
feat: /dashboards/embed/[id] url schema 2022-04-12 22:21:32 +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
846e235e0c
fix: NEXT_PUBLIC_VERCEL_URL usage 2022-04-12 11:37:17 +03:00
Vyacheslav Matyukhin
ee07435c62
feat: get rid of NEXT_PUBLIC_SITE_URL 2022-04-12 00:10:07 +03:00
Vyacheslav Matyukhin
62e3a37c65
fix: capitalize component files 2022-04-10 17:34:11 +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
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
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
ebe09bd999
fix: /dashboards props type 2022-04-07 22:47:09 +03: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