colindean / colindean/hejmo

Bookmarklet for marking GitHub PR

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
20
Forks
1
Avg merge
1m
Merged PRs (30d)
1

Description

When run on a GitHub PR, this bookmarklet will mark all `vendor/*` files as _✅ Viewed_ and hide them.

```javascript
javascript:document.querySelectorAll('.js-file').forEach((f) => { h = f.querySelector('.file-header'); cb = f.querySelector('.js-reviewed-checkbox'); if(h.attributes['data-path'].textContent.startsWith('vendor/')) { if(!cb.checked) cb.click(); f.style.display = 'none'; }})
```

Via @rgatti

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the JavaScript bookmarklet shown in the issue, then inspect the repository layout for an existing location for scripts or usage notes. Done should make the bookmarklet available for use on a GitHub PR, where it marks vendor/* files as viewed and hides them.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.