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
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