James Grugett
2e1fdd7d7a
Add border bottom back on fold page
2022-01-31 19:29:59 -06:00
mantikoros
d49656cb77
create: market close includes time
2022-01-30 23:20:27 -06:00
James Grugett
00b7f3505f
Listen for contract updates in folds feed
2022-01-30 22:12:12 -06:00
James Grugett
9d2b99f237
Listen for updates of contracts on home
2022-01-30 22:03:20 -06:00
James Grugett
997f13d986
Make leaderboard not error on non-existant users
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
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
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
764790c1e1
Add simple Fold page SEO
2022-01-28 12:34:13 -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
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
4ca1d33d65
Make tag page check lowercase tag field
2022-01-27 15:11:32 -06:00
mantikoros
f58126e630
create: remove default close date
2022-01-27 14:31:09 -06:00
mantikoros
9acb07aa14
home: remove hot, closing soon sections
2022-01-27 14:23:55 -06:00
jahooma
bb788d5201
Change placeholder in fold create question
2022-01-27 14:05:59 -06:00
mantikoros
d2e78eb5de
markets: make 24hr vol default sort
2022-01-27 12:48:47 -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
61d2557c35
Launch folds in nav bar, update copy.
2022-01-27 01:10:28 -06:00
jahooma
769763d006
Tweaks
2022-01-27 00:38:42 -06:00
Austin Chen
c047365bb4
Include "Buy" tag inside buttons
2022-01-26 16:28:57 -06:00
jahooma
b1abfcda8b
Placeholder when no activity on folds page
2022-01-26 14:39:25 -06:00
jahooma
ef8157025f
Compute fold follower count from cloud function.
2022-01-26 14:27:16 -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
jahooma
897eb0c27b
Handle 404 errors for non-existent fold subpages
2022-01-25 15:44:32 -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
jahooma
ed9285dbc1
Make folds page more understandable. Add additional tags on fold creation
2022-01-24 16:58:51 -06:00
jahooma
705d5cada7
Add lowercaseTags field to contracts. ante / closeTime non-optional in new contract code
2022-01-24 16:33:10 -06:00
Austin Chen
13590bf5d1
Surface user emails in /admin
2022-01-24 00:48:10 -06:00
jahooma
0e3e4b8192
Show unresolved markets first in fold
2022-01-23 23:55:48 -06:00
jahooma
bc3e43802b
Listen for new folds on /folds
2022-01-23 23:48:10 -06:00
jahooma
b059a44acc
Use fold hook
2022-01-23 00:51:19 -06:00
jahooma
6cc2e6692e
Fix DOM error for nested forms
2022-01-22 18:38:37 -06:00
mantikoros
fd03eb841f
home: remove incomplete loading of contract data
2022-01-22 18:36:35 -06:00
mantikoros
7c124c1390
home: handle undefined props
2022-01-22 18:32:50 -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
aa1022546d
Implement leaderboards for folds!
2022-01-22 17:59:50 -06:00
jahooma
bc1decdbfc
Initialize folds with one primary tag
2022-01-22 15:47:24 -06:00
jahooma
789df9a76d
Add some catches
2022-01-22 15:21:52 -06:00
jahooma
fe912921eb
Use nicer tag component for folds
2022-01-22 14:52:49 -06:00
jahooma
be82406c4d
Include older contracts in fold feed
2022-01-22 11:50:09 -06:00
jahooma
0617fedb17
Add /markets for fold
2022-01-22 11:39:35 -06:00
mantikoros
4698d119b4
activity, withoutAnteBets: check for undefined
2022-01-22 11:15:14 -06:00
jahooma
affa9a5ab6
Change default sort of all markets to most traded
2022-01-21 18:31:20 -06:00
jahooma
9733056ce7
Hide hot and closing soon markets on all markets
2022-01-21 18:30:27 -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
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
Austin Chen
9457ac9337
Show resolved markets on Admin page; show create & resolve times
2022-01-20 01:55:10 -05:00
mantikoros
4c0a994174
about: remove open beta disclaimer, barb about praying mantises
2022-01-19 16:13:56 -06:00
Austin Chen
b3282c4302
Improve SEO descriptions
2022-01-19 12:57:35 -05:00
jahooma
d3031e0f10
Admin contracts tabel: Add visibility column, filter out resolved
2022-01-18 16:29:49 -06:00
jahooma
aa164cd5f5
Add contracts table to admin page
2022-01-18 16:10:40 -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
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
4d975ff512
Add closing soon section to home
2022-01-17 16:54:00 -06:00
Austin Chen
673c432bb9
Expose Firestore analytics on /analytics
2022-01-17 13:34:28 -05:00
Austin Chen
279437ba08
List users on admin page ( #28 )
...
* Admin page using gridjs
* Move hook into separate file
* Link to each user's Manifold and Firestore /user entry
* Gate admin access to Austin/James/Stephen
* Don't leak the existence of /admin
* Add a custom 404 page that directs to Discord.
* Fix broken window.location.href on NextJS server
2022-01-15 22:09:15 -05:00
Austin Chen
07709cdccb
Fix Calendly link
2022-01-15 21:05:26 -05:00
jahooma
c13b71b754
Center create market page. Tweak labels
2022-01-15 19:02:01 -06:00
mantikoros
615d5874b3
Merge branch 'main' of https://github.com/manticmarkets/mantic
2022-01-15 17:31:56 -06:00
mantikoros
43c67b2820
create page info tooltips; small bug fix: use balance instead of remainingBalance
2022-01-15 17:30:48 -06:00
jahooma
1aa88a917b
Fix missing key
2022-01-15 17:29:38 -06:00
jahooma
0069846335
Turn off hook for fetching hot contracts for now.
2022-01-15 12:43:39 -06:00
jahooma
f6079e68d0
Choose random hot contracts from top 16 every 5 minutes.
2022-01-15 00:44:33 -06:00
jahooma
e12e399679
Fix feed order moving around on load
2022-01-14 19:12:38 -06:00
jahooma
9d44c40415
Preserve scroll on back
2022-01-14 18:43:00 -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
3fa2926559
create page design; require minimum ante; lower phantom ante amount; createContract checks
2022-01-14 17:39:17 -06: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
07a7fc219b
Axe landing page, show home feed
2022-01-13 14:54:31 -06:00
jahooma
2b618be3ac
Increase padding on contract page
2022-01-13 12:58:49 -06:00
jahooma
de043de589
Add visibility field to contracts. Hot contracts & activity feed show only visibility 'public'.
2022-01-12 19:53:50 -06:00
jahooma
1fbde3646f
Bump up feed padding on mobile
2022-01-12 15:32:50 -06:00
jahooma
33f4965fa4
Change activity feed to white bg, no hover bg, smaller width, centered
2022-01-12 15:23:29 -06: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
7c1d70313b
Uncardify activity feed
2022-01-12 13:20:28 -05:00
Austin Chen
edb3809f1c
Standardize on max-w-4xl
2022-01-12 02:13:01 -05:00
jahooma
8839ffc492
Require close date for new markets. Update description placeholder to say it's optional.
2022-01-11 23:40:41 -06:00
jahooma
ca38640b89
Tweak positioning of add funds button, no green initial probability
2022-01-11 23:29:50 -06:00
jahooma
2f88a5cdab
Remove Activity Feed from create page per Stephen
2022-01-11 21:59:44 -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
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
a04c978408
Keep page wide if showing resolve panel
2022-01-10 10:33:02 -06:00
mantikoros
01506fedeb
about page
2022-01-10 01:12:14 -06:00
Austin Chen
feca042e47
Use the generated OpenGraph card in all markets ( #23 )
...
* Run OpenGraph server on dev port 3001
* Cut '%' since frontend already passes it
* Use the generated card in markets
* Rename to ogCardProps
* Don't show creator avatar url, for now
* Remove bad comment
2022-01-10 02:05:24 -05:00
Austin Chen
ed37d93868
Dynamically generate Opengraph images for each market ( #21 )
...
* Start customizing opengraph image
* Fix cover image size to 1200x630
* Design a text-based, dynamic preview card
* Load designed html into template.ts
Remove twemoji for now too
* Take in params to configure Manifold card
* Switch back to hardcoded png for default case
2022-01-10 00:50:31 -05:00
jahooma
cedd8df45c
Show hot market 24 hour volume instead of pool
2022-01-09 15:21:30 -06:00
jahooma
d1c6e5bc91
Change useContracts to return undefined instead of 'loading'. Serve static props on tag page
2022-01-09 14:51:20 -06:00
jahooma
16ab0e0c37
Query hot contracts from volume24Hours field.
2022-01-09 14:26:51 -06:00
jahooma
6d4554e9ef
Don't show resolved markets in hot markets
2022-01-09 12:14:20 -06:00
jahooma
519dda6473
Use gray-500 instead of gray-400 for text against gray bg.
2022-01-08 23:10:08 -06:00
mantikoros
abb5d53431
ensure bet amounts are positive
2022-01-08 11:51:42 -06:00
jahooma
6398f93ffe
Show just the hot markets on homepage.
2022-01-08 00:23:50 -06:00
James Grugett
af6387bbf3
Stripe ( #22 )
...
* basic working payments
* Select funds amount and prettier funds button / dialog
* Add funds page and nav menu option
* Format funds amount. Use ghost button for back.
* Add mantic dollars description
* Improve styles of add funds page
* about styling
* change faq => about
* change default font to Courier
* header sign out menu item; remove user card
* keep logo font
* fix header issue
* stripe webhook: handle repeat events
* Make add funds button a gradient
* add funds referer url
* Fix add funds page after merge
* Slight VisD tweaks
* Update add funds button position. Mantic => Manifold
* Remove Add funds menu option for now.
* Set up product ids and endpoint for stripe prod
* Swap back order in profile menu
Co-authored-by: mantikoros <sgrugett@gmail.com>
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
2022-01-07 16:56:14 -06:00
Austin Chen
fccf52eb34
Use our new dynamic opengraph image
2022-01-07 12:19:17 -08:00
mantikoros
a7c42ee8ec
meta image tag
2022-01-06 21:54:11 -06:00
mantikoros
59034839a9
meta tag image
2022-01-06 21:41:29 -06:00
jahooma
bdb46fc7c1
Tweaks for create market page
2022-01-06 21:32:46 -06:00
James Grugett
85b5ee5cbc
Rename to Manifold Markets! ( #19 )
...
* Update logo and about page to manifold
* Change urls, titles / metatags, landing page
2022-01-06 12:48:30 -06:00
Austin Chen
f218a74a0c
Add probability slider to Create Market
2022-01-06 00:45:30 -08:00
mantikoros
95b28bd536
create page: disable form elements after submitting
2022-01-05 21:10:06 -06:00
Austin Chen
22894cb44e
Update Notion link
2022-01-05 15:51:56 -08:00
mantikoros
0b8ad76b0f
global warming: warm up all cloud functions on client
2022-01-05 12:30:16 -06:00
jahooma
5eaf50612d
Advanced metrics for bet panel
2022-01-05 12:23:44 -06:00
jahooma
1bc323d575
Hot markets! 🔥
2022-01-05 00:33:01 -06:00
mantikoros
4386422f02
fix make-predictions
2022-01-05 00:07:36 -06:00
mantikoros
7c875f80da
subsidized markets; create contract cloud function
2022-01-04 23:51:34 -06:00
jahooma
57ee53e133
Create page: Change "Prediction" to "Question" and make it gray
2022-01-04 21:03:00 -06:00
jahooma
6d97b82aee
Use our own Tweet button instead of loading Twitter script
2022-01-04 16:34:07 -06:00
jahooma
73f1116b8f
Add Tweet button to share market
2022-01-04 14:57:48 -06:00
mantikoros
f0e045694a
update about page with more info about basic betting mechanics
2022-01-03 23:56:56 -06:00
jahooma
4d0646a200
Add payout if MKT. Current value uses MKT payout.
2022-01-03 23:44:58 -06:00
mantikoros
44f44272ff
create page: minor changes
2022-01-03 13:00:53 -06:00
jahooma
a331faa1a7
Create page: Chance => Initial probabilty, description out of advanced, advanced arrow clickable
2022-01-03 12:39:44 -06:00
Austin Chen
fb0e16d619
Add a closing date to Create Market ( #10 )
...
* Preview a slimmed-down version of /Create
* Rework dropdown to be on bottom
* Parse the close time as just before midnight
* Prevent invalid contracts from being created
* Prevent trading after contract has closed
2022-01-02 21:21:25 -08:00
James Grugett
bad7a2b543
Sort & query url params ( #17 )
...
* Sort query in progress
* Search and query url params!
2022-01-02 16:46:04 -06:00
mantikoros
cdf25ba659
contract page seo tags
2022-01-02 12:57:52 -06:00
jahooma
8c644da10d
Update contract title with resolution or percent chance
2022-01-01 22:52:55 -06:00
James Grugett
f78920c912
Organize markets by creator!! ( #14 )
2021-12-30 14:03:32 -06:00
jahooma
527a8a8b09
White panels, medium shadows
2021-12-30 13:52:05 -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
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
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
f0acc11b83
about styling
2021-12-19 17:38:10 -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
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