Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Fix nested events :|, closes #24
Browse files Browse the repository at this point in the history
  • Loading branch information
muan committed Mar 23, 2022
1 parent ec00fcd commit 5306c64
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,26 @@
margin-right: 10px;
margin-top: -3px;
}

.commit_comment .commit_comment,
.create .create,
.follow .follow,
.fork .fork,
.git-branch .git-branch,
.gollum .gollum,
.issues_closed .issues_closed,
.issues_comment .issues_comment,
.issues_labeled .issues_labeled,
.issues_opened .issues_opened,
.issues_reopened .issues_reopened,
.issues_merged .issues_merged,
.public .public,
.push .push,
.release .release,
.repo .repo,
.tag .tag,
.team_add .team_add,
.member_add .member_add,
.watch_started .watch_started {
display: block !important;
}
2 changes: 2 additions & 0 deletions dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ async function addMoreSpecificIdentifiers(list) {

for (const eventItem of record.target.querySelectorAll(eventClasses)) {
if (!(eventItem instanceof HTMLElement)) continue
const parentEventItem = eventItem.parentElement.closest(eventClasses)
if (parentEventItem) continue

// Check if any links are to one of the followed people
const fromFollowedPeople = Array.from(eventItem.querySelectorAll('a')).some(function(maybeActor) {
Expand Down

0 comments on commit 5306c64

Please sign in to comment.