Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pnpm check-types
pnpm lint-staged
71 changes: 71 additions & 0 deletions apps/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
"icon": "media/friends.svg",
"contextualTitle": "DevRadar Friends"
},
{
"id": "devradar.friendRequests",
"name": "Friend Requests",
"icon": "media/requests.svg",
"contextualTitle": "DevRadar Friend Requests"
},
Comment thread
senutpal marked this conversation as resolved.
{
"id": "devradar.activity",
"name": "Activity",
Expand Down Expand Up @@ -104,6 +110,42 @@
"title": "Set Status",
"category": "DevRadar",
"icon": "$(broadcast)"
},
{
"command": "devradar.addFriend",
"title": "Add Friend",
"category": "DevRadar",
"icon": "$(person-add)"
},
{
"command": "devradar.acceptFriendRequest",
"title": "Accept Friend Request",
"category": "DevRadar",
"icon": "$(check)"
},
{
"command": "devradar.rejectFriendRequest",
"title": "Reject Friend Request",
"category": "DevRadar",
"icon": "$(close)"
},
{
"command": "devradar.cancelFriendRequest",
"title": "Cancel Friend Request",
"category": "DevRadar",
"icon": "$(trash)"
},
{
"command": "devradar.refreshFriendRequests",
"title": "Refresh Friend Requests",
"category": "DevRadar",
"icon": "$(refresh)"
},
{
"command": "devradar.unfriend",
"title": "Unfriend",
"category": "DevRadar",
"icon": "$(person-remove)"
}
],
"menus": {
Expand All @@ -112,6 +154,16 @@
"command": "devradar.refreshFriends",
"when": "view == devradar.friends",
"group": "navigation"
},
{
"command": "devradar.addFriend",
"when": "view == devradar.friends && devradar.isAuthenticated",
"group": "navigation"
},
{
"command": "devradar.refreshFriendRequests",
"when": "view == devradar.friendRequests",
"group": "navigation"
}
],
"view/item/context": [
Expand All @@ -123,6 +175,25 @@
{
"command": "devradar.viewProfile",
"when": "view == devradar.friends"
},
{
"command": "devradar.unfriend",
"when": "view == devradar.friends && viewItem =~ /^friend-/"
},
{
"command": "devradar.acceptFriendRequest",
"when": "view == devradar.friendRequests && viewItem == friendRequest-incoming",
"group": "inline@1"
},
{
"command": "devradar.rejectFriendRequest",
"when": "view == devradar.friendRequests && viewItem == friendRequest-incoming",
"group": "inline@2"
},
{
"command": "devradar.cancelFriendRequest",
"when": "view == devradar.friendRequests && viewItem == friendRequest-outgoing",
"group": "inline"
}
]
},
Expand Down
Loading