Commit Graph

587 Commits

Author SHA1 Message Date
Austin Chen
a12a8bcd6a Expand create panel on focus
From Richard Hanania's feedback
2022-02-16 19:37:54 -08:00
Austin Chen
515676f885 Consistently floor user.balance 2022-02-16 19:19:11 -08:00
Austin Chen
87a33933e4 Revert "Stop flooring inputs into formatMoney"
This reverts commit 2f7ab18429.
2022-02-16 19:14:12 -08:00
Austin Chen
2f7ab18429 Stop flooring inputs into formatMoney 2022-02-16 18:48:59 -08:00
Austin Chen
a2e4893be8 Don't include trailing !:,.; in links 2022-02-16 10:32:44 -08:00
mantikoros
95242d94ac sort trades by resolved 2022-02-16 00:08:16 -06:00
James Grugett
4917d4084b Break words in questions 2022-02-14 20:27:43 -06:00
Austin Chen
95fbfb7db0 Tweak padding 2022-02-14 15:39:59 -08:00
Austin Chen
86b4b1a907 Use badges in Your Trades 2022-02-14 15:29:29 -08:00
mantikoros
443acdbcf8 beautify trades page 2022-02-14 16:00:46 -06:00
Austin Chen
97bf1049b5 Show gray probabilities for closed markets 2022-02-14 13:34:05 -08:00
mantikoros
a8abd4ecbb trades page: show pnl 2022-02-14 13:00:20 -06:00
James Grugett
cef9eebbdf Add lowercase tags when editing tags 2022-02-13 22:41:00 -06:00
Austin Chen
0e640bf53b Show the current % instead of "MKT" in Your Trades 2022-02-13 18:20:46 -08:00
Austin Chen
5c3370ded8 Clean up Resolve Market panel 2022-02-13 15:41:08 -08:00
Austin Chen
7338bdd47a
Automatically sort Tailwind classes with Prettier (#45)
* Add Prettier Tailwind plugin

* Autoformat Tailwind classes with Prettier
2022-02-11 10:40:22 -08:00
James Grugett
9b50d67313 Render graph with bets from static props immediately 2022-02-10 14:36:19 -06:00
Austin Chen
bcc011c1fd Allow admins to edit questions 2022-02-09 10:58:33 -08:00
James Grugett
b0a1da62d2 Add sort options for /trades. Can sort by
profit or newest!
2022-02-08 23:28:20 -06:00
James Grugett
e66564cd1f Add current prob to trades items 2022-02-08 22:52:09 -06:00
James Grugett
6214b6e425 Truncate leaderboard name 2022-02-08 22:45:02 -06:00
James Grugett
096ac8f512 Put profile underneath bet popup 2022-02-08 00:57:34 -06:00
James Grugett
192b54f986 Darker text on gray resolve buttons. 2022-02-07 23:52:03 -06:00
James Grugett
041bfe5ac0 Fix latestTime graph calculation 2022-02-07 23:43:35 -06:00
James Grugett
1cf7b42597 Better handle graphs of resolved markets that had an earlier close time. 2022-02-07 22:48:36 -06:00
Austin Chen
99a5612c8d Display avatar in contract details 2022-02-05 23:02:52 -08:00
Austin Chen
359bfbf614 Show your own avatar for your feed trades 2022-02-05 22:22:13 -08:00
Austin Chen
0223ecdac2 Use Avatar in leaderboard
Removes the extra ring
2022-02-05 22:13:13 -08:00
Austin Chen
4c3119c9ec Display all avatars as a circle 2022-02-05 22:12:23 -08:00
mantikoros
3baffd4a35 bet row: auto-close dialog after a trade is submitted 2022-02-05 12:26:11 -06:00
mantikoros
f7b981c55c "winnings" => "trader profits" 2022-02-04 17:42:08 -06:00
James Grugett
247f5e9275 Add oldest sort 2022-02-04 16:04:30 -06:00
Austin Chen
0959ec7679 Show avatar on contract cards 2022-02-04 10:30:56 -08:00
mantikoros
03f36cf954
User profile (#44)
* add id, userId to comment

* change user info cloud function and script; move cleanUsername to common

* change user info script

* fix rules

* add fund button: useLocation hook

* profile page

* merge

* profile stuff

* avatar uploading to storage bucket

* changeUserInfo: use transaction

* Styles for profile page

* Edit mode for profile, and more styles

Co-authored-by: James Grugett <jahooma@gmail.com>
2022-02-03 21:04:56 -06:00
James Grugett
6a542e4530 Switch Folds menu option to Communities 2022-02-03 19:55:00 -06:00
James Grugett
ca89fd158d Make home communities look better on mobile. Add Covid & AI. 2022-02-03 19:00:17 -06:00
James Grugett
00f632ec47 Remove tw-elements for now 2022-02-03 18:10:19 -06:00
James Grugett
c36ce3e521 Change home tags to communities 2022-02-03 17:40:37 -06:00
James Grugett
e5f553fa1a Merge branch 'main' into custom-feed 2022-02-03 17:33:12 -06:00
James Grugett
587e1e5d61 Add loading spinner while feed loads 2022-02-03 17:12:09 -06:00
mantikoros
55aa2db553 resolution panel creator fee 2022-02-03 17:07:30 -06:00
James Grugett
3cf4cb7a77 Show custom feed of contracts from folds your follow or have bet on. 2022-02-03 16:54:08 -06:00
James Grugett
6c9f566d3d Add hashtag in tags of fold card 2022-02-03 14:13:51 -06:00
Austin Chen
6d6e127f7b Change Follow button to black 2022-02-03 01:49:53 -08:00
Austin Chen
65ff3ebdac "24 hour" => "24h" to save space 2022-02-03 01:48:44 -08:00
Austin Chen
e7433c2eec Save comment and description on ctrl+enter 2022-02-03 01:12:37 -08:00
Austin Chen
d0766fa7c3 Use the latest bet time for a feed group 2022-02-03 00:56:49 -08:00
James Grugett
00ac581736 Show your performance in fold 2022-02-02 23:34:35 -06:00
James Grugett
32ce410092 Show Market tags if no communities. 2022-02-02 15:29:26 -06:00
mantikoros
6ad40cf75d bottom nav bar: change last item to your trades 2022-02-02 12:56:02 -06:00
James Grugett
0a091831de Restyle tags 2022-02-01 15:03:06 -06:00
James Grugett
d6b855f0de Improve create fold button with icon and 'New' label 2022-02-01 14:10:40 -06:00
James Grugett
96c1410f01 Rename Fold => Community in UI 2022-02-01 12:12:55 -06:00
James Grugett
565ded1063 Add folds links in market, hide tags behind Show tags toggle. 2022-02-01 12:06:42 -06:00
Austin Chen
64fc0c74ff Replace bottom border with shadow 2022-01-31 17:07:12 -08:00
Austin Chen
6234b12f89 Bring up numeric keyboards on mobile 2022-01-31 17:05:01 -08:00
Austin Chen
7549cf6a89 Show a bottom navbar on mobile devices 2022-01-31 17:02:17 -08:00
James Grugett
6427e1bd06 Save tags unique and case-insensitive. Don't clear added tags on updating description. 2022-01-30 21:25:52 -06:00
mantikoros
f06ca8305c
Resolve prob (#41)
* rename MKT to PROB; show resolved probability; move format utilities to common

* ProbabilitySelector

* resolve to PROB

* prob and mkt labels
2022-01-30 15:51:30 -06:00
James Grugett
855256816e Include tags in contract search 2022-01-30 15:30:49 -06:00
jahooma
967ac1b08d Negative margin prevented clicking on top half of bet row button 2022-01-29 21:21:57 -06:00
jahooma
9fa457dec8 Hide bet row when trading not allowed 2022-01-29 21:08:06 -06:00
jahooma
482654d06b Update folds SEO to include curator. 2022-01-28 13:45:32 -06:00
jahooma
f04d66d5c8 Don't focus feed create unless there's no question yet 2022-01-28 13:23:44 -06:00
jahooma
836c87b371 Make graph's fake datapoint farther out 2022-01-28 13:19:32 -06:00
jahooma
f75dc0200d Remove link create a market in placeholder 2022-01-28 12:54:15 -06:00
jahooma
53a6748c6d Hide negative earners on leaderboard. Show empty message if none on leaderboard. 2022-01-28 12:43:35 -06:00
jahooma
d5742900b0 Remove border on ask question form. Add padding to fold title on mobile 2022-01-28 12:13:12 -06:00
jahooma
acc95bbd9c Remove spacer in feed create 2022-01-27 18:07:12 -06:00
jahooma
1ab71f8521 Flip nav folds and markets 2022-01-27 17:55:23 -06:00
jahooma
99bb8fdeea Switch to regular text area for question b/c causing jump, and no new expansion necessary 2022-01-27 17:52:24 -06:00
jahooma
23ea1d72b7 Home menu option goes to /home if signed in 2022-01-27 17:33:50 -06:00
jahooma
49bc3c5735 Tweak profile menu width 2022-01-27 17:31:41 -06:00
mantikoros
63ca394d6e profile menu: use avatar component 2022-01-27 17:24:44 -06:00
mantikoros
bdb2cfd710 avatar component 2022-01-27 17:14:45 -06:00
jahooma
0cc108e1ac Fix the width of profile menu 2022-01-27 17:12:18 -06:00
James Grugett
649c6f4642
Make navbar render signed in or signed out by page (#39) 2022-01-27 17:06:31 -06:00
mantikoros
bd6c215cd3
use img instead of next js image for avatar, logo (#38) 2022-01-27 16:50:55 -06:00
jahooma
9b59ea9fbe Bring back global leaderboards linked from profile menu 2022-01-27 16:43:45 -06:00
jahooma
f2c4d3e9c1 Change to white backgrounds for content. Remove page's margin, set individually. 2022-01-27 16:37:43 -06:00
jahooma
77eaf070e6 Make clicking feed create focus input. Shrink create market button 2022-01-27 15:22:18 -06:00
mantikoros
6e2d16225e feedcreate: simplify design 2022-01-27 15:08:28 -06:00
jahooma
077eeec2c7 Fix hiding bet row on market page 2022-01-27 15:02:47 -06:00
jahooma
aebf572dc9 Shrink and label bet row 2022-01-27 14:49:59 -06:00
mantikoros
f451d94295 feedCreate: use hook for randIndex 2022-01-27 14:46:23 -06:00
mantikoros
e697024f52 FeedCreate: change placeholders, cycle through randomly 2022-01-27 14:40:46 -06:00
jahooma
bb788d5201 Change placeholder in fold create question 2022-01-27 14:05:59 -06:00
jahooma
6696ac2a15 Make about optional for folds 2022-01-27 12:57:36 -06:00
jahooma
9764a03189 Add create market to top of fold activity. Auto-adds the primary tag of the fold. 2022-01-27 12:45:35 -06:00
jahooma
64d46b7cdd Add folds navigation option on mobile 2022-01-27 01:30:51 -06:00
jahooma
61d2557c35 Launch folds in nav bar, update copy. 2022-01-27 01:10:28 -06:00
jahooma
d83fe1a202 Make feed create avatar not load glitchily 2022-01-27 00:49:23 -06:00
jahooma
769763d006 Tweaks 2022-01-27 00:38:42 -06:00
jahooma
da695c33f4 Fix profile menu opening underneath links 2022-01-27 00:38:42 -06:00
mantikoros
1eccdb7b4f homepage tweaks 2022-01-26 18:44:36 -06:00
Austin Chen
549926a323 Show Buy buttons next to prob on mobile 2022-01-26 18:31:01 -06:00
mantikoros
d9c67e8d49 new signed-out homepage 2022-01-26 18:21:25 -06:00
jahooma
33c8fe2bc0 Append tags from market page 2022-01-26 17:45:07 -06:00
jahooma
2e7a8210bb No symbols in fold primary tag. Limit Name to 140 chars 2022-01-26 17:45:07 -06:00
Austin Chen
c047365bb4 Include "Buy" tag inside buttons 2022-01-26 16:28:57 -06:00
jahooma
348c8d565a Fold delete 2022-01-26 14:56:15 -06:00
jahooma
b1abfcda8b Placeholder when no activity on folds page 2022-01-26 14:39:25 -06:00
Austin Chen
e4377ee3a3
Allow betting directly from the activity feed (#36)
* Show a popup for betting on the Activity feed

* Replace the popup with a YES/NO selector

* Autofocus the bet amount

* Hide BetRow when not appropriate

* Make bet modal larger on desktop

* Default to YES if no bet choice has been made yet
2022-01-26 14:08:03 -06:00
jahooma
76841e53b1 Follow and unfollow folds 2022-01-26 14:03:32 -06:00
jahooma
c3f49c44a0 Cardify folds in fold list 2022-01-26 12:44:16 -06:00
jahooma
8e511e7cc9 Add about to top of fold page on mobile. Layout tweaks 2022-01-26 12:02:53 -06:00
jahooma
2ea05f8913 Folds query on lowercase tags. Adding to description updates tags & lowercaseTags fields. 2022-01-25 17:52:21 -06:00
jahooma
8b0091f30d Split out create fold button. Show about description on /folds 2022-01-25 17:02:02 -06:00
James Grugett
8b9d0e5dba
New fold page UI with tabs (#37)
* Tabbed fold page

* Implement market, leaderboard tab views for fold. And edit dialog

* Add about field to Fold
2022-01-25 14:47:25 -06:00
Austin Chen
e481b971d0 Show pool amount in feed 2022-01-25 13:31:25 -06:00
Austin Chen
793a2c6d6c Closing soon: hide already closed, show close time 2022-01-24 01:38:29 -06:00
Austin Chen
98064119e1 Remove unused UserCard 2022-01-24 00:48:10 -06:00
jahooma
d22a21caec Add 24 hour sort option. Rearrange options 2022-01-24 00:31:52 -06:00
Austin Chen
f66bc6af4d Make placeholder text less prominent 2022-01-23 23:34:10 -06:00
jahooma
c5a5869f21 Sort by close date 2022-01-23 13:34:03 -06:00
jahooma
b9a82b652e Resolved markets sort by resolved time 2022-01-23 11:14:04 -06:00
jahooma
cff2611582 Add back dynamically loading feed 2022-01-22 18:26:56 -06:00
mantikoros
80776186aa
/home for signed in users (#35) 2022-01-22 18:16:23 -06:00
jahooma
e53dd78502 Fix types 2022-01-22 18:14:41 -06:00
jahooma
aa1022546d Implement leaderboards for folds! 2022-01-22 17:59:50 -06:00
jahooma
fe912921eb Use nicer tag component for folds 2022-01-22 14:52:49 -06:00
Austin Chen
2e3f1b4c52 Collapse long threads on the activity feed 2022-01-22 11:47:09 -06:00
jahooma
a5f953743f Remove create a market on mobile 2022-01-22 11:44:49 -06:00
jahooma
0617fedb17 Add /markets for fold 2022-01-22 11:39:35 -06:00
Austin Chen
b95dfa0a33 Set "sign up" text to green; add #crypto 2022-01-21 18:36:19 -06:00
Austin Chen
7e44af318b Truncate both question and comments in activity feed 2022-01-21 18:30:13 -06:00
jahooma
d357f51883 Reorg homepage. No feed when not signed in, add back hot & closing soon for signed 2022-01-21 18:28:12 -06:00
jahooma
b29e69a52c Remove timestamp from question feed item 2022-01-21 18:10:38 -06:00
James Grugett
60f68b178d
Folds (#34)
* Fold type, fold page, query for fold contracts

* Tsconfig: target esnext, nounused locals: false

* Store tags in field on contract. Script to update contract tags

* Show tags on fold page

* Load all fold comments server-side to serve better feed

* Fix the annoying firebase already initialized error!

* Add links to /edit and /leaderboards for fold

* Page with list of folds

* UI for creating a fold

* Create a fold

* Edit fold page
2022-01-21 17:21:46 -06:00
Austin Chen
5be6a75e4b
Create new markets directly from the feed (#33)
* Move hot & closing markets to All Markets

Soon to be named "Explore"

* Set up a question box on the homepage

* Show Leaderboards by default instead of Create

* Support full contract creation from homepage

* Force mt-0 on /markets

* Move description into info tooltip

* Add hint to ask a question

* Initialize close date to 1 week from today

* Add a promo section for logged-out users

* Add hashtags, remove mobile padding

* Rewrite promo copy

* Store hotContracts as static props
2022-01-21 12:33:58 -06:00
mantikoros
1b5e33ca54 no ante selling 2022-01-19 16:36:55 -06:00
mantikoros
df9b498e18 "Market closes" => "Trading ends" 2022-01-19 16:07:58 -06:00
mantikoros
4cca60b16e contract card: simplify date display 2022-01-19 16:01:54 -06:00
mantikoros
2320f0b962 show pool value everywhere 2022-01-19 16:01:18 -06:00
Austin Chen
f3404b893d Shrink title on mobile screens 2022-01-19 12:17:22 -05:00
Austin Chen
b704f4fe78 Allow updating description even after contract close 2022-01-19 10:46:36 -05:00
Austin Chen
5ac77674ed Also show avatar url from contract feed 2022-01-19 03:16:22 -05:00
Austin Chen
f9780a2f69 Switch to feed "lollipops"
Doubt anyone else cares. Ideally these are also disconnected on top but it's hard to get the spacing to look right with variably-sized avatars.

Options:
- Keep as-is (lollipops)
- Revert to hardcoded `ring-gray-50`
- Fix icons to the same size
- Switch between `ring-gray-50` and `ring-white`
- Rewrite the CSS
2022-01-19 03:15:09 -05:00
Austin Chen
ed7902f77f Remove feed subicons; fix FeedBetGroup spacing 2022-01-19 02:54:00 -05:00
Austin Chen
78c461b26c Show creator avatar in feed 2022-01-19 02:34:36 -05:00
Austin Chen
b963cc2fe2 Show close time in feed 2022-01-19 02:10:54 -05:00
Austin Chen
f75fbfb4c5 Make textboxes in feed expandable 2022-01-19 01:43:54 -05:00
jahooma
21949abbe1 Shorter graph on mobile 2022-01-18 17:10:21 -06:00
jahooma
ee64c4e923 Bring back cards having different heights in a row 2022-01-18 16:55:39 -06:00
jahooma
e6dbcbc4fd Prevent header jump on mobile 2022-01-18 13:16:35 -06:00
mantikoros
908c8c03e6
Create user cloud function (#31)
* createUser cloud function; change User object

* initial commit

* listenForLogin: avoid race condition

* createUser: allow capital letters in username

* remove debugging

* leaderboard: empty url for undefined avatar image
2022-01-18 01:18:38 -06:00
mantikoros
e6d467764d Don’t show negative values in feed for sales 2022-01-17 21:38:40 -06:00
James Grugett
6625983bb7
Leaderboards 🏅 (#30)
* Simple leaderboards

* Filter out SG from traders. Center leaderboard. Use Nextjs Image.

* Add leaderboards menu option

* Put leaderboards side-by-side on large screens

* Add medal emoji
2022-01-17 21:20:25 -06:00
jahooma
746a97c1df Don't hide children of datetime tooltip 2022-01-17 18:08:50 -06:00
jahooma
ead441ce9f Hide time tooltip on mobile as fix 2022-01-17 18:01:09 -06:00
jahooma
b86720e943 Fix feed not centered 2022-01-17 17:51:41 -06:00
jahooma
4d975ff512 Add closing soon section to home 2022-01-17 16:54:00 -06:00
Austin Chen
d32147b536 Show DateTime tooltips whereever we show dates 2022-01-16 04:16:15 -05:00
Austin Chen
8d474ef031 Switch to outlined icon 2022-01-16 02:14:21 -05:00
jahooma
4618b37c82 Correctly show all creator and tag markets 2022-01-15 17:56:16 -06:00
jahooma
9209b3cb05 Fix nested <a> tag 2022-01-15 17:28:49 -06:00
mantikoros
a16d35974f fix displayed sale amount 2022-01-15 16:51:09 -06:00
jahooma
3f42991741 Show current payout in bet panel! Abolish estimated max payout. Show shares in tooltip 2022-01-15 15:28:19 -06:00
jahooma
895eba4553 Get static props of just data for feed: active contracts, their bets & comments. 2022-01-14 18:16:32 -06:00
mantikoros
d25fb916ba Merge branch 'main' of https://github.com/manticmarkets/mantic 2022-01-14 17:39:27 -06:00
mantikoros
3fa2926559 create page design; require minimum ante; lower phantom ante amount; createContract checks 2022-01-14 17:39:17 -06:00
Austin Chen
77e6ea5a6b Replace close time with year 2022-01-14 18:34:54 -05:00
jahooma
1af03bc53d Improve card style flashing on load 2022-01-14 16:59:14 -06:00
Austin Chen
78b27ee964 Truncate activity feed descriptions to 400 chars 2022-01-14 17:28:19 -05:00
jahooma
c70ec1dad3 Remove 3 unnecessary DOM elements from card 2022-01-14 12:28:48 -06:00
jahooma
40c853e595 Reimplement hot markets with flex box, since I can't figure out how to make the css grid version not flash bad layout. 2022-01-14 00:55:35 -06:00
jahooma
3e08349df6 Fix buttons going off the pay dialog 2022-01-13 21:15:44 -06:00
jahooma
aa77effcb6 Fix safari not breaking words on home page 2022-01-13 21:09:44 -06:00
jahooma
3ae456f730 Remove unnecessary margin from navbar 2022-01-13 17:15:32 -06:00
jahooma
974d41434e Try to fix flashing css grid #2 2022-01-13 17:08:12 -06:00
jahooma
ea342248de Try to fix css grid layout flash in prod 2022-01-13 17:02:13 -06:00
jahooma
6ae9e6354c Fix logo disappearing 2022-01-13 16:19:56 -06:00
jahooma
dcf07fe0a1 Load navbar more gracefully: don't show options until user loaded 2022-01-13 16:09:13 -06:00
jahooma
fc5fa000b9 Linkify user avatars in feed 2022-01-13 15:24:14 -06:00
jahooma
1683a3842b Link to user from feed mentions. Show name instead of username in card. 2022-01-13 15:16:47 -06:00
jahooma
07a7fc219b Axe landing page, show home feed 2022-01-13 14:54:31 -06:00
jahooma
2db69e4d15 Non-blue titles for bet / resolution panel 2022-01-13 12:58:49 -06:00
jahooma
2b618be3ac Increase padding on contract page 2022-01-13 12:58:49 -06:00
jahooma
dfcac2fb97 Hide ante bets in graph and feed 2022-01-13 11:01:23 -06:00
jahooma
4f8d689ad8 Remove duplicate about, from merge error? 2022-01-12 22:06:11 -06:00
Austin Chen
342cef8c1d Make "add funds" an outline button 2022-01-12 14:16:50 -05:00
mantikoros
9d5490cf9a
Switch to new dpm mechanism (#26)
* initial commit

* antes

* rename path, compute to contractPath, contractMetrics

* merge

* Include antes as bets; more calculations

* fees on estimated winnings

* mkt payout calculation

* contract: remove startPool, add phantomShares

* Merge branch 'main' into new-dpm

* dpm migration script

* my service account
2022-01-12 13:01:04 -06:00
Austin Chen
d38f1300c3 Reduce visual weight of "add funds" button 2022-01-12 13:35:11 -05:00
Austin Chen
7c1d70313b Uncardify activity feed 2022-01-12 13:20:28 -05:00
Austin Chen
5c4235a247 Narrower padding for mobile 2022-01-12 12:57:35 -05:00
Austin Chen
2df96cc0b5 Replace '24h vol' with trending icon 2022-01-12 12:51:46 -05:00
Austin Chen
344ce69fee Move About page out of navbar 2022-01-12 02:18:14 -05:00
Austin Chen
d121e59189 Only permit comments within an hour of betting 2022-01-12 01:47:56 -05:00
jahooma
ca38640b89 Tweak positioning of add funds button, no green initial probability 2022-01-11 23:29:50 -06:00
jahooma
5947be6647 Darker timestamp on feed 2022-01-11 22:00:03 -06:00
jahooma
19c0f83b85 Activity feed on home page! All markets navbar option. 2022-01-11 21:56:11 -06:00
jahooma
ebb1bc7359 Fix feed layout on mobile, adjust spacing, max width. 2022-01-11 14:57:53 -06:00
Austin Chen
5b431226d4
Show all recent activity on a central feed (#24)
* Tracks all market activity on a single page

* Support both global and per-contract feeds

* UI tweaks

* Include contract description in activity feed

* Show activity feed on Create page
2022-01-11 11:56:26 -05:00
jahooma
dc7460f209 Fix tweet button wrapping sometimes 2022-01-11 10:29:54 -06:00
James Grugett
bfd0af1c80
New logo: oragami crane (#25)
* new logo

* Switch out mantis for crane in logos

* White svg on dark background. Align correctly on landing page.

* Mobile navbar: hide your name, write out Manifold Markets

Co-authored-by: mantikoros <sgrugett@gmail.com>
2022-01-11 00:16:58 -06:00
jahooma
7fbecbc102 Extract bet amount input to component. 2022-01-10 21:41:42 -06:00
jahooma
6ef48af085 Hide add funds button if you are a first-time user (have 1000 balance) 2022-01-10 17:55:36 -06:00
mantikoros
b97a65cf2c refactor data structures, calculations to common directory 2022-01-10 15:07:57 -06:00
jahooma
dd6edc3b7a Use sale amount for sold bets. Round one more item in the feed. 2022-01-10 11:38:44 -06:00
jahooma
188ab66029 Don't wrap text on Sign in to trade button 2022-01-10 11:02:43 -06:00