Filter Kata Containers passed or non-required checks.
These are versions of this script where the code was updated. Show all versions.
Release v1.0.10
Changes include
hidden
Fix reset hidden check issues
Count checks that weren't be hidden, instead of counting all checks.
Change log level while status and details elements not found
Log level from debug to error.
debug
error
Fix two filtering issues
Release v1.0.9
Fix issues with suffix of issuecomment
The button doesn't show up while the url has suffix of #issuecomment-{number}, e.g. "https://github.com/kata-containers/kata-containers/pull/5491#issuecomment-1959055471".
#issuecomment-{number}
Release v1.0.8 (#3)
Two changes
Fix url change listener issues (#2)
Add two event listeners, 'popstate' and 'hashchange', to fix the issue where url change events aren't triggered while going back.
Remove negative value of filteredItems (#1)
1.0.7: Show the button with suffix of discussion
1.0.6: Show the button with the suffix of pullrequestreview
Show the button in the page, such as https://github.com/kata-containers/kata-containers/pull/9114#pullrequestreview-1889523980
https://github.com/kata-containers/kata-containers/pull/9114#pullrequestreview-1889523980
1.0.5: Fix a filtered issue
If there is no items after filtering, the if condition,checks.length == 0, prevent restoring checks.
checks.length == 0
1.0.4: Fix an url match issue
1.0.3: Fix some issues
1.0.2: Fix the issue where the button doesn't show up sometimes
The button is inserted to body instead of check summary div, which is able to fix the issue where the button doesn't show up sometimes.
1.0.1: Enhance stability
The changes include
Release v1.0.0
Update main.js