Skip to content

Commit

Permalink
Resolves #27
Browse files Browse the repository at this point in the history
  • Loading branch information
muan committed Jul 2, 2022
1 parent 10d72a3 commit bb128c3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
14 changes: 9 additions & 5 deletions dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
.by_followed_people.member_add,
.by_internet.member_add,
.by_followed_people.watch_started,
.by_internet.watch_started {
.by_internet.watch_started,
.by_followed_people.sponsor,
.by_internet.sponsor {
display: none;
}

Expand All @@ -46,16 +48,18 @@
display: block;
}

.show_forked_by .fork.by_internet {
.show_sponsored_by .sponsor.by_followed_people,
.show_sponsored_by .sponsor.by_internet {
display: block;
}

.show_stars_and_follows .watch_started.by_followed_people,
.show_stars_and_follows .follow.by_followed_people {
.show_forked_by .fork.by_internet,
.show_forks .fork.by_followed_people {
display: block;
}

.show_forks .fork.by_followed_people {
.show_stars_and_follows .watch_started.by_followed_people,
.show_stars_and_follows .follow.by_followed_people {
display: block;
}

Expand Down
5 changes: 4 additions & 1 deletion dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ const menuItems = {
'Forks',
'You --',
'Starred and followed by',
'Forked by'
'Forked by',
'Sponsored by'
],
org: [
'Code',
Expand All @@ -35,6 +36,8 @@ const events = [
'watch_started', 'follow',
// Forks / Forked by
'fork',
// Sponsorship
'sponsor',
// Administration
'team_add', 'member_add'
]
Expand Down

0 comments on commit bb128c3

Please sign in to comment.