SirSaltyy
be777ba122
about button directs to "how to" ( #501 )
...
* Create how to manifold.md
* Updates to docs
Updated bounties, added new "How to Manifold" page, edited "About MM" page.
* Update sidebar.tsx
2022-06-14 18:02:21 +01:00
James Grugett
92b368f11e
Fix sorting for Your bets table
2022-06-14 11:27:11 -05:00
Ian Philips
e49f614acb
Remove unused acitivity items-related code ( #492 )
...
* Remove unused acitivity items
* Remove activity page
2022-06-14 07:13:24 -06:00
Austin Chen
af3895de79
Add quadratic matching to Manifold for Charity ( #486 )
...
* Calculate quadratic funding match
* Tweak copy
* More concise quadratic funding calculation
Co-authored-by: Sinclair Chen <abc.sinclair@gmail.com>
* Fix imports and calculations
* Remove unused var for now
* Clean up styling
Co-authored-by: Sinclair Chen <abc.sinclair@gmail.com>
2022-06-13 20:53:29 -07:00
mantikoros
d9f0428e41
alert box component
2022-06-13 21:08:56 -05:00
mantikoros
e2d7e94e4c
prettier
2022-06-13 11:52:29 -05:00
mantikoros
e6a1046039
landing page branding, UI tweaks
2022-06-13 11:22:50 -05:00
James Grugett
f3d4827115
Listen for contract updates when navigating from home to contract page. ( #494 )
2022-06-13 11:04:56 -05:00
Marshall Polaris
72f4a2f603
Fix prettier errors
2022-06-12 21:49:02 -07:00
Marshall Polaris
aaef9842d4
Fix lint error
2022-06-12 21:44:35 -07:00
Marshall Polaris
816fc5d64c
Revert "Revert "Turn on no unused variables linting, kill dead code ( #484 )""
...
This reverts commit 5beda1ded7
.
2022-06-12 21:42:41 -07:00
mantikoros
0d2204bb02
Put "Get M$" in sidebar
2022-06-12 23:34:11 -05:00
mantikoros
246aa5c214
"add funds" => "get M$"
2022-06-12 23:26:05 -05:00
Austin Chen
5beda1ded7
Revert "Turn on no unused variables linting, kill dead code ( #484 )"
...
This reverts commit 515928a69a
.
2022-06-12 20:55:48 -07:00
Daniel Reeves
4ad04869a1
Typo fix (feedback #697 ) ( #490 )
2022-06-12 19:40:02 -07:00
Marshall Polaris
515928a69a
Turn on no unused variables linting, kill dead code ( #484 )
...
* Slightly fix up ChoicesToggleGroup
* Kill a bunch of dead code and unused variables
* Turn on no-unused-vars lint
* Un-kill some dead code that James likes
2022-06-12 19:04:55 -07:00
mantikoros
3d39b705ae
stats: show market type, payout mechanism
2022-06-12 18:37:01 -05:00
mantikoros
e34d34080d
Show liquidity pool; change tab to "Subsidize"
2022-06-12 18:34:18 -05:00
James Grugett
457db07da4
Show all answers in answer panel
2022-06-10 23:28:09 -05:00
Ian Philips
ee816d6552
Must listen to contract updates for probs to update ( #482 )
...
* Must listen to contract updates
* remove unused import
* Rename liveContract
2022-06-10 17:36:18 -06:00
Ian Philips
8bdc33f683
Revert using bet probs, must make totalShares work
2022-06-10 15:58:44 -06:00
Marshall Polaris
9cccc08021
Fix busted comment permalink copying code ( #481 )
...
* Fix busted comment permalink copying code
* Fix busted comment permalink href
2022-06-10 14:31:53 -07:00
Ian Philips
f1c3914807
Properly fill probs on DPMM bets ( #480 )
...
* Properly fill probs on DPMM bets
* Remove unused import
2022-06-10 15:15:52 -06:00
James Grugett
15882904eb
Disallow following yourself via market page
2022-06-10 12:55:55 -05:00
James Grugett
ad1a40ba3e
Switch select all to outline button
2022-06-10 12:45:51 -05:00
James Grugett
a68e943d0b
Refactor to load bets once on market page
2022-06-10 12:23:35 -05:00
mantikoros
e28dfaaa80
fix ios scrolling in bet panel
2022-06-10 11:36:07 -05:00
James Grugett
25c1e9c3a3
Tweak layout of user page buttons
2022-06-10 11:11:31 -05:00
Ian Philips
ead13b4e08
Time flies when you floor it
2022-06-10 09:15:55 -06:00
James Grugett
2564eb9c26
Linkify bettor username in Bets tab
2022-06-09 15:00:31 -05:00
Ian Philips
64f04185d4
Fix comment inputs on mobile
2022-06-09 10:15:34 -06:00
Ian Philips
bdb3bbd960
Don't open comment w/o new bet
2022-06-09 08:53:01 -06:00
Ian Philips
65bc0f0f86
Disable always autofocus
2022-06-09 07:36:36 -06:00
Ian Philips
3d18b12ede
bet.probAfter => getDpmOutcomeProb
2022-06-09 07:22:03 -06:00
James Grugett
f52b756163
Use lighter gray in small follow button to deemphasize
2022-06-08 23:06:25 -05:00
James Grugett
a2eece5f5c
Reveal all bets in Bets tab from June 1st onward
2022-06-08 23:03:07 -05:00
Ian Philips
01adf50ae1
Update FR comment prob and input after bet ( #467 )
...
* Update FR comment prob and input after bet
* Remove comment
* eslint
* Use proper deps and useEvent hook
2022-06-08 17:09:49 -06:00
James Grugett
88bf22622d
Fix follow dialog staying open on navigate
2022-06-08 15:51:53 -05:00
James Grugett
c9a4fa8679
Add small follow button after creator name in market page
2022-06-08 15:27:53 -05:00
James Grugett
4e83aa1431
Put back edit following button
2022-06-08 14:42:23 -05:00
James Grugett
f809acd6fd
'Discover' => 'Similar' and shows recs based on user you have open
2022-06-08 14:38:04 -05:00
James Grugett
d7e52c1969
Extract TextButton component with blue underline.
2022-06-08 14:23:10 -05:00
James Grugett
21d6815de1
Don't show follow button for yourself
2022-06-08 14:22:10 -05:00
mantikoros
0cd9943e0d
Liquidity withdrawal ( #457 )
...
* withdrawLiquidity cloud function
* update rules
* exclude antes from getCpmmLiquidityPoolWeights
* update correct lp shares
* liquidity panel
* don't create bet if less than 1 surplus share
* withdrawLiquidity return type
* static analysis fix
* hook dependency
* prettier
* renaming
* typo
* getCpmmLiquidityPoolWeights: always exclude antes
* delete unused function
* casting
2022-06-08 13:00:49 -05:00
James Grugett
a31766b020
Run prettier...
2022-06-08 11:38:09 -05:00
James Grugett
bc752b853a
Prevent comment text overlap with submit button
2022-06-08 11:34:37 -05:00
James Grugett
323a62f041
Put back numbers in home tab titles for categories / following
2022-06-08 11:24:35 -05:00
Ian Philips
61d7f0eca0
No more flying graph points
2022-06-08 09:12:33 -06:00
Ian Philips
936cabe353
Speed up notification loading by prepopulating relevant info ( #453 )
...
* Populate notification with relevant info
* eslint
* Remove duplicated code
* Unused ?
* Add new q notification, other small fixes
2022-06-08 08:43:24 -06:00
Ian Philips
7e37fc776c
Fr comment ux improvements ( #451 )
...
* Extend comment input box, only use airplane
* Only 1 commentable bet, shrink input, fix feed lines
* Pad sign in to comment button
* Small changes
2022-06-08 07:24:12 -06:00
James Grugett
ad6594f0bc
Add discover tab of users based on markets you have bet on
2022-06-07 23:42:42 -05:00
James Grugett
ac763de16b
Run prettier!
2022-06-07 23:16:05 -05:00
James Grugett
00cbec2309
Show edit following button on home
2022-06-07 23:07:05 -05:00
James Grugett
879ab272e0
Following and follower list ( #456 )
...
* Create following button that opens follow list in modal.
* Move react query deps to web package.json
* UseFollowers hook
* Following and followers button, dialog with tabs.
* Fix line endings
* Remove carriage return from default vscode eol
* Add placeholder message if no users followed / no followers
* Tweak spacing
2022-06-07 22:24:18 -05:00
Marshall Polaris
244bbc51b2
Migrate sellBet
cloud function to v2 sellbet
( #438 )
...
* Migrate sellBet to v2
* Kill sellBet warmup requests
* Point client at new v2 sellbet function
* Clean up `getSellBetInfo`
* Fix up functions index.ts
2022-06-07 14:08:56 -07:00
Marshall Polaris
60e830974e
Migrate sellShares
cloud function to v2 sellshares
( #440 )
...
* Migrate `sellShares` to v2 `sellshares`
* Point client at new v2 sellshares function
* Clean up `getCpmmSellBetInfo`
2022-06-07 13:54:58 -07:00
Ian Philips
a7a482eecd
Various notifications bugfixes/improvements ( #442 )
...
* Various notifications bugfixes/improvements
* eslint
2022-06-06 16:15:36 -06:00
James Grugett
849e7d03a8
Switch to tabs for categories vs following
2022-06-06 14:53:05 -05:00
Marshall Polaris
d9eb9798e5
Point client at new v2 versions of createmarket
and placebet
( #433 )
...
* Kill 'warmup spam' for createContract and placeBet
* Point v2 function calls at v2 endpoints
* Add real prod placebet and createmarket endpoints
2022-06-06 12:46:06 -07:00
James Grugett
caa43856af
Run prettier :P
2022-06-06 12:55:13 -05:00
James Grugett
587357c13f
Description for categories / users you are following with edit button.
2022-06-06 12:51:45 -05:00
Ian Philips
1976bc755e
Revert "Revert "Notification detail, grouping, and settings control [wip] ( #403 )""
...
This reverts commit 07f2d390e5
.
2022-06-06 11:36:59 -06:00
Ian Philips
07f2d390e5
Revert "Notification detail, grouping, and settings control [wip] ( #403 )"
...
This reverts commit 37c7f909a3
.
2022-06-06 10:54:25 -06:00
Ian Philips
37c7f909a3
Notification detail, grouping, and settings control [wip] ( #403 )
...
* Revert "Revert "Notifications ux fixes - wip (#383 )""
This reverts commit 699b03eb42
.
* Group & provide more control over notification display
* UI/UX improvements
* Remove unused text key
* Refactor
* Refactor
* Show answer resolution in notification
* Disable eslint on single linefor exhaustive deps
* Handle arbritrary notifications
* Refactor
* Remove unused vars
* Add follow user
* Various UX improvements, add follow notif
* Various small ui changes
* Show notification settings breakdown
* Improve notification status lines
2022-06-06 10:52:11 -06:00
James Grugett
773465c6c5
Move select all button to top of category selector modal
2022-06-06 10:44:37 -05:00
mantikoros
43b0fe6749
Contract card ui tweaks: consistent market type colors, no underline,… ( #402 )
...
* contract card ui tweaks: consistent market type colors, no underline, adjust font/border size
* bigger probabiity numbers in contract card
* revert non-color changes; change prob bar width to 1.5
2022-06-06 09:54:43 -05:00
Marshall Polaris
e712a054ae
Fix line endings
2022-06-05 18:57:49 -07:00
Jack
004dd7168e
Fix free response answers with 0 bets disappearing ( #427 )
...
Before this PR, free response answers and their associated comments disappeared when all shares in the answer were sold. If it's just an answer, this is a surprising UX but not that bad. But this can also disappear an entire comment thread with great discussion, as I noticed on one of my markets recently.
I suppose the downside is that these answers take up space and are more likely to be undesired - but I think answers with M$1 of bets are much more common anyway.
2022-06-05 17:20:06 -07:00
James Grugett
96db414ca1
Category checklist ( #426 )
...
* Use ChoicesToggleGroup for categories vs following
* Edit categories modal
* Filter closed and resolved using Configure. Set page to 0.
* Add useEvent hook, incase we want to use it before React releases it.
* useMemo on filters computation
* Try to fix prettier
* Use check box! Add select all/none button
2022-06-05 14:06:08 -05:00
James Grugett
3d31641050
Fix clicking card from user profile has no effect
2022-06-04 23:21:24 -05:00
James Grugett
a42a0f086c
Remove Row and run prettier
2022-06-04 21:53:55 -05:00
James Grugett
cfd6af7c72
Tweak create page layout
2022-06-04 21:28:27 -05:00
James Grugett
11974f68fc
Run prettier
2022-06-04 19:14:14 -05:00
James Grugett
93bb1dd519
Support ctrl or command click to open link in new tab
2022-06-04 19:13:07 -05:00
James Grugett
5152be57ba
Quick back from clicking contract card on home! Preserves search state.
2022-06-04 19:00:13 -05:00
James Grugett
c1bda8a775
Follow other users. Filter markets by followed ( #387 )
...
* Add follow button to user page
* Update follows in the database using follow button.
* Add toggle for followed market creators to home
* Hide follow toggle from user's markets page
* Check that sold bet is by auth'd user
* Change follow toggle to category pill
* Remove unused imports
* Remove console.logs
2022-06-02 23:52:14 -05:00
Sinclair Chen
749f7aad40
copyedit: username in bet list empty state
2022-06-02 18:07:47 -07:00
Forrest Wolf
397d90c6b7
Replace some more uses of any
with more specific types ( #389 )
...
* Give confirmation button icon a type
* Give setBids a type
* Make StripeSession type more specific
* Give MenuButton buttonContent a type
2022-06-02 17:40:41 -07:00
TrueMilli
0f2a311b74
Refactoring ( #401 )
...
* refactoring
(cherry picked from commit 4de86d5b08
)
* removed unused imports and variables
* added type for binary resolution
* Prettier
* const for binary resolutions
* using the type "resolution"
* Prettier
* Update functions/src/create-contract.ts
* launch config for debugging with vs code
* "Launch Chrome" does not work since login via google is not possible in debugger-chrome
* Breakpoints are unbound when attached to chrome
2022-06-02 17:30:34 -07:00
James Grugett
bbb9a2c1fa
Quick bet: Opposite arrow sells position
2022-06-02 18:24:10 -05:00
mantikoros
06c5c97a03
down betting arrow disabled for free response markets
2022-06-02 16:25:41 -05:00
mantikoros
5a4bb65d80
remove extra space (to fix prettier static check)
2022-06-02 16:00:38 -05:00
mantikoros
5af2e1fef0
up arrows green, down arrows red
2022-06-02 15:54:03 -05:00
Austin Chen
5b142baa98
Revert "Demote charity to more menu"
...
This reverts commit 311b39ffe9
.
2022-06-02 13:35:31 -07:00
Sinclair Chen
e1b1f30c55
make sell button show on mobile (bet list)
2022-06-02 10:56:56 -07:00
James Grugett
311b39ffe9
Demote charity to more menu
2022-06-01 23:31:38 -05:00
Ian Philips
78a359407d
Notifications reverted ux ( #386 )
...
* Revert "Revert "Notifications ux fixes - wip (#383 )""
This reverts commit 699b03eb42
.
* <p>=><div>
2022-06-01 12:26:41 -06:00
Ian Philips
699b03eb42
Revert "Notifications ux fixes - wip ( #383 )"
...
This reverts commit b5057f4028
.
2022-06-01 11:52:27 -06:00
Ian Philips
b5057f4028
Notifications ux fixes - wip ( #383 )
...
* Notifications generating on comment,answer,contract update
* Notifications MVP
* Submitted an answer => answered
* Listen for unseen notifications
* Fix userlink formatting, move page
* Fix links
* Remove redundant code
* Cleanup
* Cleanup
* Refactor name
* Comments
* Cleanup & update notif only after data retrieval
* Find initial new notifs on user change
* Enforce auth rules in db
* eslint update
* Code review changes
* Refactor reason
* Add todos
* Show question in notifiation title
* Allow larger width on md
* Condense on mobile
* Decrease padding, hide title on mobile
* Line clamp notifications
* Shrink text
2022-06-01 11:31:46 -06:00
James Grugett
2c4aa6152e
Hide sell buttons in other people's profiles
2022-06-01 11:28:47 -05:00
Ian Philips
59830579a9
Set timeout to reset the free market banner ( #367 )
...
* wip - trigger recheck when past time
* wip - trigger recheck when past time
* Reset logic
* Interval=>timeout
2022-06-01 07:54:48 -06:00
Ian Philips
1c980ba678
Notifications ( #354 )
...
* Notifications generating on comment,answer,contract update
* Notifications MVP
* Submitted an answer => answered
* Listen for unseen notifications
* Fix userlink formatting, move page
* Fix links
* Remove redundant code
* Cleanup
* Cleanup
* Refactor name
* Comments
* Cleanup & update notif only after data retrieval
* Find initial new notifs on user change
* Enforce auth rules in db
* eslint update
* Code review changes
* Refactor reason
2022-06-01 07:11:25 -06:00
Marshall Polaris
35c373f6ce
MULTI contracts are not a thing ( #381 )
2022-05-31 20:40:08 -07:00
James Grugett
dec286583a
Show bets loading indictor instead of wrong data
2022-05-31 22:21:45 -05:00
Marshall Polaris
9f1fe3ee17
Fix busted avatar links on charity pages ( #380 )
2022-05-31 20:02:50 -07:00
Marshall Polaris
7c4ec2a8e3
Refactor contract typing to be more concise and more correct ( #355 )
...
* Refactor contract types slightly
* Refactor contract types greatly
* Kill dead binary DPM contract creation code
* Use BinaryContract, DPMContract, etc. type aliases
2022-05-31 19:42:35 -07:00
Forrest Wolf
30adb5e1f8
Fix dependency of useEffect in BetsList ( #379 )
...
* Fix dependency of useEffect in BetsList
* Revert "Fix dependency of useEffect in BetsList"
This reverts commit 077b211f22
.
* Disable linter for BetsList useEffect deps
* Add hideBetsBefore to useEffect dependencies
* Fix formatting
2022-05-31 21:36:00 -05:00
James Grugett
9cb24c9f3c
Make categories work when signed out
2022-05-31 21:23:36 -05:00
James Grugett
b236ebdbd9
Fix janky horizontal scrollbar on home on mobile
2022-05-31 20:07:28 -05:00
Austin Chen
a840143990
Publicly display bets without infinite looping
...
React why
2022-05-31 18:06:29 -07:00