I realised, during research I made to develop my own widgets, that most of the information and boilerplate provided by Jetbrains is outdated. So I created this repository in order to help people get started with a more up to date project using Vite, React with functional components and Ring-UI.
This repository can be used as a template so you don't need to fork it.
- Clone the repository.
- Run:
bun install
Use the Widget Playground in Youtrack while developing in order to access the APIs in real time.
- Run
bun dev
to start the development server. - Go to the Widget Playground, in the Custom Widgets section, on Youtrack.
- Insert the URL of the development server in the widget URL field.
- Run
bun package
to package the widget.
- Go to the Custom Widgets section in Youtrack.
- Press "New Widget" and upload the packaged widget (zip folder).