manifold/web/hooks
James Grugett 985cdd2537
🏦 Per-market loans! (#57)
* Loan backend: Add loanAmount field to Bet, manage loans up to max loan amount per market -- buy, sell, and resolve.

* Loan frontend: show your loan amount in bet panel, answer bet panel

* Resolve emails include full payout not subtracting loan

* Exclude sold bets from current loan amount

* Handle bets table for loans. Sell dialog explains how you will repay your loan.

* Floor remaining balance

* Fix layout of create answer bet info

* Clean up Sell popup UI

* Fix bug where listen query was not updating data.

* Reword loan copy

* Adjust bet panel width

* Fix loan calc on front end

* Add comment for includeMetadataChanges.

Co-authored-by: Austin Chen <akrolsmir@gmail.com>
2022-03-01 21:31:48 -06:00
..
use-admin.ts Reapply Manifold for Teams config changes (#54) 2022-02-26 23:29:33 -08:00
use-answers.ts Free response (#47) 2022-02-17 17:00:19 -06:00
use-bets.ts Feed updates: 1. Order by any bet instead of top 10 & comments 2. No resolved contracts 3. Show loading while fetching recent bets clientside so order preserved 4. Don't change order from new bets 2022-02-25 01:59:53 -06:00
use-comments.ts Get static props of just data for feed: active contracts, their bets & comments. 2022-01-14 18:16:32 -06:00
use-contract.ts contract slugs 2021-12-17 17:16:42 -06:00
use-contracts.ts Add explore tab on home feed that shows random inactive markets. 2022-02-27 13:37:11 -08:00
use-find-active-contracts.ts Add explore tab on home feed that shows random inactive markets. 2022-02-27 13:37:11 -08:00
use-fold.ts Listen to followed folds. Follow button retreives from local storage. 2022-02-20 23:12:35 -06:00
use-preserve-scroll.ts Preserve scroll on back 2022-01-14 18:43:00 -06:00
use-sort-and-query-params.tsx Add "closed" sort option 2022-03-01 18:02:07 -08:00
use-user-bets.ts 🏦 Per-market loans! (#57) 2022-03-01 21:31:48 -06:00
use-user.ts User profile (#44) 2022-02-03 21:04:56 -06:00
use-users.ts Surface user emails in /admin 2022-01-24 00:48:10 -06:00
use-window-size.ts Shorter graph on mobile 2022-01-18 17:10:21 -06:00