Commit Graph

61 Commits

Author SHA1 Message Date
Vyacheslav Matyukhin
addf87b22a
feat: embed question pages 2022-05-26 17:11:19 +04:00
Vyacheslav Matyukhin
a6e6053c63
refactor: options code; also gql-gen & new timestamps 2022-05-26 16:28:50 +04:00
Vyacheslav Matyukhin
5fdea80f8b
feat: firstSeen, new questions in graphql 2022-05-21 00:59:33 +04:00
Vyacheslav Matyukhin
fad619385c
fix: circular dependency 2022-05-12 18:59:07 +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
f6e2e8cfa1
refactor: more typescript 2022-05-09 23:27:51 +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
066b79fe12
refactor: move stuff around, simplify / code 2022-05-07 22:49:14 +04:00
Vyacheslav Matyukhin
3b85c32c9d
feat: capture on question pages, fixes, new frontpage condition 2022-05-04 01:34:27 +04:00
Vyacheslav Matyukhin
12a236186f
feat: css improvements 2022-04-30 00:44:13 +04:00
Vyacheslav Matyukhin
da7415bf65
feat: capture on individual questions pages 2022-04-29 21:59:46 +04:00
Vyacheslav Matyukhin
55b320c528
feat: chats (merge code from #63) 2022-04-27 23:51:00 +04:00
Vyacheslav Matyukhin
54cd3c259b
feat: /status page 2022-04-27 23:02:14 +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
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
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
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
ee07435c62
feat: get rid of NEXT_PUBLIC_SITE_URL 2022-04-12 00:10:07 +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
Vyacheslav Matyukhin
ebe09bd999
fix: /dashboards props type 2022-04-07 22:47:09 +03:00
Vyacheslav Matyukhin
afeca1e796
fix: avoid connection leaks in frontpage code 2022-04-06 02:16:55 +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
Vyacheslav Matyukhin
1b6ff8d440
fix: platform names, dashboards, cleanups 2022-04-02 02:25:12 +03:00
Vyacheslav Matyukhin
1461002070
fix: secretEmbed 2022-04-02 01:38:39 +03:00
Vyacheslav Matyukhin
72db637972
feat: new db structure; platform labels 2022-04-01 23:24:35 +03:00
Vyacheslav Matyukhin
a1ba23e340
feat: data in public schema; merge history tables 2022-03-31 13:00:09 +03:00
Vyacheslav Matyukhin
4eeab9c861
WIP: no schemas 2022-03-30 20:21:38 +03:00
Vyacheslav Matyukhin
066eb0302a
style: bring back double quotes from prettier
One large commit to avoid dealing with messy patches later on.
Turns out I had
https://marketplace.visualstudio.com/items?itemName=amatiasq.sort-imports
installed with single quotes which messed up all double quotes from
prettier.
2022-03-28 20:59:07 +03:00
5b9b36d2ed
Merge pull request #23 from QURIresearch/more-typescript
feat: More typescript & cleanups
2022-03-27 22:45:25 -04:00
Vyacheslav Matyukhin
164f996f41
feat: convert all js to ts
allowJs is set to false in tsconfig.json now; please write all future
code with typescript.

cleanups:
- removed platforms/deprecated
- removed flow/history/old
    - see https://github.com/QURIresearch/metaforecast/issues/22
- commented some invalid axios options
- minor fixes with mismatching function arguments
- commented invalid mongo call in databaseReadWithReadCredentials
- {encoding: 'utf-8'} in readFileSync calls
2022-03-28 00:32:47 +03:00
Vyacheslav Matyukhin
41b314b84a
cleanup: more ts, delete unused api endpoints 2022-03-28 00:32:27 +03:00
698a11c28f feat: add plausible.io script 2022-03-27 17:19:06 -04:00
1ac56a3ee6 tweak: Change about page 2022-03-27 11:34:25 -04:00
Vyacheslav Matyukhin
7565540f8a
feat: repo renamed 2022-03-27 00:33:13 +03:00
Vyacheslav Matyukhin
d662572bcd
feat: don't update progress bar on searches 2022-03-26 14:42:13 +03:00
Vyacheslav Matyukhin
d921885f1b
feat: nprogress bar 2022-03-26 14:23:38 +03:00
Vyacheslav Matyukhin
1b1c0f4228
refactor: move layout.tsx to web/display
https://metaforecast.org/layout is not a real page, so it shouldn't be
in src/pages.
2022-03-26 04:15:07 +03:00