Trail-Sense icon indicating copy to clipboard operation
Trail-Sense copied to clipboard

Tool registry

Open kylecorry31 opened this issue 1 year ago • 0 comments

A way to add new tools without all the boilerplate.

  • [x] Register tool (shows up in tools list)
  • [x] Register quick action (available everywhere)
  • [x] Register guide
  • [x] Register quick setting tile
  • [x] Register settings
  • [x] Register volume shortcut (can be used to prevent volume actions while on the tool)
  • [x] Register background service (for the battery tool)
  • [x] Register notification channels
  • [ ] Register diagnostics

This should also more easily allow me to move tools to a separate module or load a plugin in the future.

The initial implementation of this can just be a configuration object, but in the future it can be decoupled.

kylecorry31 avatar Jan 15 '24 23:01 kylecorry31