Commit Graph

26 Commits

Author SHA1 Message Date
ingawei
0aee3d2a29
Merge branch 'main' into inga/mobilebetting 2022-09-21 01:23:00 -05:00
ingawei
17e1ed7a2c linting 2022-09-20 23:19:02 -07:00
ingawei
4bf7af07e1 linting 2022-09-20 23:06:57 -07:00
ingawei
ff6ce54b4b bug fixes 2022-09-20 23:01:38 -07:00
ingawei
aed48dfb22 linting 2022-09-20 22:51:58 -07:00
ingawei
c0124a558f linting 2022-09-20 21:59:50 -07:00
ingawei
0a25561de7 most kinks down 2022-09-20 21:32:07 -07:00
mantikoros
44f9a1faa2 fix labels 2022-09-17 19:12:44 -05:00
mantikoros
f71791bdd5 fix labels 2022-09-17 19:10:34 -05:00
ingawei
3d772a8a9b Getting basic functionality working 2022-09-17 00:10:40 -07:00
ingawei
ee6b463f94 make border consistent 2022-09-16 15:15:36 -07:00
ingawei
c7239df3f0 making yes button pretty 2022-09-16 15:12:31 -07:00
Ian Philips
e9f136a653 Single source of truth for predict 2022-09-15 09:12:56 -06:00
mantikoros
93033b5b24 Revert "Yes and no buttons on contract page (#868)"
This reverts commit b39e0f304f.
2022-09-10 21:57:50 -05:00
mantikoros
18815caed4 Revert "Put sale value above quick bet button"
This reverts commit 9ee7173305.
2022-09-10 21:57:35 -05:00
Ian Philips
9ee7173305 Put sale value above quick bet button 2022-09-10 17:48:35 -06:00
Ian Philips
b39e0f304f
Yes and no buttons on contract page (#868)
* Yes and no buttons on contract page

* Cheating by adding 0.05 to max shares but gives better quickbet UX
2022-09-10 17:07:23 -06:00
mantikoros
43660387fa modal positioning 2022-09-09 16:08:42 -05:00
Ian Philips
3932a3dbd4 I predict this will do better than trade 2022-09-08 07:40:16 -06:00
mantikoros
edbebb7e67 weighing in and trading "weigh in" for "trade" 2022-09-08 00:16:48 -05:00
Ian Philips
bcee49878b Weigh in 2022-09-07 21:39:21 -06:00
mantikoros
28af2063c3 "bet" => "trade" 2022-09-07 14:45:04 -05:00
mantikoros
eb070f0b07 Auto-remove unused imports 2022-08-28 21:14:44 +00:00
mantikoros
926929880a "Sign up to bet" => "Place my bet"; "Sign in to comment" => "Add my comment"; rename button to BetSignUpPrompt 2022-08-28 16:14:02 -05:00
Ian Philips
b6e636cbc0 Small ux tweaks for signed out market page 2022-08-24 16:41:46 -06:00
Sinclair Chen
4f3202f90b
Simple bet interface in embeds (#775)
* rename BetRow -> BetButton

* Replace bet modal in embed with inline betting

- Also simplifies graph height calculation

* Move bet row above graph, in "mini modal"

* Show signup button if not signed up

* Show probability change

* Show error after modal

- Show balance if insufficient funds
- Clear error from amount input if amount deleted entirely

* Fix error state conditions

- Reset amount input on success
- Reset success state on user input

* Make input smaller (80px)
2022-08-19 10:07:48 -07:00