napari / docs

Documentation for napari (other than API docs)
BSD 3-Clause "New" or "Revised" License
11 stars 36 forks source link

Update `context_expressions.md` now that expressions moved to `app-model` #369

Open lucyleeow opened 7 months ago

lucyleeow commented 7 months ago

Expression implementation has been moved to app-model (which has some okay docs: https://app-model.readthedocs.io/en/latest/reference/expressions/#app_model.expressions.Expr)

Also app-model does not yet handle contexts but we are using their context types (e.g., ContextNamespace and ContextKey).

We should update the documentation to reflect this and point to app-model docs where appropriate.

Related ref: https://github.com/napari/napari/issues/4860#issuecomment-1586451648

lucyleeow commented 3 months ago

Related task #146

lucyleeow commented 3 months ago

We should also include the new ContextMapping, in particular:

See for more: https://github.com/napari/napari/pull/6965#discussion_r1650358495

Adding this here to group context updates together.