James Grugett
c35d0a8bc6
Split out "Your bets" from "For you"
2022-07-20 15:30:07 -05:00
James Grugett
44afa92b58
Turn off for you by default
2022-07-20 15:05:48 -05:00
James Grugett
e45d81513c
Don't filter by personal unless pills enabled
2022-07-20 14:49:16 -05:00
Sinclair Chen
0870397fea
Show line in menu on mobile
2022-07-20 12:36:23 -07:00
Sinclair Chen
202132868f
lint and prettier
2022-07-20 12:35:04 -07:00
mantikoros
d65a60984d
make group invite link more prominent
2022-07-20 11:45:53 -05:00
mantikoros
45b883477d
generic copy link button
2022-07-20 11:42:49 -05:00
mantikoros
b60892fada
group 'rankings' => 'leaderboards' (friendlier, more consistent terminology)
2022-07-20 11:15:55 -05:00
Marshall Polaris
c8361f1748
Make it so that if you sign in on / you get redirected to /home ( #672 )
2022-07-20 01:59:14 -07:00
mantikoros
b517f7cfa7
eslint; remove unused tags import
2022-07-20 00:35:27 -05:00
mantikoros
2b13085dff
search: use default categories for non-authed users
2022-07-20 00:23:00 -05:00
mantikoros
0013f76873
search defaults to 'for you'; hide pills for additional filters
2022-07-20 00:03:03 -05:00
mantikoros
83e9408d69
remove tags from info panel
2022-07-19 23:48:09 -05:00
Marshall Polaris
bacd546e5d
Fix unused import from Ian's code
2022-07-19 20:10:54 -07:00
Marshall Polaris
61094ea17d
Properly handle expired ID token cookie, be robust to errors ( #671 )
2022-07-19 20:08:33 -07:00
James Grugett
b2c89d36cf
Home: Show pills that are groups (in addition to All, For you)
2022-07-19 18:23:52 -05:00
Ian Philips
921ac4b2a9
Fix last 3 days number
2022-07-19 17:22:23 -06:00
mantikoros
b48e910f70
fix areaBaselineValue
2022-07-19 18:20:03 -05:00
mantikoros
bab828412b
group: add question button
2022-07-19 18:16:03 -05:00
Ian Philips
1f0983a145
Find old contracts to decrement score on
2022-07-19 17:08:51 -06:00
Ian Philips
4aface583d
Remove pesky loading spinner
2022-07-19 16:41:11 -06:00
Ian Philips
2152e5286a
Score & sort by unique bettors in last 3 days
2022-07-19 16:29:41 -06:00
James Grugett
58d6286361
Fix chart area extending into labels below
2022-07-19 17:22:58 -05:00
James Grugett
6124ea01f6
Fix a DOM error in console
2022-07-19 16:57:32 -05:00
Marshall Polaris
6d3490cd68
Turn off Next.js font inlining ( #668 )
2022-07-19 14:20:23 -07:00
James Grugett
af6552958f
Show all-time profit on UserPage
2022-07-19 16:05:50 -05:00
Marshall Polaris
f9aab39039
Clean up font loading and see if it fixes our problem ( #667 )
2022-07-19 13:57:32 -07:00
James Grugett
fc9e261601
Fix build
2022-07-19 15:45:47 -05:00
James Grugett
e9ad30cc74
Increase number of contracts shown in bets list
2022-07-19 15:43:37 -05:00
James Grugett
2684c8bcca
Default to weekly leaderboard
2022-07-19 15:39:40 -05:00
James Grugett
6c070464dd
Use static props to load leaderboard fast
2022-07-19 15:39:17 -05:00
Ian Philips
b5ef7490c3
NotificationSettings to its own file
2022-07-19 14:24:36 -06:00
Ian Philips
6dcad6225b
Next/Previous => Older/Newer
2022-07-19 14:16:20 -06:00
James Grugett
b6c8390a46
Show order book button even on Quick bet
2022-07-19 15:01:15 -05:00
Ian Philips
a1e03c3a25
Allow opening notifs in new tabs, return newest notifs
2022-07-19 13:58:51 -06:00
James Grugett
93b9ace477
Comment email: Subject no longer varies between questions so emails are threaded in gmail
2022-07-19 14:54:42 -05:00
James Grugett
74760b1062
Reorder orderbook columns
2022-07-19 14:53:33 -05:00
Marshall Polaris
61cbb07bd5
Fix some broken stuff on the homepage contract search routing ( #664 )
...
* Use Next router more appropriately
* Replace instead of push when modifying search query params
2022-07-19 12:33:53 -07:00
mantikoros
12567074cc
fix log scale graph
2022-07-19 12:31:26 -05:00
mantikoros
4b3370e374
fix formatting
2022-07-19 12:31:26 -05:00
Marshall Polaris
0d282a962c
Don't setQuery
on group selector component during initial render ( #660 )
2022-07-19 09:35:43 -06:00
Ian Philips
a203f43142
Cache all notifs
2022-07-19 09:29:12 -06:00
Ian Philips
c236eb15b1
Cache notifs in local, gives instant load of old notifs ( #662 )
...
* Cache notifs in local, gives instant load of old notifs
* Small refactor, add ss auth
* unused vars
* Add back in replaceAll
* Save all notifs
* Memoize paginated notifs
* Replace all => replace with regexp
2022-07-19 09:04:47 -06:00
Austin Chen
2bae7dc200
Fix error on no portfolio history
2022-07-19 02:54:05 -07:00
Marshall Polaris
55775d9d37
Also handle case where there are no cookies yet
2022-07-19 01:35:34 -07:00
Marshall Polaris
c256e9c0cc
Attempt to fix up overly sensitive cookie parsing
2022-07-19 01:33:00 -07:00
Austin Chen
f6d2c56e43
Fix /create
2022-07-19 01:23:36 -07:00
Marshall Polaris
a103a2ee2c
Initial draft of Vercel Firebase auth ( #593 )
...
* Set a cookie with an up-to-date Firebase ID token
* Implement server-side authentication cookie reading logic
* Change index page to redirect for authed users
* No branch necessary for logged in users on index page
* Add helpers for creating server-side redirects
* Add some common sense redirects
2022-07-19 00:50:11 -07:00
Austin Chen
d1ad0716c8
Fix import
2022-07-19 00:34:53 -07:00
Austin Chen
b501776e33
Remove quadratic matching from /charity
2022-07-19 00:20:18 -07:00