Austin Chen
fc385b2f01
Lighten placeholder
2022-08-11 20:05:46 -07:00
Austin Chen
fb75aa73ba
Merge branch 'main' into editor-tweet
2022-08-11 20:03:40 -07:00
Austin Chen
ced28a2bbf
Fix placeholder
2022-08-11 19:59:16 -07:00
Austin Chen
d19b5f9f60
Revert unnecessary tsconfig change
2022-08-11 19:57:38 -07:00
Austin Chen
4b8a1a2b3c
Clean up comment
2022-08-11 19:55:07 -07:00
Austin Chen
de3de6bab5
Rejigger config so tsx is only in web/
2022-08-11 19:53:38 -07:00
Austin Chen
c34c2ffed5
Add back comment
2022-08-11 18:09:14 -07:00
Sinclair Chen
daba28423a
Improve create page UI ( #746 )
...
* Adjust create page styles
* Keep answers when switching market type
2022-08-11 14:41:21 -07:00
Austin Chen
dc95587cca
Add editor toolbar to choose and embed markets ( #702 )
...
* Embed markets using the "add markets" template
* Override dev domain
* Improve market modal style
- contract searchbar now sticky
- entire card clickable to select (if quickbet is hidden)
- adjust selected card styles
* remove extra export
* Hide pills
* Fix browser redirect warning
* Insert all markets instead of just one
* fix type error
* fixup "Insert all markets instead of just one"
Co-authored-by: Sinclair Chen <abc.sinclair@gmail.com>
2022-08-11 14:32:02 -07:00
Marshall Polaris
4e8b94a28c
Componentize confetti to isolate re-renders due to window size ( #740 )
...
* Componentize confetti to isolate re-renders due to window size
* Clean up debug logging
2022-08-11 12:55:25 -07:00
Marshall Polaris
b9f347b7f4
Use UserFollowButton
instead of FollowButton
in UserPage
( #742 )
2022-08-11 12:54:09 -07:00
Marshall Polaris
ad75ecdc87
Move liquidity provision fetch down into ContractTabs ( #741 )
2022-08-11 12:53:54 -07:00
Marshall Polaris
daa86fa330
Change tabs to keep all individual tab components in the DOM ( #743 )
2022-08-11 12:53:42 -07:00
Sinclair Chen
99326eb65a
fix spacing of long group names on markets
2022-08-11 12:30:34 -07:00
Austin Chen
2affed814f
Clean up embed rewrite code
2022-08-11 11:00:58 -07:00
Austin Chen
b81fb80f7b
Simplify Manifold paste logic
2022-08-11 10:49:44 -07:00
Austin Chen
01b7edecb9
Remove unused import
2022-08-11 10:45:55 -07:00
Austin Chen
1aae6d6efe
Support Manifold and Metaculus embeds
2022-08-11 10:44:29 -07:00
Austin Chen
f688d3c5d3
Use a single place to embed iframe, Youtube, and Tweets
2022-08-11 10:31:17 -07:00
James Grugett
3f6ca6c8ed
Make Manifold account able to resolve markets
2022-08-11 00:38:15 -05:00
James Grugett
6e93f11a59
Fix bolded group chat not getting unbolded
2022-08-11 00:00:40 -05:00
Austin Chen
6423833ea4
Prevent tweetId from getting interpreted as a number
2022-08-10 18:06:33 -07:00
Austin Chen
bf279804e5
Clean up imports
2022-08-10 18:06:13 -07:00
James Grugett
61ae481a03
Document cancel bet
2022-08-10 18:43:11 -05:00
Austin Chen
82fe032cfb
Embed a tweet by URL
2022-08-10 16:26:25 -07:00
Marshall Polaris
8c537537a1
Add cache headers to avatars ( #737 )
...
* Set cache headers on newly uploaded avatars
* Go fix up all the old avatars to have cache headers
2022-08-10 11:03:55 -07:00
Austin Chen
b5b77be188
Accept URLs in the iframe editor
...
TODO: Update placeholder text to mention this
2022-08-10 11:03:39 -07:00
James Grugett
d7b021b79f
Clear entered limit probs on submit limit order
2022-08-10 12:37:51 -05:00
James Grugett
654790315c
Fix missing key console error
2022-08-10 12:33:29 -05:00
mantikoros
35df201e2e
prob bar for multiple choice
2022-08-10 12:32:30 -05:00
SirSaltyy
e591de8b29
Increase description max length ( #739 )
2022-08-11 02:31:28 +09:00
James Grugett
4d953d58a1
Move group chat back into a tab
2022-08-10 12:28:02 -05:00
mantikoros
dc26db2864
add salem to sidebar; clean up code
2022-08-10 12:17:40 -05:00
jahooma
3d30a1adbc
Auto-prettification
2022-08-10 17:06:34 +00:00
James Grugett
05c9d3513a
Don't reference window outside useEffect or click event.
2022-08-10 12:05:56 -05:00
mantikoros
52a2a3d842
track search
2022-08-10 11:50:21 -05:00
Marshall Polaris
521c479abf
Fix an embarrassing bug in getPrivateUser
2022-08-09 23:55:41 -07:00
Marshall Polaris
818c90a95e
Refactor tipper ( #734 )
...
* Clean up tipping components
* Pass comment into tip callback
2022-08-09 23:05:56 -07:00
mantikoros
5f77a026aa
fix modal
2022-08-09 21:59:40 -05:00
mantikoros
63538ae925
referral link on user page, manalinks, market share dialog; native sharer on mobile
2022-08-09 21:51:08 -05:00
Sinclair Chen
0b9ca6b7ee
Editor improvements ( #735 )
...
* Allow focus on all parts of editor
* Fix background and text colors
* Restrict height of image in comment
* Remove "Type *markdown*" placeholder
it's a little misleading (can't do markdown links) and messes with focus
to be replaced with a highlight menu in the future
2022-08-09 19:04:55 -07:00
Marshall Polaris
c07daafb8d
Make homepage load user via SSR, pass it to contract stuff ( #729 )
2022-08-09 15:28:52 -07:00
Marshall Polaris
847d3d0f27
Fix efficiency problems with visibility checking code ( #730 )
...
* Fix problems with visibility checking code
* Tear out old contract tracking stuff per James
* Use `useEvent` in VisibilityObserver per James suggestion
2022-08-09 15:28:27 -07:00
Marshall Polaris
5715b0e44a
Random contract page fixups ( #712 )
...
* Remove some divs and so on
* Correctly align bet avatars and text in feed
* Extract sidebar component on contract page
2022-08-09 13:25:42 -07:00
mantikoros
1e3c5cb936
add qr code to referrals
2022-08-09 12:27:52 -05:00
Sinclair Chen
914fc476ce
Remove top/bottom margin from indented list items ( #733 )
2022-08-09 10:17:44 -07:00
Austin Chen
49541d3eec
Stop interpolating on portfolio value graph
2022-08-09 10:08:14 -07:00
Marshall Polaris
592125b5e7
Fix broken useBets
filters ( #731 )
2022-08-09 10:50:11 -05:00
Marshall Polaris
e7f1d3924b
Fix up several pages to load user data on the server ( #722 )
...
* Fix up several pages to load user data on the server
* Add key prop to `EditUserField`
2022-08-08 22:43:04 -07:00
Marshall Polaris
5649161348
Pass page props user to auth provider if present ( #724 )
...
* Pass page props user to auth provider if present
* Rename `user` -> `serverUser`
* Don't load from local storage if server told us a user
2022-08-08 22:42:52 -07:00