Commit Graph

441 Commits

Author SHA1 Message Date
Vyacheslav Matyukhin
8fac309bf3
Merge pull request #88 from quantified-uncertainty/embed-question-page
Embed question page
2022-06-01 00:12:21 +03:00
Vyacheslav Matyukhin
c3d144337b
Merge pull request #84 from quantified-uncertainty/metaculus-improvements
Metaculus fetcher improvements
2022-05-31 22:11:09 +03:00
Vyacheslav Matyukhin
f5a3c16322
feat: metaculus group questions, description from api 2022-05-30 23:39:13 +03:00
Vyacheslav Matyukhin
addf87b22a
feat: embed question pages 2022-05-26 17:11:19 +04:00
Vyacheslav Matyukhin
19779bca02
fix: handle empty guesstimate descriptions 2022-05-26 17:02:26 +04:00
Vyacheslav Matyukhin
1e357a75b8
fix: Stars positioning 2022-05-26 16:44:39 +04:00
Vyacheslav Matyukhin
a6e6053c63
refactor: options code; also gql-gen & new timestamps 2022-05-26 16:28:50 +04:00
05c87e0e17 Merge branch 'master' of github.com:QURIresearch/metaforecast 2022-05-26 08:04:55 -04:00
b60316e450 tweak: Add code to get forecasts first fetched today
to contrib folder
2022-05-26 08:03:58 -04:00
Vyacheslav Matyukhin
ab2efa8a88
feat: remove old timestamp field 2022-05-26 14:15:06 +04:00
Vyacheslav Matyukhin
31555615a9
Merge pull request #86 from quantified-uncertainty/new-questions
feat: firstSeen, new questions in graphql
2022-05-26 12:50:26 +03:00
Vyacheslav Matyukhin
9c162fab9d
feat: expose fetchedStr and firstSeenStr 2022-05-26 13:47:54 +04:00
Vyacheslav Matyukhin
a80bc51d58
Merge pull request #87 from nikosbosse/fix-star-link
Update link to the functions that show how stars are calculated
2022-05-22 16:57:59 +03:00
Nikos Bosse
5c65cdf2f7
Update link to the functions that show how stars are calculated
- now links to the folder where all the files for the individual platforms are located and explains how to find the code
- haven't checked the link works, so maybe needs a direct link to https://github.com/quantified-uncertainty/metaforecast/tree/master/src/backend/platforms
2022-05-22 11:02:07 +02:00
Vyacheslav Matyukhin
5fdea80f8b
feat: firstSeen, new questions in graphql 2022-05-21 00:59:33 +04:00
40c6f57c11 fix: Deal with questions with no options
Like https://metaforecast.org/questions/metaculus-6326
2022-05-20 14:37:40 -04:00
020f0c0c5e tweak: Further question page changes
- Add estimate of likeliest option to top
- Or of event happening for yes/no questions
- Restore selection highlight from legend
  - But avoid weird color errors
- Add a bunch of parameters to QuestionOptions
  - I could just have added a flag for isInQuestionPage,
  - Not sure if this is the best way to go about this

I'm not particularly planning to continue with changes in the upcoming
days
2022-05-20 13:53:21 -04:00
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
3230c0d0c8 feat: add contrib folder 2022-05-19 15:56:37 -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
0d0714a5d4
Merge pull request #83 from quantified-uncertainty/question-page-design
Better question page styling; ol styling
2022-05-13 01:49:04 +03: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
6fbeea2267
Merge pull request #79 from quantified-uncertainty/stricter-typescript
Strict typescript & platform/cli arguments
2022-05-12 17:32:22 +03: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
44fbd0cd2b
Merge pull request #74 from quantified-uncertainty/questions-page-2
Question pages and charts
2022-05-09 17:31:04 +03: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