weaverbird icon indicating copy to clipboard operation
weaverbird copied to clipboard

Manage available pipeline & associated steps in backend instead of frontend

Open raphaelvignes opened this issue 3 years ago • 1 comments

Currently when we want to manage which button/step to display in frontend we need to declare available step of a translator in src/lib/translators/. Perhaps, we could manage this list directly from the steps listed in: server/weaverbird/backends/xxxx/steps/__init__.py ?

raphaelvignes avatar Aug 24 '21 07:08 raphaelvignes

Yes completly! This is one of the tasks suggested in https://github.com/ToucanToco/weaverbird/issues/912 : "rewrite the supported/unsupported steps logic in the UI part to remove the dependency to any translators" This could be declared in a JSON file shared to the UI. Even better if we manage to generate this file from a convention on how the backends are written ^^

davinov avatar Sep 02 '21 10:09 davinov