Before uploading your files
0. Check all "TODO" comments and for each, resolve it/raise an issue about it and then remove it's comment.
- ESLint all the JS files (Cut
editor.min.js
to desktop; opencmd
in/js/
folder; typeeslint *.js
; when finished, cut theeditor.min.js
back into the folder)/W3Clint all HTML/CSS files. - Update the version number in options.html and manifest to the latest version number.
- Remove/comment
console.log
s/console.dir
s from all JS files.Run Replace function to remove all tab chars at the end of lines -\t+$
Can cause problems like this one - Update the change log in options.html as well as on github
- Make sure that the update fixes all the bugs listed for its milestone number.
- Check for an update to quill version, and replace the "min.js" and "snow.css" files in our codebase.
- Minify all the files except editor.min.js (cut-paste it separately - it is a >200KB file, takes a lot of time to minify).
- Copy all
imgs
fromUncompressed
toCompressed
in case they were updated. - Testing
After updating the extension
0. Make sure to reply to all people on the support page as well as on the official email ([email protected]), whose errors have been fixed in this updated version.
- Update new cards (put them in their respective columns) on the main project for the new issues that were filed while the development. This helps have laser sharp focus for the next update. (Also delete the column that was being used for this update.)
- Upload the compressed zipped file under Releases and
the uncompressed files to master branch of codebase.useless if I keep committing code frequently enough - Update the known bugs list
- Clone the previous folder of the files on the local dev pc and rename the new folder as
v_nxt_v_num
Please follow the following conventions:
- All class names in HTML must be in small case. Multiple words should be separated by underscore.
- Snippet parts should be referred to as "name" and "body" respectively.
- All variables names related to a HTML Node should EITHER have $ at the start of their name OR contain the word "node" (not elm) in their name.