Sinclair Chen
b7df1a7043
Add ||spoilers|| ( #942 )
...
* Add ||spoilers||
* Add spoiler button to format menu
2022-09-29 14:28:04 -07:00
Marshall Polaris
8929b2e6ba
Improve typing for chart tooltip stuff ( #962 )
2022-09-29 12:51:38 -07:00
mantikoros
9fc1e855ff
portfolio graph: put profit first
2022-09-29 13:53:43 -05:00
James Grugett
2cc08ba9e7
Daily movers cleanup
2022-09-29 11:42:17 -05:00
Sinclair Chen
46fab105d9
Fix tipper icon progression
2022-09-29 07:26:19 -07:00
Sinclair Chen
4cc985634a
Put slider z-index under bottom menu
2022-09-29 07:04:11 -07:00
Marshall Polaris
15cd8b1f94
Fix a couple small chart bugs ( #960 )
...
* Fix time clamping causing little visual glitch
* Fix tick formatting glitch
2022-09-28 23:27:42 -07:00
Marshall Polaris
8862425120
Clean up chart tooltip handling ( #959 )
2022-09-28 21:43:04 -07:00
Marshall Polaris
be010da9f5
Refactor chart tooltip stuff, add bet avatar to tooltips ( #958 )
...
* Use objects instead of tuples for chart data
* Carry bet data down into charts
* Refactor to invert control of chart tooltip display
* Jazz up the chart tooltips with avatars
* Tidying
2022-09-28 21:14:34 -07:00
Marshall Polaris
7f7e7acd61
Make binary and pseudonumeric charts re-render less on contract diff ( #955 )
2022-09-28 18:03:30 -07:00
Sinclair Chen
1f2c7271b7
put edit profile z-index below side menu
2022-09-28 14:30:00 -07:00
Marshall Polaris
83de206e9e
Simply don't print zero ( #954 )
2022-09-28 14:20:28 -07:00
James Grugett
d55cedb36c
Load comments via static props
2022-09-28 13:11:26 -04:00
James Grugett
dba938032f
Listen for updates on daily mover contract
2022-09-28 12:28:40 -04:00
ingawei
7c8e977d60
order book things ( #953 )
...
Adding order book to limit orders in mobile modal. This is pretty ugly and just a quick fix because people are complaining.
2022-09-28 09:04:47 -05:00
ingawei
e0e6838711
Auto-remove unused imports
2022-09-28 13:46:41 +00:00
ingawei
513cf7b290
added order book
2022-09-28 06:45:32 -07:00
Marshall Polaris
89c3ea559c
Clamp time range in history chart scales ( #952 )
2022-09-28 01:18:11 -07:00
Marshall Polaris
9238b20242
Modularize d3 imports ( #951 )
2022-09-28 01:00:39 -07:00
Marshall Polaris
925a9e850f
Hack up brush rendering to fix possible Chrome bug ( #950 )
2022-09-28 00:58:51 -07:00
Marshall Polaris
8f88af4e2a
Fix an edge case with chart mouseover tooltips ( #949 )
2022-09-28 00:56:43 -07:00
Marshall Polaris
5b54e7d468
Limit max width of FR legend tooltip labels ( #948 )
2022-09-27 22:25:37 -07:00
Marshall Polaris
c16adb9ec9
Fix potential clock sync issues with graph updating ( #947 )
2022-09-27 21:18:22 -07:00
Marshall Polaris
e0d9b4d335
Rewrite contract graphs ( #935 )
...
* Fiddle around with everything, WIP FR charts
* Implement numeric chart
* Reorganize everything into neat little files
* Add `AreaWithTopStroke` helper
* Tidying, don't gratuitously use d3.format
* Remove duplicate code
* Better tooltip bisection
* `NumericPoint` -> `DistributionPoint`
* Add numeric market tooltip
* Make numeric chart bucket points less wrong
* Clean up numeric bucket computation
* Clean up a bunch of tooltip stuff, add FR legend tooltips
* Fix a dumb bug
* Implement basic time selection
* Fix fishy Date.now inconsistency bugs
* Might as well show all the FR outcomes now
* Make tooltips accurate on curveStepAfter charts
* Make log scale PN charts work properly
* Adjust x-axis tick count
* Display tooltip on charts only for mouse
* Fix up deps
* Tighter chart tooltips
* Adjustments to chart time range management
* Better date formatting
* Continue tweaking time selection handling to be perfect
* Make FR charts taller by default
2022-09-27 20:24:42 -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
mantikoros
b9fffcfa30
sort: add back 24h volume, remove most traded
2022-09-22 14:20:44 -04:00
mantikoros
0c0e7b5582
Auto-prettification
2022-09-22 18:02:17 +00:00
mantikoros
06db5515f6
add qr code to share dialog
2022-09-22 14:01:37 -04:00
FRC
a5e293c010
Bring back tabs in groups ( #923 )
2022-09-22 12:12:53 -04:00
Sinclair Chen
4412d0195c
Add tooltips to market header icons ( #924 )
2022-09-22 11:53:55 -04:00
mantikoros
c15285aa64
pare down sorts; only show high/low prob on groups
2022-09-22 00:32:20 -04:00
Austin Chen
9ff2b62740
Remove console log
2022-09-21 23:10:25 -04:00
Sinclair Chen
e9ab234d61
copy: manifold dollars -> mana
2022-09-21 17:49:32 -07:00
ingawei
7988fdde60
simplify binary graphs ( #921 )
2022-09-21 18:49:20 -05:00
Pico2x
b875ac563d
Revert "Bring back tabs in groups ( #919 )"
...
This reverts commit b4a59cfb21
.
2022-09-21 19:14:05 -04:00
FRC
b4a59cfb21
Bring back tabs in groups ( #919 )
2022-09-21 18:27:49 -04:00
Austin Chen
d922900bda
Increase tip size to M$10
2022-09-21 18:25:56 -04:00
ingawei
24766740c5
cleaning up search bar for mobile ( #916 )
...
* cleaning up search bar for mobile
2022-09-21 16:48:32 -05:00
Marshall Polaris
a10605e74c
More work on contract page and tabs ( #912 )
...
* Consolidate comment thread component code
* Move `visibleBets` work down into bets tab
* Remove unnecessary cruft from contract page props
* Don't load all comments in contract page static props anymore
* Tidy up props a bit
* Memoize bets tab
* Memoize recommended contracts widget
2022-09-21 00:02:10 -07:00
Marshall Polaris
c7f29af2ee
Clean up some stuff in AnswersPanel
( #902 )
...
* Tidy up messy markup on FR answers panel
* Clean up obsolete feed-related answer stuff
* Slight fixup per James feedback
2022-09-20 22:07:40 -07:00
Marshall Polaris
6e2aa622ab
Refactor, improve efficiency of contract tabs stuff ( #909 )
...
* Move comments and tips fetching down into comments tab rendering
* Consolidate `contract-activity.tsx` into `contract-tabs.tsx`
* Move LP fetching into bets tab
2022-09-20 21:02:17 -07:00
mantikoros
54778ec1b1
Fix twitch onboarding ( #910 )
...
* don't show welcome dialog for twitch users
* handle sign up race conditions with more hooks
* content organization and copy tweaks
* lint
* fix import
2022-09-20 19:23:18 -05:00
Marshall Polaris
8870f0d356
Don't always require tips to render comments ( #898 )
2022-09-20 15:58:47 -07:00
Marshall Polaris
be4def49a2
Kill counts of comments and trades on contract page ( #900 )
2022-09-20 15:53:35 -07:00
Marshall Polaris
60c79141aa
Move comment-bet association code into comment creation trigger ( #899 )
...
* Move comment-bet association code into comment creation trigger
* Add index for new comments query
2022-09-20 15:25:58 -07:00
Marshall Polaris
faaf502114
Remove old check in free answer comment rendering ( #906 )
2022-09-20 14:11:26 -07:00
Marshall Polaris
30ce80d0c9
Extract signup UI from contract tabs component ( #901 )
2022-09-20 14:04:07 -07:00
Marshall Polaris
a2d9e8e3d2
Cleanup free answer comment stuff ( #897 )
...
* Remove unused most-recent-bet-time stuff
* Remove strange reply box hiding behavior
* Tidying markup
2022-09-20 14:03:33 -07:00
mantikoros
379e736e51
hide liquidity panel ( #904 )
2022-09-20 15:57:27 -05:00
Pico2x
fdd7dcc0ab
Rm group about/short description
2022-09-20 14:42:41 +01:00
James Grugett
4dc3eada1f
Add more stats. Fix timezone. Group retention and new user retention
2022-09-19 18:41:24 -05:00
James Grugett
d0973de2b4
Use percent chart, save unrounded stats
2022-09-19 17:45:52 -05:00
jahooma
c101337c38
Auto-remove unused imports
2022-09-19 21:25:50 +00:00
James Grugett
f3ff6d99c8
Remove colored background for daily movers to make it not feel like your own profit / loss
2022-09-19 16:24:36 -05:00
mantikoros
24cf42284f
replace "predictor" => "trader"
2022-09-19 14:03:52 -05:00
FRC
6aa45a2d12
Move group navbar to top ( #895 )
2022-09-19 17:29:17 +01:00
Ian Philips
5d65bb5bb1
Add message about unique bonuses withdrawn on n/a
2022-09-19 07:31:04 -06:00
Marshall Polaris
bfe00595e7
Make comments with bet outcome but no answer outcome appear ( #894 )
2022-09-19 00:53:10 -07:00
Marshall Polaris
a9e5020904
Render free response comment threads more simply without bets ( #893 )
2022-09-18 19:16:48 -07:00
Marshall Polaris
58dcbaaf6e
Precalculate and store current positions for users who make comments ( #878 )
2022-09-18 15:57:50 -07:00
James Grugett
676bcc159d
Fix missing key
2022-09-18 15:53:04 -05:00
James Grugett
1da4373335
Creating a group from create market adds it immediately
2022-09-18 14:24:29 -05:00
James Grugett
c9e782faa7
Simplify create group dialog
2022-09-18 13:49:28 -05:00
James Grugett
d8e9e7812a
Don't show Daily movers if there are none. Threshold is 1%
2022-09-17 19:47:04 -05:00
James Grugett
a14e7d3947
Move Algolia bits to own file in web/lib/service
2022-09-17 19:18:48 -05:00
mantikoros
47cc313aef
add back leaderboards link
2022-09-17 19:15:26 -05:00
mantikoros
44f9a1faa2
fix labels
2022-09-17 19:12:44 -05:00
mantikoros
f71791bdd5
fix labels
2022-09-17 19:10:34 -05:00
James Grugett
350ab35856
Tweak padding
2022-09-17 18:52:14 -05:00
mantikoros
37cff04e39
share dialog styling
2022-09-17 18:49:24 -05:00
James Grugett
e7ed893b78
Round prob in Daily movers
2022-09-17 18:45:40 -05:00
mantikoros
8f30ef38d9
fix imports
2022-09-17 18:40:45 -05:00
James Grugett
1fbadf8181
Improve Customize UI
2022-09-17 18:30:29 -05:00
mantikoros
438c12da57
refactor sidebar; add to mobile navbar
2022-09-17 18:26:02 -05:00
James Grugett
191ec9535c
Show more rows on daily movers all
2022-09-17 18:00:24 -05:00
James Grugett
b74fd57912
Show absolute prob in daily movers as well
2022-09-17 17:58:08 -05:00
mantikoros
d2471e2a02
group selector dialog: loading indicator, tracking
2022-09-17 14:59:02 -05:00