Skip to content

MikeBeas/switchblade-ui

Repository files navigation

Requirements

Any environment that can run an application built on React 18 should suffice. This app was created with Node 19, but should work with Node 18. The app is built using Vite.

Environment Variables

You can setup the following environment variables to configure your Switchblade UI installation. When running the app locally you can do this with a .env file at the top level of the repo. This file has been git-ignored and will not be committed.

  • SWITCHBLADE_API_HOST: The full domain name for your Switchblade API with no trailing slash. If you don't enter this value, you'll be prompted to enter it before you reach the login screen. You will have the option of letting your browser remember your hostname in the future. Leaving this blank will allow anyone to use your installation of this interface to manage their own Switchblade installation, making it possible to host a pubicly-available version of this UI that does not give access to any of your data.

Change Log

v1.1.0 (2023-10-04)

  • Added support for Switchblade 1.2.0 features:
    • Create and manage users
    • Give each user specific access permissions to control what they can do in the app
    • Support filtering shortcuts and versions by creator
    • List shortcut and version creators on editor drawers

v1.0.1 (2023-06-07)

  • Switched to npm as the package repo for switchblade-sdk.

v1.0.0 (2023-06-07)

  • Initial release