The webapp for the CollabVM Server
Things that have been done: - Remove bootstrap - Switch to a version of the computernewb css ported to scss - (ONLY FOR NOW!!) rip out modals from html and typescript - Change the vm hash system so we use the "hashchange" listener, meaning we don't need a event on the list item anymore. Additionally this means that you can just switch VMs just by changing the hash if you know the ID. This is essentially how the cvm3 webapp works. There are still a ton of things that need to be done: - Fixing general styling - Fix card styling, it's a bit broken at the moment - Adding styling for the navbar so it looks correct - Adding styling for HTML elements the original computernewb homepage CSS didn't have - Reimplementing modals using <dialog> (better yet, implementing prompt and confirmation dialogs AS modals) - Fixing dropdowns |
||
|---|---|---|
| src | ||
| static/lang | ||
| .gitignore | ||
| .parcelrc | ||
| .prettierignore | ||
| .prettierrc.json | ||
| Config.ts | ||
| jest.config.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| webapp.png | ||
| yarn.lock | ||
CollabVM 1.2 Webapp 2.0
The CollabVM Web App is the viewer for the CollabVM Server.
Building
Edit Config.ts to your needs, then:
yarn
yarnyarn build
npm
npm inpm run build
The build output directory is dist/.
Unit testing
This is very minimal and only tests a single standalone part at the moment:
yarn test
Serving
Just drop the contents of dist/ somewhere into your webroot.
For testing or development purposes only, you can throw up a quick test webserver with the following command:
yarn
yarn serve
npm
npm run serve
