Chrome Extension for Heat Seek
- Clone the repository
- Open Google Chrome
- Top-right menu -
More Tools
-Extensions
- Top-right
Developer mode
toggleon
Load unpacked
- Select repository folder
- Installed! Extension will automatically update with changes
- Any errors with the extension will show up under the
Errors
button to the right of theRemove
button in the card for the sensor
- Read the Chrome Extension Overview linked below for how the extension js structure is organized
- Inline scripts and inline event handlers are not allowed. That means no
<button onclick="...">
- Avoiding jquery for
popup.js
, maybe forsensor.js
? - Also open to bootstrapping the sensor page for convenience
- Tell the rest of the team if you feel strongly about any elements.
- Current tabbing: two space tabs.
- JS strings: single quotes
- HTML strings: double quotes
Getting Started Tutorial [https://developer.chrome.com/extensions/getstarted ] Chrome Extension Overview [https://developer.chrome.com/extensions/overview ] Manifest File Format [https://developer.chrome.com/extensions/manifest ] Extensions Devguide [https://developer.chrome.com/extensions/devguide ]
Chrome extension UI documentation [https://developer.chrome.com/extensions/user_interface ] Heat Seek visual guidelines [https://github.com/heatseeknyc/heat-seek-nyc-front-end/tree/master/assets/visual-guidelines ] Chrome extension UI examples [https://uxplanet.org/chrome-extension-popups-design-inspiration-b38de2cbd589 ]
Google Developers USB devices guide [https://developers.google.com/web/updates/2016/03/access-usb-devices-on-the-web#talk_to_an_arduino_usb_board ]
heatseek-chrome
├── README.md
├── imgs
│ ├── icons extension icon/favicon
│ │ ├── 128.png
│ │ ├── 16.png
│ │ └── 48.png
│ └── logo.png extension header img
├── js
│ ├── background.js unused
│ ├── popup.js popup js
│ └── sensor.js sensor page js
├── manifest.json extension required
├── popup.html popup html
├── sensor.html sensor html
└── style
├── popup.css popup css
└── sensor.css sensor css