diff --git a/dss-plugin-visual-edit/README.md b/dss-plugin-visual-edit/README.md index 41bbba1..cb58116 100644 --- a/dss-plugin-visual-edit/README.md +++ b/dss-plugin-visual-edit/README.md @@ -23,14 +23,14 @@ The code was developed in Python (environment specs are in `code-env/`) and is o We recommend reading the components' descriptions, available on your Dataiku instance once you've installed the plugin. * **`custom-recipes/` (Dataiku plugin components: Recipes)** leverage the data persistence layer and Custom Fields (see below) to replay edits found in an editlog dataset, and integrate them into a Dataiku Flow. -* **`custom-fields/edit-schema/` (Dataiku plugin component: Custom Fields)** provides a place to store dataset settings such as primary keys and editable columns, which are used by the Recipes. Currently, these settings are duplicated across the original dataset and the editlog: +* **`custom-fields/visual-edit-schema/` (Dataiku plugin component: Custom Fields)** provides a place to store dataset settings such as primary keys and editable columns, which are used by the Recipes. Currently, these settings are duplicated across the original dataset and the editlog: * original dataset: * `primary_keys` is used by the Apply Edits function/recipe, which joins the original and edits datasets * `editable_columns` is used to present columns in a certain order * Note: both properties are returned by the `get_original_df()` method in `commons.py`. * editlog dataset: * `primary_keys` is used by the Replay Edits function/recipe to unpack key values into 1 column per primary key and to figure out key names. -* **`python-steps/empty-editlog/` (Dataiku plugin component: Scenario step)** empties the editlog by deleting all rows (this is only used for testing purposes on a design instance). +* **`python-steps/visual-edit-empty-editlog/` (Dataiku plugin component: Scenario step)** empties the editlog by deleting all rows (this is only used for testing purposes on a design instance). ### Dash Webapp diff --git a/dss-plugin-visual-edit/custom-fields/edit-schema/custom-fields.json b/dss-plugin-visual-edit/custom-fields/visual-edit-schema/custom-fields.json similarity index 100% rename from dss-plugin-visual-edit/custom-fields/edit-schema/custom-fields.json rename to dss-plugin-visual-edit/custom-fields/visual-edit-schema/custom-fields.json diff --git a/dss-plugin-visual-edit/custom-recipes/apply-edits/recipe.json b/dss-plugin-visual-edit/custom-recipes/visual-edit-apply-edits/recipe.json similarity index 100% rename from dss-plugin-visual-edit/custom-recipes/apply-edits/recipe.json rename to dss-plugin-visual-edit/custom-recipes/visual-edit-apply-edits/recipe.json diff --git a/dss-plugin-visual-edit/custom-recipes/apply-edits/recipe.py b/dss-plugin-visual-edit/custom-recipes/visual-edit-apply-edits/recipe.py similarity index 100% rename from dss-plugin-visual-edit/custom-recipes/apply-edits/recipe.py rename to dss-plugin-visual-edit/custom-recipes/visual-edit-apply-edits/recipe.py diff --git a/dss-plugin-visual-edit/custom-recipes/replay-edits/recipe.json b/dss-plugin-visual-edit/custom-recipes/visual-edit-replay-edits/recipe.json similarity index 100% rename from dss-plugin-visual-edit/custom-recipes/replay-edits/recipe.json rename to dss-plugin-visual-edit/custom-recipes/visual-edit-replay-edits/recipe.json diff --git a/dss-plugin-visual-edit/custom-recipes/replay-edits/recipe.py b/dss-plugin-visual-edit/custom-recipes/visual-edit-replay-edits/recipe.py similarity index 100% rename from dss-plugin-visual-edit/custom-recipes/replay-edits/recipe.py rename to dss-plugin-visual-edit/custom-recipes/visual-edit-replay-edits/recipe.py diff --git a/dss-plugin-visual-edit/plugin.json b/dss-plugin-visual-edit/plugin.json index 3b1a761..fbb3dd1 100644 --- a/dss-plugin-visual-edit/plugin.json +++ b/dss-plugin-visual-edit/plugin.json @@ -1,6 +1,6 @@ { "id": "visual-edit", - "version": "2.0.0", + "version": "2.0.1", "meta": { "label": "Visual Edit", "description": "Build apps to validate and edit data within pipelines", diff --git a/dss-plugin-visual-edit/python-lib/DataEditor.py b/dss-plugin-visual-edit/python-lib/DataEditor.py index b07681b..974a5ad 100644 --- a/dss-plugin-visual-edit/python-lib/DataEditor.py +++ b/dss-plugin-visual-edit/python-lib/DataEditor.py @@ -119,7 +119,7 @@ def __setup_editlog_downstream__(self): replay_recipe_name = "compute_" + self.edits_ds_name replay_recipe_creator = DSSRecipeCreator( - "CustomCode_replay-edits", replay_recipe_name, self.project + "CustomCode_visual-edit-replay-edits", replay_recipe_name, self.project ) if recipe_already_exists(replay_recipe_name, self.project): logging.debug("Found recipe to create edits dataset") @@ -149,7 +149,7 @@ def __setup_editlog_downstream__(self): apply_recipe_name = "compute_" + self.edited_ds_name apply_recipe_creator = DSSRecipeCreator( - "CustomCode_apply-edits", apply_recipe_name, self.project + "CustomCode_visual-edit-apply-edits", apply_recipe_name, self.project ) if recipe_already_exists(apply_recipe_name, self.project): logging.debug("Found recipe to create edited dataset") diff --git a/dss-plugin-visual-edit/python-steps/empty-editlog/step.json b/dss-plugin-visual-edit/python-steps/visual-edit-empty-editlog/step.json similarity index 100% rename from dss-plugin-visual-edit/python-steps/empty-editlog/step.json rename to dss-plugin-visual-edit/python-steps/visual-edit-empty-editlog/step.json diff --git a/dss-plugin-visual-edit/python-steps/empty-editlog/step.py b/dss-plugin-visual-edit/python-steps/visual-edit-empty-editlog/step.py similarity index 100% rename from dss-plugin-visual-edit/python-steps/empty-editlog/step.py rename to dss-plugin-visual-edit/python-steps/visual-edit-empty-editlog/step.py