WEB-2381 Chore: intake refactor (#5752)
* chore: intake emails and forms * fix: moved files to ee * fix: intake form ui * fix: settings apis integrated * fix: removed publish api * fix: removed space app * fix: lint issue * fix: removed logs * fix: removed comment * fix: improved success image
This commit is contained in:
parent
fb49644185
commit
0f25f39404
13 changed files with 137 additions and 32 deletions
|
|
@ -1,16 +1,23 @@
|
|||
import { ReactNode } from "react";
|
||||
import { FileText, Layers, Timer } from "lucide-react";
|
||||
import { IProject } from "@plane/types";
|
||||
import { ContrastIcon, DiceIcon, Intake } from "@plane/ui";
|
||||
|
||||
export type TProperties = {
|
||||
property: string;
|
||||
title: string;
|
||||
description: string;
|
||||
icon: ReactNode;
|
||||
isPro: boolean;
|
||||
isEnabled: boolean;
|
||||
renderChildren?: (
|
||||
currentProjectDetails: IProject,
|
||||
isAdmin: boolean,
|
||||
handleSubmit: (featureKey: string, featureProperty: string) => Promise<void>
|
||||
) => ReactNode;
|
||||
};
|
||||
export type TFeatureList = {
|
||||
[key: string]: {
|
||||
property: string;
|
||||
title: string;
|
||||
description: string;
|
||||
icon: ReactNode;
|
||||
isPro: boolean;
|
||||
isEnabled: boolean;
|
||||
};
|
||||
[key: string]: TProperties;
|
||||
};
|
||||
|
||||
export type TProjectFeatures = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue