Misc UI contains a few different apps.
Separate color scheme for lunar, solar and twilight shifts. Displays information about latest news, votes, ship log events, announcements and jump countdown.
Components for displaying the engineering task list, details and map that are embedded as an iframe in the odysseus-mct engineering views.
View shown on the power source alien artifact phone, used for reading bio IDs (NFC tags) of players, and validating that they have a certain property in order to use the device.
A simple view that shows one of two videos depending on the jump drive state. Used to render a peaceful space view when looking out of the airlock window, and one with a purple tint and effects during a hyperspace jump
A simple view that displays current Empty Epsilon fighter status.
- Node v18.14.0
- Vue v2.7.14
NOTE!
Make sure you are running Odysseus Backend!- Run
npm install
to install dependencies - Run
npm run serve
for compiles and hot-reloads for development
Misc UI should now be available at http://localhost:8082/
You can also run the app using VSCode dev containers. Create/update your .env file like in the local setup instructions.
- Docker
- VSCode with Dev Containers extension
- Odysseus Backend
NOTE!
Make sure you are runningOdysseus Backend
!- Open new window in VSCode
- File --> Open Folder... -->
odysseus-misc-ui
- VSCode will ask do you want to
Reopen in Container
--> Click it- If you are too slow --> Click the button in left bottom corner (looks like two L:s or disjointed ><) and choose
Reopen in Container
from the menu.
- If you are too slow --> Click the button in left bottom corner (looks like two L:s or disjointed ><) and choose
- VSCode will then build and start up the dev container, installs npm packages and starts the service.
- Try to rebuild the container: Click the button in left bottom corner (looks like two L:s or disjointed >< with the container name) and choose
Rebuild Container
from the menu. - You might run into this issue on ARM processors, see the issue for potential workarounds.
{
type: 'task',
id: '...',
status: 'broken' / 'calibrating' / 'fixed' / 'hidden'
sort: 123.45
calibrationTime: 150
calibrationCount: 3
calibrationRemaining: [ 12, 13, 14 ]
calibrationSpeed: [ 0.8, 1.0, 1.1 ]
fixed_at: 423432432 // timestamp
title: 'Foo'
description: 'A longer explanation'
map: 'map.png'
important: true
}
npm run build
npm run test
npm run lint