manifold/web/components/contract
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
..
contract-card.tsx Implement quick betting: directly from the market card (#291) 2022-05-23 23:44:16 -07:00
contract-description.tsx Remove 'Category' label 2022-05-13 16:19:15 -04:00
contract-details.tsx Implement quick betting: directly from the market card (#291) 2022-05-23 23:44:16 -07:00
contract-info-dialog.tsx Change lodash stuff so that it can be tree-shaken out of build (#233) 2022-05-22 01:36:05 -07:00
contract-overview.tsx Numeric range markets!! (#146) 2022-05-19 12:42:03 -05:00
contract-prob-graph.tsx More absolute imports (#156) 2022-05-09 09:04:36 -04:00
contract-tabs.tsx Numeric range markets!! (#146) 2022-05-19 12:42:03 -05:00
contracts-list.tsx Update "No markets found" to point to /create 2022-05-23 17:49:07 -07:00
numeric-graph.tsx Adjust numeric graph axis to use large number formatting 2022-05-22 22:05:52 -05:00
quick-bet.tsx Implement quick betting: directly from the market card (#291) 2022-05-23 23:44:16 -07:00