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

Manage available pipeline & associated steps in backend instead of frontend #1017

Open
raphaelvignes opened this issue Aug 24, 2021 · 1 comment

Comments

@raphaelvignes
Copy link
Contributor

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 ?

@davinov davinov changed the title issue: manage available pipeline & associated steps in backend instead of frontend Manage available pipeline & associated steps in backend instead of frontend Sep 2, 2021
@davinov
Copy link
Member

davinov commented Sep 2, 2021

Yes completly!
This is one of the tasks suggested in #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 ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants