Marshall Polaris
515928a69a
Turn on no unused variables linting, kill dead code ( #484 )
...
* Slightly fix up ChoicesToggleGroup
* Kill a bunch of dead code and unused variables
* Turn on no-unused-vars lint
* Un-kill some dead code that James likes
2022-06-12 19:04:55 -07:00
mantikoros
3d39b705ae
stats: show market type, payout mechanism
2022-06-12 18:37:01 -05:00
mantikoros
e34d34080d
Show liquidity pool; change tab to "Subsidize"
2022-06-12 18:34:18 -05:00
Marshall Polaris
8fce8d5f23
Improve visibility of updateFooMetrics
functions behavior ( #485 )
...
* Make updateFooMetrics functions manually testable
* Add logging, test script to metrics update functions
* Improve on `batchedWaitAll` for update functions
2022-06-12 16:22:29 -07:00
Marshall Polaris
6ac129a0b8
Validate that user can pay for market ( #487 )
2022-06-12 14:23:23 -07:00
Austin Chen
a7dca6a163
Add ACLU charity
2022-06-11 18:06:44 -07:00
Austin Chen
49bd954945
Rename to "Manifold for Charity"
2022-06-11 09:15:59 -07:00
Marshall Polaris
1ab17bbbf0
Bump metrics updater functions to 1GB memory
2022-06-10 22:25:54 -07:00
James Grugett
789c9aa32a
Stats: Add chart of the amount of mana bet
2022-06-10 23:44:19 -05:00
James Grugett
457db07da4
Show all answers in answer panel
2022-06-10 23:28:09 -05:00
James Grugett
f4a66263dd
Stats: Compute charts for total actions of top tenth of users
2022-06-10 23:22:48 -05:00
Marshall Polaris
00d7e622df
Query bets all at once in updateUserMetrics ( #477 )
2022-06-10 21:00:19 -07:00
Marshall Polaris
d8dc91d4b7
Optimize updateContractMetrics
( #476 )
...
* Don't query bets repeatedly
* Don't read entire database of contracts for no reason
* Fix lint
2022-06-10 21:00:09 -07:00
Marshall Polaris
3a6960c71b
Simply do not update the feed ( #474 )
2022-06-10 20:55:51 -07:00
Marshall Polaris
6956f0d730
Implement really obvious optimizations on placebet
, sellbet
, sellshares
( #452 )
...
* Change authed endpoints to not look up users unnecessarily
* Parallelize some extremely parallelizable DB requests
* Clean up overcomplicated sellshares logic
2022-06-10 17:51:55 -07:00
Ian Philips
ee816d6552
Must listen to contract updates for probs to update ( #482 )
...
* Must listen to contract updates
* remove unused import
* Rename liveContract
2022-06-10 17:36:18 -06:00
Ian Philips
789bbced5f
Ignore manifold as lp for now
2022-06-10 17:23:17 -06:00
Ian Philips
89784bf5eb
Notifications for liquidity proiders/provisions ( #478 )
...
* Notifications for liquidity proiders/provisions
* typo
* Rename
* Return default text
* Marke needs resolution notifications
* remove todo
2022-06-10 16:48:28 -06:00
Ian Philips
8bdc33f683
Revert using bet probs, must make totalShares work
2022-06-10 15:58:44 -06:00
Marshall Polaris
9cccc08021
Fix busted comment permalink copying code ( #481 )
...
* Fix busted comment permalink copying code
* Fix busted comment permalink href
2022-06-10 14:31:53 -07:00
Ian Philips
f1c3914807
Properly fill probs on DPMM bets ( #480 )
...
* Properly fill probs on DPMM bets
* Remove unused import
2022-06-10 15:15:52 -06:00
James Grugett
15882904eb
Disallow following yourself via market page
2022-06-10 12:55:55 -05:00
James Grugett
ad1a40ba3e
Switch select all to outline button
2022-06-10 12:45:51 -05:00
James Grugett
fba3905724
Creator leaderboard 'Market volume' => 'Total bet'
2022-06-10 12:35:18 -05:00
James Grugett
f2c6c8c483
Change Similar tab to exclude people you follow
2022-06-10 12:28:02 -05:00
James Grugett
a68e943d0b
Refactor to load bets once on market page
2022-06-10 12:23:35 -05:00
mantikoros
e28dfaaa80
fix ios scrolling in bet panel
2022-06-10 11:36:07 -05:00
James Grugett
86581a421a
Home: Add floating plus button that takes you to /create
2022-06-10 11:22:36 -05:00
James Grugett
25c1e9c3a3
Tweak layout of user page buttons
2022-06-10 11:11:31 -05:00
mantikoros
077bd946ff
fix ContractLeaderboard
2022-06-10 11:01:32 -05:00
Ian Philips
ead13b4e08
Time flies when you floor it
2022-06-10 09:15:55 -06:00
Austin Chen
05c6575ebb
Extend wasabicharts iframe height
2022-06-09 18:35:38 -07:00
mantikoros
c59d93979c
Fix overflow ( #472 )
...
* fix pool overflow bug by enforcing minimum share quantity in pool
* CPMM_MIN_POOL_QTY = 0.01
* use newPool
2022-06-09 20:25:05 -05:00
Marshall Polaris
6fac56d2c9
Make feed updating do much less work ( #455 )
2022-06-09 15:13:06 -07:00
Ian Philips
30eac1bd96
Initial probs = 50
2022-06-09 14:26:46 -06:00
James Grugett
2564eb9c26
Linkify bettor username in Bets tab
2022-06-09 15:00:31 -05:00
mantikoros
3858f8fbea
withdraw liquidity: redeem surplus shares, adjust total depostits, adjust amount for current prob, set isLiquidityProvision for surplus bets, error handling
2022-06-09 12:47:02 -05:00
Ian Philips
699bddcb2a
Notif ux improvements ( #471 )
...
* Save resolved values in notifs
* Clean up
* Various ux improvements
2022-06-09 11:39:23 -06:00
Ian Philips
8634af702a
Save resolved values in notifs ( #470 )
...
* Save resolved values in notifs
* Clean up
2022-06-09 10:30:26 -06:00
Ian Philips
64f04185d4
Fix comment inputs on mobile
2022-06-09 10:15:34 -06:00
Ian Philips
bdb3bbd960
Don't open comment w/o new bet
2022-06-09 08:53:01 -06:00
Ian Philips
65bc0f0f86
Disable always autofocus
2022-06-09 07:36:36 -06:00
Ian Philips
65a879d5ab
Save resolution with notif
2022-06-09 07:31:53 -06:00
Ian Philips
3d18b12ede
bet.probAfter => getDpmOutcomeProb
2022-06-09 07:22:03 -06:00
James Grugett
f52b756163
Use lighter gray in small follow button to deemphasize
2022-06-08 23:06:25 -05:00
James Grugett
a2eece5f5c
Reveal all bets in Bets tab from June 1st onward
2022-06-08 23:03:07 -05:00
Marshall Polaris
5a2ff18859
Add paging to /markets
API endpoint ( #468 )
...
* Add really simple paging to markets endpoint
* Document changes to markets endpoint
* n -> limit
2022-06-08 18:08:06 -07:00
Ian Philips
01adf50ae1
Update FR comment prob and input after bet ( #467 )
...
* Update FR comment prob and input after bet
* Remove comment
* eslint
* Use proper deps and useEvent hook
2022-06-08 17:09:49 -06:00
mantikoros
52dd68303a
dpm: don't use weightedShareTotal
2022-06-08 16:18:00 -05:00
TrueMilli
b231d0968f
dpm fix multi resolution ( #461 )
...
* fix dpm prob
* refactoring
* remove newline
* refactoring
2022-06-08 16:06:14 -05:00