Commit Graph

1710 Commits

Author SHA1 Message Date
Marshall Polaris
e2096f9fa9 Make FR charts taller by default 2022-09-27 20:07:47 -07:00
Marshall Polaris
ac887a729b Continue tweaking time selection handling to be perfect 2022-09-27 18:34:21 -07:00
Marshall Polaris
399a3121ca Better date formatting 2022-09-27 17:59:27 -07:00
Marshall Polaris
6375f7cf2c Adjustments to chart time range management 2022-09-27 17:29:06 -07:00
Marshall Polaris
7718c8b910 Tighter chart tooltips 2022-09-27 17:29:06 -07:00
Marshall Polaris
5ff21a65f7 Fix up deps 2022-09-27 17:29:06 -07:00
Marshall Polaris
b8091df864 Display tooltip on charts only for mouse 2022-09-27 17:29:06 -07:00
Marshall Polaris
c70c8fdaf2 Adjust x-axis tick count 2022-09-27 17:29:06 -07:00
Marshall Polaris
681c572ef2 Make log scale PN charts work properly 2022-09-27 17:29:06 -07:00
Marshall Polaris
2eba78bf2b Make tooltips accurate on curveStepAfter charts 2022-09-27 17:29:06 -07:00
Marshall Polaris
875fa24359 Might as well show all the FR outcomes now 2022-09-27 17:29:06 -07:00
Marshall Polaris
3e6191af82 Fix fishy Date.now inconsistency bugs 2022-09-27 17:29:06 -07:00
Marshall Polaris
bf3c65bd6c Implement basic time selection 2022-09-27 17:29:06 -07:00
Marshall Polaris
6f69ecd087 Fix a dumb bug 2022-09-27 17:29:06 -07:00
Marshall Polaris
b9376a725e Clean up a bunch of tooltip stuff, add FR legend tooltips 2022-09-27 17:29:06 -07:00
Marshall Polaris
7fa11bdc4e Clean up numeric bucket computation 2022-09-27 17:29:06 -07:00
Marshall Polaris
6b9b0760b1 Make numeric chart bucket points less wrong 2022-09-27 17:29:06 -07:00
Marshall Polaris
a94864d974 Add numeric market tooltip 2022-09-27 17:29:06 -07:00
Marshall Polaris
aea963158e NumericPoint -> DistributionPoint 2022-09-27 17:29:06 -07:00
Marshall Polaris
55204cf8a8 Better tooltip bisection 2022-09-27 17:29:06 -07:00
Marshall Polaris
1a40e60012 Remove duplicate code 2022-09-27 17:29:06 -07:00
Marshall Polaris
66305bb129 Tidying, don't gratuitously use d3.format 2022-09-27 17:29:06 -07:00
Marshall Polaris
dc14edad26 Add AreaWithTopStroke helper 2022-09-27 17:29:06 -07:00
Marshall Polaris
575740963c Reorganize everything into neat little files 2022-09-27 17:29:06 -07:00
Marshall Polaris
221d2208df Implement numeric chart 2022-09-27 17:29:06 -07:00
Marshall Polaris
b6471a425a Fiddle around with everything, WIP FR charts 2022-09-27 17:29:06 -07:00
James Grugett
3ed29877ce Add dating docs to menu bar 2022-09-27 18:55:08 -04:00
mantikoros
80d4bffc95
US Elections map (#943)
* usa map

* state election map

* senate midterms

* iframe

* fix

* /midterms

* listen for updates
2022-09-27 17:50:43 -05:00
James Grugett
b21daa1248
Date docs on Manifold (#941)
* Date docs

* Create date doc

* Create and show a date market as well

* Move url to date-docs

* Date doc individual page

* Add share button

* Edit date docs

* Layout

* Add comments for create-post

* Add comments and back nav

* Fix urls

* Tweaks
2022-09-27 17:30:07 -05:00
Austin Chen
419c7ab636 Navigate to ?tab=portfolio 2022-09-27 17:16:48 -04:00
mantikoros
5e34b5a911 greyscale bet button if outcome is undefined 2022-09-27 13:15:13 -04:00
mantikoros
723d9dbece
Better bet summary (#936)
* show position, expected value, profit instead of "invested"

* move bet summary outside trades on market page

* refactor

* pass in userbets

* hide only if no bets; show invested on desktop

* various
2022-09-27 12:09:54 -05:00
ingawei
a12ed78813
Getting rid of console log, fixing multiple choice markets (#938) 2022-09-26 23:48:00 -05:00
mantikoros
aa93ec060d user page: put markets first 2022-09-27 00:46:30 -04:00
ingawei
fd90bc353b multiple choice betting fix 2022-09-26 21:40:56 -07:00
ingawei
e17a59ae23
Inga/mobilebetting (#911)
* mobile binary betting
2022-09-26 19:28:54 -05:00
ingawei
2fe9fe593d
Inga/profile (#937)
- Changed edit profile button
- got rid of banner
- merged stats and trades tab on profile
- made multicolored profit graph
2022-09-26 18:01:13 -05:00
James Grugett
68120ec2b2 Revert "Clean up and fix stuff on answers panel (#914)"
This reverts commit 721448f408.
2022-09-25 23:29:13 -04:00
Marshall Polaris
be2c60d3f3
Fix some rendering issues on contract page (#933)
* Memoize calculating sale amount on your bets list

* Don't re-render more than necessary with `useIsMobile` hook

* Use `useIsMobile` hook in `AmountInput`
2022-09-25 16:43:53 -07:00
James Grugett
57190e7876 Daily trending sort option 2022-09-23 15:33:50 -04:00
FRC
5a10132e2b
Add a "Posts" tab to groups (#926)
* Add a "Posts" sidebar item to groups

* Fix James's nits

* Show "Add Post" button only to users
2022-09-23 15:11:50 -04:00
jahooma
70bc5b2c4a Auto-prettification 2022-09-22 21:58:40 +00:00
James Grugett
c6d034545a
Home: Prob change cards. Sort by daily score. (#925)
* Add dailyScore: product of unique bettors (3 days) and probChanges.day

* Increase memory and duration of scoreContracts

* Home: Smaller prob change card for groups. Use dailyScore for sort order (algolia)

* Add back hover
2022-09-22 16:57:48 -05:00
Sinclair Chen
eaaa46294a fix empty comment send button style 2022-09-22 17:07:51 -04:00
Sinclair Chen
2240db9baa fix profile tab styling 2022-09-22 16:24:57 -04:00
Marshall Polaris
a1c3d0a2dd
Fix up comment permalink stuff (#915)
* Eliminate needless state/effects to highlight comments

* Scroll to comment on render if highlighted
2022-09-22 12:58:40 -07:00
Marshall Polaris
7704de6904
Next.js 12.2.5 -> 12.3.1 (#922) 2022-09-22 12:46:48 -07:00
Marshall Polaris
721448f408
Clean up and fix stuff on answers panel (#914) 2022-09-22 12:40:55 -07:00
Marshall Polaris
6ee8d90bdb
Eliminate redundant showReply/replyTo state (#917) 2022-09-22 12:40:44 -07:00
Marshall Polaris
6fe0a22a48
Improve contract leaderboard computation (#918)
* Fix and clean up top comment stuff

* Make leaderboard code generic on entry type

* No need to look up users on contract leaderboard
2022-09-22 12:40:27 -07:00