Commit Graph

478 Commits

Author SHA1 Message Date
jahooma
a902dfebca Fit long names on mobile 2021-12-24 16:29:24 -05:00
mantikoros
b2945c24b1 turn keep awake on 2021-12-24 16:14:02 -05:00
mantikoros
f48ae0170b
Sell bets (#12)
* sell bet

* dev mode

* single-pot no-refund payoff; bet selling

* Increase default fetch size 25 -> 99

* Fix about page numbering

* Don't flash no markets when loading on tag page.

* Change Title to use body font

* Make a bunch of predictions at once (#9)

* Set up a page to make bulk predictions

* Integrate preview into the same card

* List created predictions

* Make changes per James's comments

* Increase the starting balance (#11)

* Remove references to paying for our Mantic Dollars

* Update simulator to use new calculations

* Change simulator random to be evenly random again

* Sell bet UI

* Migrate contracts and bets script

* Add comment to script

* bets => trades; exclude sold bets

* change sale formula

* Change current value to uncapped sell value.

* Disable sell button while selling

* Update some 'bet' to 'trade'

Co-authored-by: Austin Chen <akrolsmir@gmail.com>
Co-authored-by: jahooma <jahooma@gmail.com>
2021-12-24 15:06:01 -06:00
jahooma
856a2453a1 Remove references to paying for our Mantic Dollars 2021-12-21 14:02:24 -06:00
James Grugett
ff4550fe51
Increase the starting balance (#11) 2021-12-21 13:52:27 -06:00
Austin Chen
9d438dc356
Make a bunch of predictions at once (#9)
* Set up a page to make bulk predictions

* Integrate preview into the same card

* List created predictions

* Make changes per James's comments
2021-12-20 22:29:32 -08:00
Austin Chen
3841e2a98f Change Title to use body font 2021-12-20 22:29:01 -08:00
jahooma
998b01cde7 Don't flash no markets when loading on tag page. 2021-12-20 18:06:24 -06:00
jahooma
05b8ce96b5 Fix about page numbering 2021-12-20 18:04:19 -06:00
Austin Chen
f79d69cd69 Increase default fetch size 25 -> 99 2021-12-20 09:56:27 -08:00
jahooma
5cbbb55dba Tweak spacing 2021-12-19 23:15:18 -06:00
jahooma
918229c6ef Make navbar line up with content 2021-12-19 22:37:11 -06:00
jahooma
4b3b6436a0 Improve navbar styles. Create Page component with navbar and page structure. 2021-12-19 22:06:30 -06:00
jahooma
702c0af33e Rename Header to NavBar. Split profile menu and mantic logo out. 2021-12-19 21:12:12 -06:00
mantikoros
28a2199ec7 fix header issue 2021-12-19 18:06:47 -06:00
mantikoros
bf211b91fe keep logo font 2021-12-19 18:02:42 -06:00
mantikoros
c03e68640e header sign out menu item; remove user card 2021-12-19 17:56:22 -06:00
mantikoros
481b97d689 change default font to Courier 2021-12-19 17:47:13 -06:00
mantikoros
6270ec2c59 change faq => about 2021-12-19 17:39:15 -06:00
mantikoros
f0acc11b83 about styling 2021-12-19 17:38:10 -06:00
jahooma
58521b6503 Switch to yarn 2021-12-19 16:08:25 -06:00
jahooma
ccff8c9bec Run a ts type checker in parallel with nextjs dev process 2021-12-19 15:26:59 -06:00
jahooma
1d9adcbeaf Fix build 2021-12-19 15:05:39 -06:00
jahooma
80ffed9460 Change navigation to add FAQ, and bundle Your bets and Your markets as options under menu. 2021-12-19 14:57:44 -06:00
jahooma
6efdf46bb3 Don't show "No markets found" when loading markets 2021-12-19 14:40:54 -06:00
Austin Chen
0a4e05ad32 Actually fix build error >.> 2021-12-19 01:24:37 -08:00
Austin Chen
c563ecc88b Fix build error 2021-12-19 01:17:25 -08:00
Austin Chen
a760940ae6 Support hashtags in the question 2021-12-19 01:08:12 -08:00
mantikoros
f1a96b5320 static loading of markets 2021-12-18 23:59:42 -06:00
jahooma
ab2011609f Rename [slug] to [contractSlug] 2021-12-18 23:50:47 -06:00
jahooma
b87e751b2d Improve spacing on landing-page, about faq. 2021-12-18 23:44:08 -06:00
Austin Chen
2a4ad3734b Various spacing fixes 2021-12-18 17:23:34 -08:00
jahooma
77291956bc Display N/A instead of cancel 2021-12-18 18:37:37 -06:00
jahooma
86e323bf25 Fix collapse carrot positioning... 2021-12-18 18:11:40 -06:00
jahooma
5be7ce5f8f Standardize spacing across pages. 2021-12-18 17:42:06 -06:00
Austin Chen
d8dfd103b9 Minor spacing fix 2021-12-18 15:24:58 -08:00
Austin Chen
639d17cada Render /about page in React 2021-12-18 15:19:50 -08:00
Austin Chen
95e7b0970d Disable tsc linting 2021-12-18 15:18:58 -08:00
Austin Chen
191742c88f Fix build issue 2021-12-18 13:01:29 -08:00
Austin Chen
2ecc4730d7 Run tsc over staged files before Git commit 2021-12-18 12:59:40 -08:00
mantikoros
f93d10f850 run keep awake every 30 seconds 2021-12-18 14:29:27 -06:00
Austin Chen
83a75def06 Remove lowercase, bold, tight tracking 2021-12-18 04:19:16 -08:00
Austin Chen
bc81091243 Implement #hashtag grouping of markets 2021-12-18 04:06:59 -08:00
Austin Chen
1851b20f42 Fix /bets page 2021-12-18 02:37:26 -08:00
Austin Chen
802f376042 Add a message for empty markets and bets 2021-12-18 02:28:01 -08:00
Austin Chen
957eb3ac94 Search contracts by username too 2021-12-17 23:29:42 -08:00
Austin Chen
77e15e3aa8 Denormalize username to each contract 2021-12-17 23:27:29 -08:00
Austin Chen
f6c45a29c2 Prompt for sign in from bet panel 2021-12-17 23:09:11 -08:00
Austin Chen
db122fb614 Supernit: Better line breaking on homepage 2021-12-17 22:49:24 -08:00
jahooma
393a4962c9 Fix headers on mobile with cool dropdown menu. 2021-12-18 00:37:09 -06:00