Skip to content

[Task]: Modularise Plugin Action Editor #34324

@hetunandu

Description

@hetunandu

By combining the ApiEditor and QueryEditor components, we will create a new Plugin Action Editor component that would be composable and configurable to allow for use in all IDEs.

https://www.notion.so/appsmith/Modularisation-Plugin-Action-Editor-4b306360bad34d2fb2d80e32c08bc4cb?pvs=4

The end result of this modularisation would allow for a composition of Plugin actions as so:

const AppPluginActionEditor {
	return (
		<PluginActionProvider {...}>
			<PluginActionEditor>
				<AppPluginActionToolbar />
				<PluginActionForm />
				<AppPluginActionBottomView />
			</PluginActionEditor>
		<ActionProvider>
	)
}


const WorkflowPluginActionEditor {
	return (
		<PluginActionProvider {...}>
			<PluginActionEditor>
				<WorkflowPluginActionToolbar />
				<PluginActionForm />
				<WorkflowPluginActionBottomView />
			</PluginActionEditor>
		<ActionProvider>
	)
}


const ModulePluginActionEditor {
	return (
		<PluginActionProvider {...}>
			<PluginActionEditor>
				<ModulePluginActionToolbar />
				<PluginActionForm />
				<PluginInputs />
				<ModulePluginActionBottomView />
			</PluginActionEditor>
		<ActionProvider>
	)
}

Metadata

Metadata

Assignees

Labels

IDE NavigationIssues/feature requests related to IDE navigation, and context switchingIDE PodIssues that new developers face while exploring the IDEIDE ProductIssues related to the IDE ProductTaskA simple Todopotential-duplicateThis label marks issues that are potential duplicates of already open issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions