A template for building YouTrack custom widgets using Bun, Vite, TypeScript, 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
Implement your Custom Widget as React functional component (src/components/Widget.tsx):
- Use JetBrains Ring-UI components to align Youtrack style.
- Use youtrack-client in order to work with Youtrack API.
Use the Widget Playground in Youtrack while developing to preview you widget 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).