Deploymentgood first issue
描述
Is your feature request related to a problem? Please describe.
Currently, the Deployment feature expose 2 different routes to import a recipe. First one using a JSON string, and the other one is using a file. For that reason, we have 2 menu items on the navigation (i.e., JSON Import and Package Import)
Describe the solution you'd like
I think we should replace both menu items (i.e., JSON Import and Package Import) with a single one called "Import Recipes". In the "Import Recipes" view, we can have two radio buttons to select which type of import to
- First radio button will be "JSON recipe" which is checked by default. We'll show the JSON input field by default and hide the field upload field.
- Second radio button will be "Recipe file". If the user checks this radio, we'll just show the file upload field.
This should reduce the navigation menu by 1 item and centralize the import process.