Skip to content

Instantly share code, notes, and snippets.

@hatched

hatched/sped.md Secret

Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hatched/101a2b25a2558fd5f6c2 to your computer and use it in GitHub Desktop.
Save hatched/101a2b25a2558fd5f6c2 to your computer and use it in GitHub Desktop.
Deployer bar unplaced unit dialogue psudo spec.
  1. ECS should NOT deploy units which are unplaced by default.
  • It should skip the unit but leave it in the ECS.
  • This should be skipped in _buildHierarchy.
  • use db's filterByMachine(null).
  1. Deployer Bar should call method in ECS to determine if it should show the unplaced unit UI
  • Can call db's filterByMachine(null) to see if there are any unplaced units in the db.
  1. The autoplace functionality in the machine-view-panel should be moved into a mixin.
  • see _autoPlaceUnits and called methods.
  • both the deployer bar and machine view panel have access to the db and env so a mixin will work well.
  1. View machines functionality will close the deployer bar and fire a navigate event to the machine view.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment