Unison Codebase UI
Running
-
Start
ucm
and copy the API URL and API Token (this URL is uniquely generated byucm
at start-up) from theucm
start-up output (It's formatted as a single URL with a query string. Get the token by from the query string, splitting on the?
). -
Make sure the latest dependencies are installed with by running
npm install
-
Start the development server, run:
API_URL="<API URL FROM UCM>" API_TOKEN="<API TOKEN FROM UCM>" npm start
-
Visit
http://localhost:8000
in a browser.
Generating Icon Sprite
To add new icons, copy the svg markup to the /public/img/icons.svg
file with
a wrapping <symbol>
tag with an id
. The color (fill
or stroke
) of the
shape must be
currentColor
.
Additionally new icons added needs a new variant in /src/UI/Icons.elm
.
This whole process is manual and not amazing, but happens rarely.