Adds a live fuzzy search to Local and Connect to Flywheel sites.
- Currently this plugin only works on version 3.2.0 and above of Local, for Teams and for individuals with no team account.
- I've only tested this on a Mac so far. Please let me know if you're having issues on Windows or Linux in the Issues tab!
- If the Connected Sites search doesn't work at first, try toggling the add-on Off and back On, or restarting you Local instance.
- Clone and extract this repo into
~/Library/Application Support/Local by Flywheel/addons
(or the equivalent on a Windows or PC). - Run
npm install
oryarn install
, thennpm run build
to compile. - Restart Local
- Enable the add-on in the Add-ons section (this will probably prompt you to restart Local).
At the end of the src/renderer.jsx
file, there is a commented out section of code that looks like this:
/**********************************************************
* Development Helpers
*/
const remote = context.electron.remote;
remote.getCurrentWindow().openDevTools();
window.reload = remote.getCurrentWebContents().reloadIgnoringCache;
This code is helpful for testing new code. It opens the JS Console in the Local app, and allows you to reload the app by running the reload()
function in the console. Uncomment it to use it! This code was borrow from this Delicious Brains article.
All feedback, comments, and contributions are welcome, please do so via the Issues tab here. I've made a couple of templates for Bugs and Feature requests. Please use the templates so I can be sure to get as much information as possible 🤓.
- FlywheelConnectSites_connectedSites
- FlywheelConnectSites_availableSites
- FlywheelConnectSites_incompatibleSites
- SitesSidebar_sites
- FlywheelConnectSites_FlywheelHeader:Before
- FlywheelConnectSites_TabNav:Before
- FlywheelConnectSites_TabNav
- FlywheelConnectSites_FlywheelSitesList:Before
- FlywheelConnectSites_routes
- SitesSidebar_SitesSidebarSites:Before
- SitesSidebar_SitesSidebarSites