This commit is contained in:
EthanThatOneKid 2020-12-26 11:21:56 -08:00
parent 52116bf308
commit 9985c4c046
3 changed files with 32 additions and 2 deletions

4
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,4 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}

View file

@ -1,2 +1,7 @@
# code-sensei # Code Sensei 🐱‍👤
Code Ninjas assorted code for code senseis.
> Code Ninjas assorted code for code senseis.
## Code Gallery 💽
1. [`sensei-grading-bookmarklet`](sensei-grading-bookmarklet)

View file

@ -0,0 +1,21 @@
# `sensei-grading-bookmarklet`
## Usage
1. Visit the [grading console][grading_console] while logged in as a code sensei.
1. Paste the bookmarklet code in the [address bar](https://en.wikipedia.org/wiki/Address_bar).
1. Make sure it is prefixed with `javascript:`.
1. Click <kbd>enter</kbd> to execute the bookmarklet code.
## Development
This [bookmarklet][bookmarklet_definition] is compiled using NodeJS.
To run in development mode, run `npm run dev`.
## Purpose
Grading code ninjas' submissions are slow and tedious because the current site has very poor UX.
My goal is to make an entirely keyboard-navagatble enhancement in the form of a bookmarklet.
[grading_console]: https://gdp.code.ninja/Grading
[bookmarklet_definition]: https://en.wikipedia.org/wiki/Bookmarklet