#Web Sequence
Web Sequence is a Chrome Extension and a Web App that convert your Chrome tab into a sequence diagram generator. Something like CodePen or JSFiddle, but for sequence diagram generation.
##Deployment
We will discuss deployment of the following items:
App/Plugin | Target | Local | Web Console | Github Actions |
---|---|---|---|---|
Web App | Firebase | Y | N | Y |
Functions | Firebase | Y | N | N |
Chrome extension | Web store | Y | Y | N |
Shared steps - build and test:
- Make sure you are on the right branch (
master
). yarn install
to install the dependenciesyarn build
to build the product releaseyarn release
to copy build files to app / extensionhttp-server ./app
to verify build in ./appaccess localhost instead of 127.0.0.1
to allow firebase access
- Update
version
insrc/manifest.json
yarn build
to build the product releaseyarn release
to build the Chrome extension- Use the ZenUml extension to the Chrome Browser
- Chrome -> settings -> extensions
- Enable 'Developer Mode'
- Load the unpacked extensions: folder ./extension
Optimisation: The #3 step in the shared steps would generate a zip file. The #2 step can be omitted if we pass the generated zip file name to the script of
yarn upload
andyarn pub
.
- Uninstall and reinstall the latest version of extension
- Do smoke test by creating a new diagram
// firebase.json, this will deploy the `app` folder
$ firebase deploy --project [staging|prod]
- Go to the page of app
- Do smoke test by create a new diagram
$ yarn install // instal modules
$ yarn start // start a local server
$ yarn build // build a staging release
$ yarn release // copy resources to app / extension
In Chrome console, type in document.cookie='DEBUG=true'
or document.cookie='DEBUG=;max-age=1'
.
$ yarn link vue-sequence # use un-uglyfied version
$ webpack # build bundle.js to src/lib
Install it from Chrome Web Store - Web Sequence. You can also search "Web Sequence" or "Sequence Diagram" to find it.
- Supports method call, internal method, alt (if/else) and loop (for, foreach, while) keywords
- Works offline
- Save and load your creations
- Auto-save feature
- Code auto-completion
- Import & Export all creations anytime, anywhere
- Multiple editor themes & other configurable settings
- Font options + use any system font!
- Very easily accessible. Simply open a new tab in Chrome! (in chrome extension only)
- Capture preview screenshot (in Chrome extension only)
Follow @ZenUml for updates or tweet out feature requests and suggestions.
Web Sequence is completely free and open-source. If you find it useful, you can show your support by sharing it in your social network or by simply letting me know how much you đź’– it by tweeting to @ZenUml.
MIT Licensed
Copyright (c) 2017 Peng Xiao, ZenUml.com