Skip to content

Commit

Permalink
re-structuring folders
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitakinger committed Jan 17, 2025
1 parent fce6aef commit d7b7400
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 15 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from "react";
import { QueryEntityItem } from "pages/Editor/IDE/EditorPane/Query/ListItem/QueryEntityItem";
import type { EntityItem } from "ee/entities/IDE/constants";

export const ActionEntityItem = (props: {
parentEntityId: string;
item: EntityItem;
}) => {
return <QueryEntityItem {...props} />;
};

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "ce/pages/Editor/IDE/EditorPane/Query/ListItem/old/ListItem";
9 changes: 6 additions & 3 deletions app/client/src/pages/Editor/IDE/EditorPane/Query/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ import { selectQuerySegmentEditorList } from "ee/selectors/appIDESelectors";
import { ActionParentEntityType } from "ee/entities/Engine/actionHelpers";
import { FilesContextProvider } from "pages/Editor/Explorer/Files/FilesContextProvider";
import { useQueryAdd } from "ee/pages/Editor/IDE/EditorPane/Query/hooks";
import { QueryListItem } from "ee/pages/Editor/IDE/EditorPane/Query/ListItem";
import { QueryListItem } from "ee/pages/Editor/IDE/EditorPane/Query/ListItem/old/ListItem";
import { getShowWorkflowFeature } from "ee/selectors/workflowSelectors";
import { BlankState } from "./BlankState";
import { EDITOR_PANE_TEXTS, createMessage } from "ee/constants/messages";
import { filterEntityGroupsBySearchTerm } from "IDE/utils";
import type { EntityItem } from "ee/entities/IDE/constants";
import { ActionEntity } from "ee/pages/Editor/IDE/EditorPane/Query/ActionEntity";
import { ActionEntityItem } from "ee/pages/Editor/IDE/EditorPane/Query/ListItem";
import { useLocation } from "react-router";
import { getIDETypeByUrl } from "ee/entities/IDE/utils";
import { useParentEntityInfo } from "ee/IDE/hooks/useParentEntityInfo";
Expand Down Expand Up @@ -84,7 +84,10 @@ const ListQuery = () => {
className: "",
renderList: (item: EntityItem) => {
return (
<ActionEntity item={item} parentEntityId={parentEntityId} />
<ActionEntityItem
item={item}
parentEntityId={parentEntityId}
/>
);
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { QueryEntityContextMenu } from "./QueryEntityContextMenu";
import { useActiveActionBaseId } from "ee/pages/Editor/Explorer/hooks";
import { PluginType } from "entities/Plugin";

export const QueryEntity = ({
export const QueryEntityItem = ({
item,
parentEntityId,
}: {
Expand Down

0 comments on commit d7b7400

Please sign in to comment.