mantikoros
302a635542
group page max width
2022-07-20 16:06:31 -05: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
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
Marshall Polaris
bacd546e5d
Fix unused import from Ian's code
2022-07-19 20:10:54 -07:00
mantikoros
bab828412b
group: add question button
2022-07-19 18:16:03 -05: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
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
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
Ian Philips
a1e03c3a25
Allow opening notifs in new tabs, return newest notifs
2022-07-19 13:58:51 -06:00
mantikoros
12567074cc
fix log scale graph
2022-07-19 12:31:26 -05: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
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
Ian Philips
e2a72dd0a2
Fix /create date input
2022-07-18 15:01:50 -06:00
mantikoros
65e4f24531
groups: only change layout if sidebar chat, smaller leave button
2022-07-18 12:55:49 -05:00
Ian Philips
39c38a669e
Referrals bug fix and attribute group
2022-07-18 10:40:44 -06:00
Ian Philips
db537a97ba
Allow click on group card avatar
2022-07-18 08:35:59 -06:00
mantikoros
281b712258
move group chat to sidebar on desktop
2022-07-17 15:56:39 -05:00
mantikoros
07bfdadd25
remove OnlineUserList b/c of responsiveness issues
2022-07-17 14:40:21 -05:00
Austin Chen
349772a2f9
Description typography: font-light, text-base
2022-07-16 11:39:58 -07:00
ingawei
7d24a3e4a2
Inga/manalink bug fixes ( #653 )
...
* fixed manalinks bug of claiming own manalink, and also rerouting to home upon claiming if not logged in
* no more multiple hardcoded manalink messages
2022-07-15 20:42:37 -05:00
Ian Philips
eed7990c3c
Lighten unseen notifs
2022-07-15 16:57:58 -06:00
Sinclair Chen
2543bdcdfc
refactor string matching ( #649 )
2022-07-15 14:16:00 -07:00
Marshall Polaris
38c26f8b5c
Add API endpoints for fetching user info by username and ID ( #652 )
...
* Add an API endpoint for fetching user info by username
* Add endpoint for querying users by ID, too
* Add very simple docs about user APIs
2022-07-15 14:03:34 -07:00
Ian Philips
a6cbb6b759
Small notifications ux improvements
2022-07-15 11:53:30 -06:00
Ian Philips
dd9d24e657
Show online users on desktop
2022-07-15 08:45:52 -06:00
Ian Philips
9c49f2e2d7
Revert "Revert "Order groups by most recent chat activity ( #650 )""
...
This reverts commit 17c9beca28
.
2022-07-15 06:52:08 -06:00
James Grugett
17c9beca28
Revert "Order groups by most recent chat activity ( #650 )"
...
This reverts commit 6e1aa4b0f4
.
2022-07-14 20:51:38 -05:00
Ian Philips
6e1aa4b0f4
Order groups by most recent chat activity ( #650 )
...
* Order groups by most recent chat activity
* Use group chat slug constant
* Match source slug and isSeenOnHref
* Listen for group member changes
2022-07-14 16:46:45 -06:00
James Grugett
be64bf71a7
Limit the amount of bets and comments sent to the client through getStaticProps
2022-07-14 14:57:17 -05:00
Ian Philips
d9279e42cc
Don't collapse/expand notifs with ctrl/cmd click
2022-07-14 11:56:40 -06:00
Ian Philips
6a28643215
Notifications ux
2022-07-14 11:48:04 -06:00
Ian Philips
27a544205f
Optimistically join groups
2022-07-14 11:09:28 -06:00
Sinclair Chen
a93e64c830
fix: let useUserById accept undefined userId ( #648 )
2022-07-14 12:02:46 -05:00
Ian Philips
4eba3c8124
Try new way of calculating rankings for large groups
2022-07-14 09:09:12 -06:00
Ian Philips
709ce5377a
Remove extra key assignment
2022-07-14 07:57:33 -06:00
Sinclair Chen
5ebd4498a0
Remove deprecated useUserById implementation ( #571 )
...
* Remove duplicate useUserById implementation
* fix bug: firebase doesn't accept empty paths
2022-07-13 17:43:20 -07:00
Sinclair Chen
095af10d4f
replace raw checkbox w/ Checkbox component
...
also run prettier
2022-07-13 16:50:08 -07:00
Ian Philips
45fb3803c1
Limit member search to 100
2022-07-13 16:24:35 -06:00
mantikoros
e1b6619e9c
embeds: don't show bet button after resolution
2022-07-13 17:22:50 -05:00
Ian Philips
7a49549389
Ignore rankings/members for huge groups for now
2022-07-13 16:20:56 -06:00