app/client/src/enterprise/README.md
We use the ee alias to switch files between CE and EE to avoid conflicts
during regular merging.
Steps to change something for the EE version of app
For the functionality you want to change the import statement in its consumers
to include the ee import in the CE repo. For eg if you want to update the ApplicationCard
component will update this file of ApplicationList component.
FROM
// ApplicationList.tsx
import ApplicationCard from "./ApplicationCard";
// OR
import ApplicationCard from "pages/Applications/ApplicationCard";
TO
// ApplicationList.tsx
import ApplicationCard from "ee/pages/Applications/ApplicationCard";
Create a new file inside the EE repo called ApplicationCard with the same path
$ touch app/client/src/enterprise/pages/Applications/ApplicationCard
EE will now use this file, so you can export a custom ApplicationCard component for EE.
The goal is to reduce conflicts and have EE extend virtually any part of CE so selecting files to update will be crucial. You should keep the following points in mind:
ee space to avoid this problem by reimplementing them in EE.