manifold/common/util
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
..
array.ts Embed market: dynamically adjust graph height 2022-03-24 12:03:17 -05:00
clean-username.ts User profile (#44) 2022-02-03 21:04:56 -06:00
format.ts Implement quick betting: directly from the market card (#291) 2022-05-23 23:44:16 -07:00
math.ts Numeric range markets!! (#146) 2022-05-19 12:42:03 -05:00
object.ts Change lodash stuff so that it can be tree-shaken out of build (#233) 2022-05-22 01:36:05 -07:00
parse.ts Enforce max question length, description length, and tag length. 2022-03-09 11:08:57 -06:00
promise.ts Fix leaderboard out of memory error with batchedWaitAll instead of Promise.all 2022-03-07 13:45:56 -08:00
random.ts Revert "Better random (#213)" 2022-05-16 20:26:51 -04:00
slugify.ts formatting 2022-01-10 17:52:03 -06:00
time.ts Add weekly activiation rate 2022-04-19 01:47:58 -05:00
types.ts Add weekly active users chart. Put daily active first. 2022-03-21 17:42:12 -05:00