Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #73, specifically the first suggestion there.
I didn't actually test this. Just made the code changes. I don't super feel like playing with the build tooling right now, sorry 😅
.editorconfig
because it was misaligned with what the files in the project were actually wanting.</div>
which didn't have an opener anymore, unindented.Let me know if you want me to drop these changes, I kept them in a separate commit just in case.
SKIP_REPOS_KEY
to the prefs storage, simple string from a textarea input..split(/[\s\n,]+/)
to turn the options into an array. This allows for repos to be separated by comma, space, or newline. So something like"foo bar,,baz\n\nfoobar"
turns into["foo", "bar", "baz", "foobar"]
which is pretty clean..some
to find if any of the skipped repos contain the stringuser + "/" + repo
. So for example if the skip list hashttps://github.com/foo/foo, https://github.com/bar/bar
, then it should return true forfoo/foo
andbar/bar
as the user/repo and return false forbaz/baz
.starGazers
part which does a simplereturn
.Hopefully this all makes sense. Hopefully I got the HTML to look right (took a quick peek at semantic-ui docs, never used it before).