manifold/web/lib
Austin Chen 8cedf93901
Implement quick betting: directly from the market card (#291)
* Play with using 3 icons for 1-click usage

* Align bet icons with the percentages

* Hide liquidity injection star, for now

* Fix Free Response card layouts

* Use triangles instead of planes

* Set correct hover states the arrows

* Fix down triangle & padding

* Default large nums to 2 sigfigs

* Clean up hover areas

* Fix bet width, remove "chance/expected"

* Show "M$20" on hover, hide arrows when closed

* Improve click targets

* FR: "MULTI" => "MANY", single => "TOP"

* Install react-hot-toaster

* Implement quick betting on binary questions

* Handle different kinds of markets

* Extract out QuickBet into its own component

* Minor tweaks

* Visually separate out quick bet pane

* Hide quick bet for FR markets with no answers

* Fill in which bets the user has already placed

* Animate movements, fix binary direction

* Hover arrows are now always gray

* Pull out code into quick-bet.tsx

* Minor comments

* Fix import

ts-ignore is scary

* Fixes from James's feedback

* Hide text only on quickbet
2022-05-23 23:44:16 -07:00
..
api Add Vercel routes for public write API (#280) 2022-05-23 14:16:56 -07:00
firebase Add Vercel routes for public write API (#280) 2022-05-23 14:16:56 -07:00
icons Implement quick betting: directly from the market card (#291) 2022-05-23 23:44:16 -07:00
service More absolute imports (#156) 2022-05-09 09:04:36 -04:00
simulator Sell bets (#12) 2021-12-24 15:06:01 -06:00
util Implement copy for non-standard browsers. Fix flaky embed copy 2022-03-21 16:44:11 -05:00