James Grugett
235c9f6b21
Add .vscode workspace settings: Use non-relative imports
2022-05-09 19:18:10 -04:00
Marshall Polaris
d34907681a
Remove some random unnecessary wrapper divs ( #163 )
...
* Remove wrapper div in user comment feed item
* Remove wrapper div around feed market card title link
* Remove wrapper div around BetRow
2022-05-09 15:50:20 -07:00
mantikoros
ef43e46153
include fees in tooltip
2022-05-09 17:33:24 -04:00
Marshall Polaris
8a99f3772a
Cleanup avatar again ( #161 )
...
* Reinstate avatar component cleanup
This was reverted due to a bug, fixed in the subsequent commit.
* Kill additional wrapper divs around avatars
This also fixes a bug where the `w-8` answer row wrapper div was
constraining the width of the `w-10` avatar, leading it to be `w-8`
and `h-10` and appear as an oval.
2022-05-09 14:32:59 -07:00
mantikoros
9fc9fc0dd6
fix import errors
2022-05-09 17:14:00 -04:00
mantikoros
5135135e79
Separate out fees ( #159 )
...
* deduct market ante from profits
* display creator fees in stats
* show creator earnings in stats
* separate out creator, liquidity fees in payouts and deduct from profits
2022-05-09 16:04:40 -05:00
Boa
a5b0372a6e
Free response markets with investment cap ( #157 )
...
* Show error message for FR bet
* Allow M$ limit for markets
* Allow M$ limit for markets
* Apply M$ limit to FR answer bets
* Improve error message
* Improve error message
* Only check stats if mana limit set
* Consolidate logic
* Remove unused variable
* absolute import
* absolute imports
2022-05-09 14:09:07 -06:00
James Grugett
d55990d5d4
Fix contract search not adjusting to new user
2022-05-09 15:47:18 -04:00
James Grugett
e8ab863557
🔍 Algolia search ( #136 )
...
* Add algolia and instantsearch packages
* Switch to hooks-web package
* Implement algolia search!
* Fix types
* Fix tags page
* Closed sort option
* Implement select for filtering on open, closed, resolved, all.
* Support search in dev environment
* Fix runtime error in landing page
2022-05-09 12:38:33 -05:00
Austin Chen
3fc159f10b
Revert "Convert common imports in functions to be absolute"
...
This reverts commit c03518e906
.
2022-05-09 12:06:16 -04:00
Ian Philips
8fbbeffd38
Revert one more avatar component change
2022-05-09 10:33:52 -04:00
Ian Philips
5c1bc78408
Revert avatar component changes
2022-05-09 10:18:05 -04:00
Marshall Polaris
acc9c84e2e
More absolute imports ( #156 )
...
* Configure functions module to allow absolute imports
* Convert common imports in functions to be absolute
* Convert common imports in web to be absolute
* Convert lib imports in web to be absolute
* Convert hooks imports in web to be absolute
* Convert components imports in web to be absolute
2022-05-09 09:04:36 -04:00
Marshall Polaris
dd2366458d
Fix up target in web tsconfig ( #155 )
2022-05-08 23:57:29 -07:00
Austin Chen
b47e4364ad
Remove circle around markets/comments count
2022-05-08 22:53:02 -04:00
Marshall Polaris
5efcf61289
Configure compiler to allow absolute imports from root ( #147 )
2022-05-08 13:33:58 -07:00
mantikoros
1339b0c3a4
normpdf variance mislabeled
2022-05-08 15:42:11 -04:00
Austin Chen
2eed1c432a
Hardcode in 8 frontpage markets
2022-05-07 19:44:01 -04:00
Austin Chen
cea9422802
Update site copy
2022-05-07 10:10:25 -04:00
Austin Chen
22a9901148
Feature Nonlinear as a charity
2022-05-07 08:15:40 -04:00
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