/Bot-Assistant

600+ Users: Chrome extension for efficient A360 bot development. Real-time issue overview, copy-paste file/folders, download files and bulk package updates.

Primary LanguageVue

Bot Assistant helps ensure best practices are being followed for A360 bots by quickly providing an overview of issues in real-time.

  • Allows developers to proactively make changes before review. πŸ’»
  • Allows reviewers to quickly get a list of issues without going line by line. πŸ‘€
  • Allows quick download of control room files without export for quick edit (e.g., .xlsx config files | select items > copy > click on the file name).
  • Update bot content without export (also allows bot copying across control rooms, copy bot to/from the community edition without export).
  • Bulk update package versions from the private workspace using Tools tab (select items > Update Package Version).
  • Bulk copy files and folders in private workspace.
  • Auto-refresh assistant on code save.
  • Dynamic options based on active page.

How to Use extension:

  • Download from chrome webstore
  • Navigate to the A360 bot page (πŸ”—public/private) and click the extension icon πŸ€–.
  • Extension icon can be clicked to toggle bot assistantπŸ€–, πŸ“Œpin extension, or assign a shortcut key for quick toggle.
  • Bot assistant can also be dragged and collapsed/expanded πŸŒ‚.

Extension Configuration βš™οΈ:

By default, all the checks are enabled with default values, these can be customized:

Best Practices:

  • Error Handling β›”
  • Comment πŸ—’οΈ
  • Step 🧱
  • Runtime timeout ⌚
  • Automation priority 🏎️
  • Lines of code per task πŸ”’
  • Number of variables per task πŸ”’

Bot Actions:

  • Empty Containers (Step, Try, Catch, If, Else, etc.) 🧱
  • Disabled action πŸ”•
  • Command outside Try-Catch β›”
  • Message Box πŸ“Ÿ
  • Debug breakpoint 🦽
  • Hardcoded delay 🚧
  • Code break (Pause task, Stop task) πŸ›‘

Bot Variables:

  • Nonconstant variable with a hardcoded value πŸ” 
  • Constant variable with a lowercase letter in the name πŸ”€
  • Variable name minimum length πŸ“
  • Input type variable Regex pattern πŸ” πŸ”’
  • Output type variable name Regex pattern πŸ” πŸ”’
  • Input + Output type variable name Regex pattern πŸ” πŸ”’
  • Regular (Not Input + Not Output) type variable name Regex pattern πŸ” πŸ”’

Project development setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.