* 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> |
||
|---|---|---|
| .. | ||
| .husky | ||
| components | ||
| hooks | ||
| lib | ||
| pages | ||
| public | ||
| .eslintrc.js | ||
| .gitignore | ||
| .prettierignore | ||
| next-env.d.ts | ||
| next.config.js | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| yarn.lock | ||
Manifold Markets web
Getting Started
- Run
npm install - Run
npm run dev - Your site will be available on http://localhost:3000
Formatting
Before committing, run npm run format to format your code.
Recommended: Use a Prettier editor integration to automatically format on save
Developer Experience TODOs
- Automatically run prettier as code commit hook?
- Prevent git pushing if there are Typescript errors?