Austin Chen
8982dcae10
Replace "m1234" with "ϻ1234"
2022-05-17 08:13:12 -04:00
Marshall Polaris
cd7efb03ca
Implement onRequest
versions of createContract
, placeBet
functions ( #227 )
...
* Reimplement createContract and placeBet cloud functions
* Fix broken warmup function error handling
2022-05-16 21:43:40 -07:00
Marshall Polaris
aafd2a226f
Clean up some stuff with SellPanel and AmountInput ( #232 )
...
* Hoist SellAmountInput logic into SellPanel
* Ditch now-unnecessary SellAmountInput
* Clean up sale proceeds markup
* Clean unused imports
* BuyPanel doesn't need userBets
2022-05-16 20:27:37 -07:00
Austin Chen
6c6cbdc1a5
Redesign the contract card ( #235 )
...
* Redesign the card
* Limit to 1 category on a card
* Make card tags a lighter gray
* Righbar always starts from the bottom
2022-05-16 19:15:22 -04:00
Marshall Polaris
6f1c20571b
Upgrade HeadlessUI to 1.6.1 ( #234 )
...
https://github.com/tailwindlabs/headlessui/releases
2022-05-16 07:38:16 -04:00
Marshall Polaris
72b21925e5
Allow users to generate an API key in their profile ( #182 )
...
* Add /private-users/apiKey to DB
* Add field to edit API key on profile
* Move API key to bottom of profile page
Austin thinks this is better since most people don't care about it.
2022-05-15 20:41:07 -07:00
James Grugett
19da0c6c82
Default to 'all' feed category when loading page.
2022-05-15 23:09:49 -04:00
James Grugett
727d85ddac
Make text underneath filled green answer bar selectable
2022-05-15 23:07:38 -04:00
Marshall Polaris
ee91a94466
Clean up some bet panel markup and CSS ( #231 )
...
* Tidy up probability change markup
* Tidy up payout markup
2022-05-15 14:10:26 -07:00
James Grugett
c85b806bc1
Change analytics to 45 days instead of 90 to fix timeout
2022-05-15 15:50:28 -04:00
Marshall Polaris
07ded756d9
Remove unused imports from random files ( #224 )
2022-05-13 18:30:52 -07:00
Marshall Polaris
bc5cd5be45
Clean up some markup in the sidebar ( #220 )
...
* Remove wrapper div around logo
* Small refactor, remove wrapper around sidebar profile summary
* Remove random unused imports
* Replace random styles with Tailwind classes
2022-05-13 18:07:44 -07:00
Marshall Polaris
33c0471c29
Clean up some markup around the top of the page ( #189 )
...
* Remove unnecessary wrapper div around sidebar
* Remove extra column used for alignment on homepage
* Remove extra wrapper div around whole page
2022-05-13 16:47:50 -07:00
Marshall Polaris
babca140f1
Fix random errors ( #205 )
...
* Fix warning in ShareMarket component
* Fix NewContract component to use keys on category list
* Refactor NewContract component to assign `value` to `select`
2022-05-13 16:42:48 -07:00
James Grugett
8be6b79732
Remove 'Category' label
2022-05-13 16:19:15 -04:00
James Grugett
8ce3a09471
Shrink vertical padding on feed answer group
2022-05-13 16:16:46 -04:00
James Grugett
e660acab56
Put back hotjar code, but deactivate from hotjar site
2022-05-13 15:07:32 -04:00
James Grugett
67717bbde7
Prevent having to go back twice from profile / tag search page
2022-05-13 15:01:38 -04:00
James Grugett
b195dcdfd2
Print build info only once
2022-05-13 14:33:02 -04:00
James Grugett
5f59623be8
Disable hotjar
2022-05-13 14:31:03 -04:00
James Grugett
d62156b8c0
Hide scrollbar on categories
2022-05-13 14:27:47 -04:00
Austin Chen
805a997ba0
Fix hotjar typo
...
Copy+pasting is hard >.>
2022-05-13 10:59:47 -04:00
Austin Chen
bf07b45467
Add id to hotjar script
...
Apparently needed by NextJS
2022-05-13 10:49:01 -04:00
Austin Chen
c99cf7579b
Try out Hotjar
2022-05-13 10:11:57 -04:00
James Grugett
06cdf2a84a
Show category on market card ( #197 )
...
* Show category on market card
* Show multiple categories in contract description
* Tweak layout of contract card and show multiple categories
2022-05-12 18:28:21 -05: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
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
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
Marshall Polaris
b55e807c62
Truncate multi-line commit messages in console build info ( #180 )
2022-05-10 21:12:00 -07:00
Marshall Polaris
22c594eb79
Print out build info in console ( #179 )
...
* Print out build info in console
* Fix up build info printing per feedback
2022-05-10 20:57:09 -07:00
James Grugett
948d878222
Prevent 500 error on markets with no collected fees
2022-05-10 23:01:07 -04:00
Marshall Polaris
9b376fb11a
Reinstate eslint warning cleanup ( #174 )
...
* Reinstate eslint upgrade and related fixes
* Another shot at improving ContractLeaderboard
2022-05-10 14:49:24 -07:00
Marshall Polaris
4565430db5
Revert "Upgrade eslint, fix eslint warnings ( #149 )"
...
It's not 100% clear, but this could have caused some production
problems on the contract page, so let's revert it for now.
2022-05-10 14:22:57 -07: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
Marshall Polaris
167cf20bfc
Upgrade eslint, fix eslint warnings ( #149 )
...
* Add a couple missing dependencies for hooks
* Upgrade eslint
This newer eslint and typescript-eslint fixes some spurious warnings
that were bugs and supports our version of Typescript.
* Use Next Script component the way it wants us to
* Rephrase ContractLeaderboard component to avoid useEffect woes
* Use perhaps more idiomatic type for ContractLeaderboard props
* Make Folds data fetching more correct and more clear
2022-05-10 13:58:38 -07:00
Sinclair Chen
a297f6492d
move manaToUSD to format.ts ( #172 )
2022-05-10 11:14:24 -07:00
Austin Chen
b97301c6fa
Hardcode two new frontpage markets
2022-05-10 13:03:53 -04:00
mantikoros
264e5058ea
Separate out fees ( #169 )
...
* 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
* include creator payout in resolution emails
* deduct liquidity from profits
* hide cost tooltip if daily free market
2022-05-10 08:49:14 -05:00