TrueMilli
9945738811
Refinement of LiteMarket ( #479 )
...
* split into two function to access the pool value as number
* rename function
* changes to the exported object
* removal of totalLiquidity: this value was only set for binary markets and it's value is identical to getPoolvalue(contract)
* pool: set in the same way as in the "Market Overview" from contract-info-dialog.tsx now
* totalShares: total shares of the contract. It's value is equal to the old "pool" value in case of binary markets
* update docs
* removal of totalShares
2022-06-14 12:01:12 -05:00
SirSaltyy
da2c6ae037
Update docs.md ( #499 )
...
* Create how to manifold.md
* Updates to docs
Updated bounties, added new "How to Manifold" page, edited "About Manifold Markets" page.
2022-06-14 17:57:16 +01:00
mantikoros
0ecff1b581
Heap analytics ( #500 )
...
* add heap
* remove hotjar
* prettier formatting conflicting with es lint
* stop weird prettier/eslint conflict
2022-06-14 11:54:58 -05:00
James Grugett
92b368f11e
Fix sorting for Your bets table
2022-06-14 11:27:11 -05:00
James Grugett
be094ef8e5
Tweaks to stats page
2022-06-14 10:27:52 -05:00
Ian Philips
e49f614acb
Remove unused acitivity items-related code ( #492 )
...
* Remove unused acitivity items
* Remove activity page
2022-06-14 07:13:24 -06:00
Austin Chen
716e00374c
Tweak /charity page style
2022-06-13 21:27:20 -07:00
Austin Chen
af3895de79
Add quadratic matching to Manifold for Charity ( #486 )
...
* Calculate quadratic funding match
* Tweak copy
* More concise quadratic funding calculation
Co-authored-by: Sinclair Chen <abc.sinclair@gmail.com>
* Fix imports and calculations
* Remove unused var for now
* Clean up styling
Co-authored-by: Sinclair Chen <abc.sinclair@gmail.com>
2022-06-13 20:53:29 -07:00
mantikoros
c4e3376313
check if shares below min pool qty for sales
2022-06-13 21:14:52 -05:00
mantikoros
dd4444caf9
deprecation warning for numeric markets
2022-06-13 21:09:09 -05:00
mantikoros
d9f0428e41
alert box component
2022-06-13 21:08:56 -05:00
mantikoros
64542f775a
non-cash-dropping logo gif
2022-06-13 20:32:47 -05:00
James Grugett
dcaddd6a1a
Move contract hook back into ContractPageContent. (Fixes going back to home.)
2022-06-13 16:05:46 -05:00
James Grugett
05f1da430c
Stats: Use action count of the user who is tenth percentile
2022-06-13 15:51:17 -05:00
mantikoros
e2d7e94e4c
prettier
2022-06-13 11:52:29 -05:00
mantikoros
e6a1046039
landing page branding, UI tweaks
2022-06-13 11:22:50 -05:00
mantikoros
a34a32d790
delete old landing page
2022-06-13 11:20:34 -05:00
James Grugett
f3d4827115
Listen for contract updates when navigating from home to contract page. ( #494 )
2022-06-13 11:04:56 -05:00
Ian Philips
68da02ec00
Fix href is missing query values
2022-06-13 08:42:47 -06:00
Marshall Polaris
72f4a2f603
Fix prettier errors
2022-06-12 21:49:02 -07:00
Marshall Polaris
aaef9842d4
Fix lint error
2022-06-12 21:44:35 -07:00
Marshall Polaris
816fc5d64c
Revert "Revert "Turn on no unused variables linting, kill dead code ( #484 )""
...
This reverts commit 5beda1ded7
.
2022-06-12 21:42:41 -07:00
mantikoros
0d2204bb02
Put "Get M$" in sidebar
2022-06-12 23:34:11 -05:00
mantikoros
246aa5c214
"add funds" => "get M$"
2022-06-12 23:26:05 -05:00
Austin Chen
5beda1ded7
Revert "Turn on no unused variables linting, kill dead code ( #484 )"
...
This reverts commit 515928a69a
.
2022-06-12 20:55:48 -07:00
Daniel Reeves
4ad04869a1
Typo fix (feedback #697 ) ( #490 )
2022-06-12 19:40:02 -07:00
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