James Grugett
61ae481a03
Document cancel bet
2022-08-10 18:43:11 -05: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
Austin Chen
fd308151b3
Disable bouncing Challenge
2022-08-08 15:24:30 -07:00
Marshall Polaris
85e55312ca
What will be removed, is removed ( #721 )
2022-08-08 15:05:25 -07:00
James Grugett
98806a806f
Fix query params on emulator/private instance
2022-08-07 18:07:36 -07:00
James Grugett
8fb3b42ea1
Default to trending. Fix close date being opposite
2022-08-07 17:48:43 -07:00
Austin Chen
a910e5dc17
Revert "Revert "Fix a bug with expiration of refresh and custom tokens""
...
This reverts commit 012b67e3c5
.
2022-08-07 09:57:18 -07:00
Austin Chen
012b67e3c5
Revert "Fix a bug with expiration of refresh and custom tokens"
...
This reverts commit abd344b951
.
2022-08-07 09:56:42 -07:00
Marshall Polaris
abd344b951
Fix a bug with expiration of refresh and custom tokens
2022-08-06 19:24:50 -07:00
James Grugett
1f8aef2891
Disable challenges for private instances
2022-08-06 17:45:21 -07:00
Sinclair Chen
da977f62a9
Make added text go after img instead of replacing ( #725 )
2022-08-06 15:43:41 -07:00
Sinclair Chen
5892ccee97
Rich text in comments, fixed ( #719 )
...
* Revert "Revert "Switch comments/chat to rich text editor (#703 )""
This reverts commit 33906adfe4
.
* Fix typing after being weird on Android
Issue: character from mention gets deleted. Most weird on Swiftkey:
mention gets duplicated instead of deleting.
See https://github.com/ProseMirror/prosemirror/issues/565
https://bugs.chromium.org/p/chromium/issues/detail?id=612446
The keyboard still closes unexpectedly when you delete :(
* On reply, put space instead of \n after mention
* Remove image upload from placeholder text
- Redundant with image upload button
- Too long on mobile
* fix dependency
2022-08-06 13:39:52 -07:00
Marshall Polaris
d43b9e1836
Vercel auth phase 2 ( #714 )
...
* Add cloud function to get custom token from API auth
* Use custom token to authenticate Firebase SDK on server
* Make sure getcustomtoken cloud function is fast
* Make server auth code maximally robust
* Refactor cookie code, make set and delete more flexible
2022-08-05 20:49:29 -07:00
James Grugett
e0196f7107
Rename file contracts-list to contracts-group
2022-08-05 17:46:32 -07:00
James Grugett
b3b06896be
Add loading indicator when algolia search is initially loading
2022-08-05 17:44:55 -07:00
Marshall Polaris
48ac21ffad
Add comment explaining fishy token
2022-08-05 16:08:30 -07:00
Marshall Polaris
bf3ba8ac3f
Remove test file
2022-08-05 16:07:02 -07:00
mqp
bba9f9a555
Auto-prettification
2022-08-05 23:03:25 +00:00
Marshall Polaris
7e0634aee0
Try using a personal access token for formatter job
2022-08-05 16:02:46 -07:00
Marshall Polaris
f05db0ef0f
Give formatting workflow even more permissions...
2022-08-05 15:56:10 -07:00
Marshall Polaris
db3b0c2cf5
Give repo write permission to formatting workflow
2022-08-05 15:38:22 -07:00
Marshall Polaris
d9ddabcfd4
Commit some un-pretty code
2022-08-05 15:35:57 -07:00
Marshall Polaris
67139b99f9
Add workflow to automate prettier running on main ( #720 )
2022-08-05 15:33:34 -07:00
mantikoros
5e89628593
challenge bet tracking
2022-08-05 13:42:09 -07:00
mantikoros
f11c9a3341
bouncing challenge button (temporary gimmick)
2022-08-05 13:42:09 -07:00
James Grugett
ced404eb74
Local search filters on groups, exclude contractIds
2022-08-05 12:01:16 -07:00