Skip to content

A userscript that enhances the Rails Web Console so it can be collapsed.

Notifications You must be signed in to change notification settings

FiveElementNinja/Fancy-Rails-Web-Console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Fancy Rails Web Console

A userscript that enhances the Rails Web Console so it can be minimized.

On page load the web console is minimized down to a small >> button on the bottom right of the screen. Clicking it brings the console back. Clicking the close x button on the console will minimize it again instead of removing it from the DOM.

 
GIF demonstrating Fancy Rails Web Console being minimized and restored

Requirements

Installation

Assuming you meet the requirements above, simply visit https://github.com/FiveElementNinja/Fancy-Rails-Web-Console/raw/main/fancy-rails-web-console.user.js and you'll get prompted by Greasemonkey/Tampermonkey/Voilentmonkey to install the script. Once it's installed, it should start working the next time you load localhost:3000.

Notes

  • This hasn't been tested thoroughly across Rails projects. I built it to work with my current project. I have no idea if it'll work on yours.
  • Works with Turbo navigation as well.
  • This script is auto-updating. You should only install auto-updating scripts from sources you trust. If you are not comfortable with that, don't install this script. Alternatively, you can modify the script yourself to not be auto-updating.

 
 
ko-fi

About

A userscript that enhances the Rails Web Console so it can be collapsed.

Topics

Resources

Stars

Watchers

Forks