~/talk

How to Write a Compass Plugin

Talkat JS Fest 2018 · on Saturday, 2018-03-31· [nodejs]

Compass exposes a plugin API for Electron apps built with NodeJS and React; the implementation uses an app registry with activate/unactivated hooks, webpack standalone development, and a template that generates component, actions and store boilerplate. The demo builds a tiny header plugin that runs the connectionStatus command on the admin DB to show the authenticated user, compiles and loads into Compass successfully, and surfaces security blocks for disallowed outgoing connections while moving toward a permissions/app‑store model.

AI-written summary · about

  1. 0:00Introduction
  2. 1:34Agenda
  3. 2:18Compass
  4. 7:10Compass Plugin Roles
  5. 10:20React Plugin Overview
  6. 12:41Lifecycle Hooks
  7. 15:12Plugin Example
  8. 16:21Getting the Template
  9. 20:39Setting up the Store
  10. 24:00Updating the Component
  11. 29:10Security Restrictions
  12. 30:01Future Plans
  13. 31:47Questions
  14. 33:04Debugging
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.