Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extensions should be able to add Components #6

Open
jtc42 opened this issue Feb 7, 2020 · 2 comments
Open

Extensions should be able to add Components #6

jtc42 opened this issue Feb 7, 2020 · 2 comments
Labels
critical On the critical path enhancement New feature or request

Comments

@jtc42
Copy link
Member

jtc42 commented Feb 7, 2020

Eventually, Extensions may become the backbone of constructing an LT app

Example of use: OFM with spectrometer: All spectrometer logic (functions, component, and views) can be handled by the extension

@jtc42 jtc42 added enhancement New feature or request critical On the critical path labels Feb 7, 2020
@rwb27
Copy link
Contributor

rwb27 commented Jun 17, 2021

I've been thinking about this some more in relation to making it easier to swap stages, for example; is the notion of a Component already defined anywhere?

@rwb27
Copy link
Contributor

rwb27 commented Jun 22, 2021

OK, mostly for my reference:

  • Components are Python objects that get attached to the LabThing, with a name. This means they may be referenced by name rather than value.
  • Extensions are not Components (currently). Should they be? It would allow one extension to be made aware of the registration of another extension through the on_component mechanism and means you don't need to worry about whether you are looking for an Extension or a SomethingElse...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical On the critical path enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants