James Grugett
3658c6eee0
Fix probability calc
2022-05-06 17:31:20 -04:00
James Grugett
b7b146a35a
Use min and max to map the input
2022-05-06 17:26:38 -04:00
mantikoros
83c89ad940
calculateNumericDpmShares: use sorted order
2022-05-06 17:19:56 -04:00
mantikoros
d1d381c51b
lower std for numeric bets
2022-05-06 17:15:09 -04:00
James Grugett
89ebf344df
Set min and max for contract
2022-05-06 17:00:45 -04:00
James Grugett
ca7e9541d7
Update resolveMarket with numeric type
2022-05-06 16:54:26 -04:00
mantikoros
db2156f6b9
halve std of numeric bets
2022-05-06 16:51:55 -04:00
mantikoros
d38453b29a
placeBet for numeric markets
2022-05-06 16:39:56 -04:00
James Grugett
d99928d16e
Parallelize ante creation
2022-05-06 16:23:01 -04:00
James Grugett
e01c7bd763
Switch bucket count to 100
2022-05-06 16:20:23 -04:00
James Grugett
be2ce4fd4b
Use getNumericBets in bet panel calc
2022-05-06 16:17:21 -04:00
James Grugett
3c55843030
Add numeric resolution panel
2022-05-06 16:06:20 -04:00
mantikoros
47f18cb307
getNumericBets
2022-05-06 15:39:02 -04:00
James Grugett
dc032c502a
Hide bet panels
2022-05-06 15:18:38 -04:00
James Grugett
147d49a913
Zoom graph
2022-05-06 15:18:38 -04:00
mantikoros
291f21af92
numeric market range [1, 100]
2022-05-06 15:09:35 -04:00
James Grugett
6c28771539
Remove focus
2022-05-06 14:57:23 -04:00
mantikoros
899244bd3f
remove batching for antes for numeric markets
2022-05-06 14:54:32 -04:00
James Grugett
58db0edd11
Merge branch 'main' into range-markets
2022-05-06 14:49:34 -04:00
mantikoros
51866c8612
create numeric contracts
2022-05-06 14:43:06 -04:00
James Grugett
1e3a7747ee
Update bet panel logic
2022-05-06 14:41:29 -04:00
James Grugett
4de0fcd198
Revert "Represent DB avatar URLs as non-null ( #128 )"
...
This reverts commit bf8e09b6c1
.
2022-05-06 14:29:15 -04:00
James Grugett
91990f524f
Outline of numeric bet panel
2022-05-06 14:28:46 -04:00
James Grugett
00bc8d6068
Add numeric graph (coded without testing)
2022-05-06 13:58:38 -04:00
James Grugett
0ab1c67470
Create market numeric type
2022-05-06 12:04:03 -04:00
James Grugett
dd79491411
Numeric contract type
2022-05-06 11:54:04 -04:00
SirSaltyy
87b43e6bdb
Add link to twitter with svg icon to the sidebar and profile menu. Remove Discord hero icon and replace it with discord svg. ( #135 )
2022-05-05 22:20:18 -04:00
SirSaltyy
e41f646b42
Remove all spaces between M$ and the associated number ( #134 )
...
* Remove all spaces between M$ and the associated number
* Update index.tsx
2022-05-05 22:19:47 -04:00
Boa
bbf419953e
Show comments on profile ( #137 )
...
* WIP - got comments on the user page
* Remove number from chosen FR answer
* Distinguish wining and losing FR answers
* Show no answers text
* Simplify get answer items logic
* Show answer number
* Show answer # when resolving
* Fix import path
* Add user's collated comments onto profile
* Allow linking to comments/markets in profile
* Allow preload of users contracts in profile
* Remove unused check
* Small code improvements
2022-05-05 16:30:30 -06:00
Marshall Polaris
2e214cab7a
Kill warmup spam ( #133 )
...
* Only warm up sell bet function once
* Only warm up create user function once
2022-05-05 09:51:09 -07:00
Marshall Polaris
adefd3259c
Cleanup avatar component rendering ( #130 )
...
* Remove unnecessary classes on avatar img
I don't believe these have any visible effect.
* Don't apply Tailwind 'avatar' class in menu
We don't use this class elsewhere when displaying avatars (instead our
avatar has manual styles that do the stuff Tailwind is trying to do)
and it just assigns a weird size that we don't want.
If we want to use the Tailwind avatar styles we should refactor further.
* Remove unnecessary avatar wrapper div
* Remove old prop from avatar
2022-05-05 09:50:58 -07:00
Austin Chen
1caed44552
Show /charity in signed-out sidebar
2022-05-05 10:15:12 -04:00
Austin Chen
b42e77858f
Search through charity preview, description, and tags too
2022-05-05 10:12:16 -04:00
Boa
9480f9f34c
Improve free response answer ux ( #131 )
...
* Remove number from chosen FR answer
* Distinguish wining and losing FR answers
* Show no answers text
* Simplify get answer items logic
* Show answer number
* Show answer # when resolving
2022-05-04 16:03:06 -06:00
Marshall Polaris
bf8e09b6c1
Represent DB avatar URLs as non-null ( #128 )
2022-05-04 11:07:22 -07:00
Marshall Polaris
899c6ab0e0
Add script to denormalize avatars into other docs ( #127 )
...
* Add script to denormalize avatars into contracts/comments
* Also handle denormalizing answer avatar URLs
* Small fixups
2022-05-04 11:07:00 -07:00
mantikoros
95b67c05e2
another sell shares rounding bug
2022-05-04 11:47:45 -04:00
mantikoros
5c18820d96
go back to $100 fixed ante
2022-05-04 11:11:06 -04:00
Ian Philips
a004d3a4bf
Always show answer panel
2022-05-03 17:54:00 -04:00
Ian Philips
278bcb9724
Show resolved FR answers
2022-05-03 16:57:39 -04:00
Ian Philips
0d63e471be
Only show cursor if focused
2022-05-03 16:45:21 -04:00
Boa
3a33efa8db
Threaded free response comments & general comments sections ( #121 )
...
* Allow comments to reference answers
* Add comment inputs for free response answers
* condense comment logic in one component
* Add General Comments section to FR answers
* Prompt signin even if no comment
* Remove unused & refactor
* Simplify general comments logic, toggle comment boxes
* Clarify rendering logic
2022-05-03 14:38:40 -06:00
Sinclair Chen
100821e34c
Ask user to buy more mana when insufficient funds ( #124 )
2022-05-03 13:36:54 -07:00
Sinclair Chen
f2217d1d8b
Improve donate box UI in mid-size window ( #126 )
2022-05-03 13:36:00 -07:00
Sinclair Chen
abf23a1462
Pre-load charity order to prevent "jump" ( #122 )
2022-05-03 10:25:14 -07:00
mantikoros
a982b86cfe
$300 ante for free daily markets
2022-05-03 12:18:37 -04:00
mantikoros
14544d064a
charity page: remove centering
2022-05-03 11:26:02 -04:00
Sinclair Chen
2da5423f36
Add padding too charity images ( #123 )
2022-05-03 08:12:42 -07:00
Sinclair Chen
3434b3de3f
Move all charity images to imgur + Next ( #120 )
2022-05-03 07:00:33 -07:00
Boa
8da36298e5
condense comment logic in one component ( #119 )
2022-05-03 07:51:25 -06:00