@@ -8,16 +8,13 @@ import { observer } from "mobx-react";
88// plane imports
99import { useTranslation } from "@plane/i18n" ;
1010import { setPromiseToast } from "@plane/propel/toast" ;
11- import { Tooltip } from "@plane/propel/tooltip" ;
1211import type { IProject } from "@plane/types" ;
1312import { CycleIcon , IntakeIcon , ModuleIcon , PageIcon , ViewsIcon } from "@plane/propel/icons" ;
1413// components
1514import { SettingsBoxedControlItem } from "@/components/settings/boxed-control-item" ;
1615import { SettingsHeading } from "@/components/settings/heading" ;
1716// hooks
1817import { useProject } from "@/hooks/store/use-project" ;
19- // plane web imports
20- import { UpgradeBadge } from "@/plane-web/components/workspace/upgrade-badge" ;
2118// local imports
2219import { ProjectFeatureToggle } from "./helper" ;
2320
@@ -34,7 +31,6 @@ const PROJECT_FEATURES_LIST = {
3431 title : "Cycles" ,
3532 description : "Timebox work as you see fit per project and change frequency from one period to the next." ,
3633 icon : < CycleIcon className = "h-5 w-5 flex-shrink-0 rotate-180 text-tertiary" /> ,
37- isPro : false ,
3834 isEnabled : true ,
3935 } ,
4036 modules : {
@@ -43,7 +39,6 @@ const PROJECT_FEATURES_LIST = {
4339 title : "Modules" ,
4440 description : "Group work into sub-project-like set-ups with their own leads and assignees." ,
4541 icon : < ModuleIcon width = { 20 } height = { 20 } className = "flex-shrink-0 text-tertiary" /> ,
46- isPro : false ,
4742 isEnabled : true ,
4843 } ,
4944 views : {
@@ -52,7 +47,6 @@ const PROJECT_FEATURES_LIST = {
5247 title : "Views" ,
5348 description : "Save sorts, filters, and display options for later or share them." ,
5449 icon : < ViewsIcon className = "h-5 w-5 flex-shrink-0 text-tertiary" /> ,
55- isPro : false ,
5650 isEnabled : true ,
5751 } ,
5852 pages : {
@@ -61,7 +55,6 @@ const PROJECT_FEATURES_LIST = {
6155 title : "Pages" ,
6256 description : "Write anything like you write anything." ,
6357 icon : < PageIcon className = "h-5 w-5 flex-shrink-0 text-tertiary" /> ,
64- isPro : false ,
6558 isEnabled : true ,
6659 } ,
6760 inbox : {
@@ -70,7 +63,6 @@ const PROJECT_FEATURES_LIST = {
7063 title : "Intake" ,
7164 description : "Consider and discuss work items before you add them to your project." ,
7265 icon : < IntakeIcon className = "h-5 w-5 flex-shrink-0 text-tertiary" /> ,
73- isPro : false ,
7466 isEnabled : true ,
7567 } ,
7668} ;
@@ -119,11 +111,6 @@ export const ProjectFeaturesList = observer(function ProjectFeaturesList(props:
119111 title = {
120112 < span className = "flex items-center gap-2" >
121113 { t ( featureItem . key ) }
122- { featureItem . isPro && (
123- < Tooltip tooltipContent = "Pro feature" position = "top" >
124- < UpgradeBadge className = "rounded-sm" />
125- </ Tooltip >
126- ) }
127114 </ span >
128115 }
129116 description = { t ( `${ featureItem . key } _description` ) }
@@ -138,9 +125,6 @@ export const ProjectFeaturesList = observer(function ProjectFeaturesList(props:
138125 />
139126 }
140127 />
141- { /* {currentProjectDetails?.[featureItem.property as keyof IProject] && (
142- <div className="pl-14">{featureItem.renderChildren?.(currentProjectDetails, workspaceSlug)}</div>
143- )} */ }
144128 </ div >
145129 ) ) }
146130 </ div >
0 commit comments