userscripts

A userscript project for good developer experience

Stars
3

Userscripts

This project is designed for a good userscript development experience

Scripts

Use Tampermonkey to installfrom the links below.

Gitlab Inline Pipelines

📺 Install (gitlabPipelines.dist.user.js)

Open a pipeline dropdown on an MR, then click the new button:

See the job output:

Notes:

  • Clicking a different job's button will replace the current output
  • The output will refresh every (default: 2 seconds), while the job is pending.

Gitlab MR list avatars

📺 Install (gitlabMrList.dist.user.js)

Shows the MR authors avatar on any MR listing.


Configure Tampermonkey for development

See this issue https://github.com/Tampermonkey/tampermonkey/issues/475

You'll want to configure Tampermonkey to allow for @require resources to Always be requested in order to prevent caching.

Even then, it may cost 2 page refreshes to see changes.

Contributing

  • yarn build --watch
  • Install ./build/<name>.dev.js as a new userscript in Tampermonkey.

From then, the script will always reload whatever is at ./build/<name>.js. Refesh your browser to see changes after file save. This may require 2 refreshes due to issues within tampermonkey.

Related Projects