Files
SCM-Manager/scm-ui
Konstantin Schaper ec83de3600 Fix modal de-registration firing twice (#2145)
Global Modals as components, and as a result their registration hooks, have a lifecycle that spans the whole application. Because of this, they never get unmounted. The registration hook will simply be re-rendered with an updated "active" flag. Because the hook did not reset to its initial state when switching from "active" to "deactive", it decremented the modal count twice. Once in the cleanup of the previous hook render and once in the else block ("inactive").
2022-11-03 19:17:39 +01:00
..
2022-09-14 13:31:50 +02:00
2018-07-25 08:57:38 +02:00

scm-ui

VSCode Plugins

  • EditorConfig for VS Code
  • Flow Language Support
  • Prettier - Code formatter
  • Project Snippets
  • Debugger for Chrome
code --install-extension EditorConfig.EditorConfig
code --install-extension flowtype.flow-for-vscode
code --install-extension esbenp.prettier-vscode
code --install-extension rebornix.project-snippets

# debugging with chrome browser
code --install-extension msjsdiag.debugger-for-chrome

Install pre-commit hook

echo "" >> .hg/hgrc
echo "[hooks]" >> .hg/hgrc
echo "pre-commit = cd scm-ui && yarn run pre-commit" >> .hg/hgrc