James Grugett
0c84b39438
Make text underneath filled green answer bar selectable
2022-05-15 22:46:20 -04:00
mantikoros
852a4c7614
Merge branch 'main' into range-markets
2022-05-12 16:56:52 -04:00
mantikoros
17fca14084
outcome label
2022-05-12 16:52:37 -04:00
mantikoros
39b745b25a
bucket input, numeric resolution panel
2022-05-12 16:22:17 -04:00
Austin Chen
e0d266887c
Show prob of FR answer as a bar chart ( #200 )
2022-05-12 14:04:51 -04:00
Austin Chen
25d3fbcc5f
Add a hover to the category selector
2022-05-12 13:47:07 -04:00
mantikoros
7cce2cc63f
fix bucketing
2022-05-12 13:36:06 -04:00
mantikoros
81edf29ec7
number input
2022-05-12 13:35:38 -04:00
Ian Philips
c2f8aee89e
Touch up reply buttons
2022-05-12 10:27:52 -06:00
James Grugett
aafc08f24c
Prevent android chrome from defining categories on tap
2022-05-12 12:07:46 -04:00
Ian Philips
fed49d3040
Hide ante in FR bets tab
2022-05-12 09:48:19 -06:00
James Grugett
31f57f8ff2
Condense category names to just the tag name
2022-05-12 11:18:44 -04:00
James Grugett
49f900b298
Tags input: save on enter
2022-05-12 11:13:35 -04:00
mantikoros
9a4e5763f5
Categories ( #132 )
...
* basic market categories
* use tags to store market category
* display category in market
* display full category
* category selector component on feed
* Move feed data fetching to new file
* Decrease batch size for updating feed to prevent out-of-memory error
* Compute and update category feeds!
* Show feeds based on category tabs
* Add react-query package!
* Use react query to cache contracts
* Remove 'other' category
* Add back personal / friends to feed categories
* Show scrollbar temporarily for categories
* Remove 5 categories, change geopolitics to world
* finance => economics
* Show categories on two lines on larger screens
Co-authored-by: James Grugett <jahooma@gmail.com>
2022-05-12 10:07:10 -05:00
Boa
403156ed1a
FR ux changes, restore submit button for comments ( #195 )
2022-05-12 08:59:05 -06:00
James Grugett
696e6a7882
Revert "Fix hyperlinks when starting with an open paren"
...
This reverts commit 2fd9759bc1
.
2022-05-11 21:42:33 -04:00
mantikoros
83a83e09b8
bet panel labels
2022-05-11 19:31:24 -04:00
mantikoros
4364be0ded
change numeric graph color
2022-05-11 19:00:35 -04:00
mantikoros
a1d3db6eff
merge
2022-05-11 18:32:55 -04:00
mantikoros
501aac3e8a
Merge branch 'main' into range-markets
2022-05-11 18:32:14 -04:00
Marshall Polaris
1063897c7c
Clean up extra wrapper and CSS on BetRow ( #178 )
2022-05-11 14:35:50 -07:00
Boa
02ed9bf7e1
Single threaded comments ( #175 )
...
* Remove unused hideOutcome in comments
* Remove unused hideOutcome in comments
* Add replyToComment fields to Comment
* Add 1 threaded replies to comments & answers
* Allow smooth scrolling within pages via #
* remove yarn-error log
* correct spelling
* Remove smooth-scroll-to-hashtag component
* Cleanup & show user position/bets in replies
2022-05-11 15:11:46 -06:00
Sinclair Chen
aa433e309c
restyle home page (separation between markets) ( #186 )
2022-05-11 12:51:45 -07:00
Austin Chen
2fd9759bc1
Fix hyperlinks when starting with an open paren
2022-05-11 15:28:28 -04:00
James Grugett
2b9e639281
Default to 'all' search filter for markets on user page
2022-05-11 00:19:29 -04:00
James Grugett
948d878222
Prevent 500 error on markets with no collected fees
2022-05-10 23:01:07 -04:00
Marshall Polaris
6c9df223d8
Feed container markup cleanup ( #173 )
...
* Move FeedContainer stuff into ActivityFeed
* Greatly clean up ActivityFeed container markup
2022-05-10 13:59:19 -07:00
Sinclair Chen
a297f6492d
move manaToUSD to format.ts ( #172 )
2022-05-10 11:14:24 -07: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
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
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
Austin Chen
b47e4364ad
Remove circle around markets/comments count
2022-05-08 22:53:02 -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
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
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
James Grugett
6c28771539
Remove focus
2022-05-06 14:57:23 -04:00
James Grugett
58db0edd11
Merge branch 'main' into range-markets
2022-05-06 14:49:34 -04:00