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
Austin Chen
e481b971d0
Show pool amount in feed
2022-01-25 13:31: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
793a2c6d6c
Closing soon: hide already closed, show close time
2022-01-24 01:38:29 -06:00
Austin Chen
13590bf5d1
Surface user emails in /admin
2022-01-24 00:48:10 -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
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
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
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
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
bc1decdbfc
Initialize folds with one primary tag
2022-01-22 15:47:24 -06:00
jahooma
f0f7b85ed8
Change back typscript target to es5
2022-01-22 15:25:09 -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
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
mantikoros
4698d119b4
activity, withoutAnteBets: check for undefined
2022-01-22 11:15:14 -06:00
Austin Chen
b95dfa0a33
Set "sign up" text to green; add #crypto
2022-01-21 18:36:19 -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
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
Austin Chen
9457ac9337
Show resolved markets on Admin page; show create & resolve times
2022-01-20 01:55:10 -05:00
mantikoros
1b5e33ca54
no ante selling
2022-01-19 16:36:55 -06:00
mantikoros
4c0a994174
about: remove open beta disclaimer, barb about praying mantises
2022-01-19 16:13:56 -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
b3282c4302
Improve SEO descriptions
2022-01-19 12:57:35 -05: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
mantikoros
4528615863
Private user ( #32 )
...
* PrivateUser
* createUser: create private user; detect multiple signups
* include user properties in private user
* script: create private users
* unsubscribing from market resolution emails
* track total deposits
2022-01-18 21:36:46 -06: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
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
jahooma
142feaffff
Don't show unlisted contracts in closing soon
2022-01-18 13:17:56 -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
jahooma
56c7e2597d
Schedule cloud function to update user metrics: totalPnL, creatorVolume
2022-01-17 15:39:34 -06:00
Austin Chen
673c432bb9
Expose Firestore analytics on /analytics
2022-01-17 13:34:28 -05: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
Austin Chen
7d7286b1c1
Denormalize the avatar URL on contract creation ( #29 )
2022-01-16 01:03:59 -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
jahooma
4618b37c82
Correctly show all creator and tag markets
2022-01-15 17:56:16 -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
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
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
mantikoros
a0be5b6394
calculateMoneyRatio
2022-01-15 00:11:27 -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
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
10e6255a53
Optimize css by inlining it in html
2022-01-14 17:05:12 -06: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
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
jahooma
cc5312f52e
Change is prod to true
2022-01-12 15:23:29 -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
edb3809f1c
Standardize on max-w-4xl
2022-01-12 02:13:01 -05:00
Austin Chen
d121e59189
Only permit comments within an hour of betting
2022-01-12 01:47:56 -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
5947be6647
Darker timestamp on feed
2022-01-11 22:00:03 -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
jahooma
dc7460f209
Fix tweet button wrapping sometimes
2022-01-11 10:29:54 -06:00
jahooma
209089cc45
Update white bg logo to be white
2022-01-11 00:34:37 -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
df4ecb3fe2
move prettier config to top level
2022-01-10 17:44:42 -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
jahooma
d47e2f5d93
Decrease wide page width from 7xl to 6xl
2022-01-10 10:48:13 -06:00
jahooma
a04c978408
Keep page wide if showing resolve panel
2022-01-10 10:33:02 -06:00
jahooma
829c8a4b75
Disallow selling after close time! Enforce no trading after close on server.
2022-01-10 10:33:02 -06:00
mantikoros
01506fedeb
about page
2022-01-10 01:12:14 -06:00