From 53f801f966fe592b740fb13c5f9d045f26878197 Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Tue, 27 Aug 2024 16:51:44 +0530 Subject: [PATCH] [WEB-2312] chore: minor UI and UX copy improvements. --- .../constants/project/settings/features.tsx | 19 +++++++++++-------- .../pages/editor/header/options-dropdown.tsx | 2 +- .../project/project-feature-update.tsx | 10 +++------- .../project/settings/features-list.tsx | 3 ++- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/web/ce/constants/project/settings/features.tsx b/web/ce/constants/project/settings/features.tsx index 140f3658c24..3fdccc97940 100644 --- a/web/ce/constants/project/settings/features.tsx +++ b/web/ce/constants/project/settings/features.tsx @@ -16,18 +16,20 @@ export type TFeatureList = { export type TProjectFeatures = { [key: string]: { title: string; + description: string; featureList: TFeatureList; }; }; export const PROJECT_FEATURES_LIST: TProjectFeatures = { project_features: { - title: "Features", + title: "Projects and issues", + description: "Toggle these on or off this project.", featureList: { cycles: { property: "cycle_view", title: "Cycles", - description: "Time-box issues and boost momentum, similar to sprints in scrum.", + description: "Timebox work as you see fit per project and change frequency from one period to the next.", icon: , isPro: false, isEnabled: true, @@ -35,7 +37,7 @@ export const PROJECT_FEATURES_LIST: TProjectFeatures = { modules: { property: "module_view", title: "Modules", - description: "Group multiple issues together and track the progress.", + description: "Group work into sub-project-like set-ups with their own leads and assignees.", icon: , isPro: false, isEnabled: true, @@ -43,7 +45,7 @@ export const PROJECT_FEATURES_LIST: TProjectFeatures = { views: { property: "issue_views_view", title: "Views", - description: "Apply filters to issues and save them to analyse and investigate work.", + description: "Save sorts, filters, and display options for later or share them.", icon: , isPro: false, isEnabled: true, @@ -51,7 +53,7 @@ export const PROJECT_FEATURES_LIST: TProjectFeatures = { pages: { property: "page_view", title: "Pages", - description: "Document ideas, feature requirements, discussions within your project.", + description: "Write anything like you write anything.", icon: , isPro: false, isEnabled: true, @@ -59,7 +61,7 @@ export const PROJECT_FEATURES_LIST: TProjectFeatures = { inbox: { property: "inbox_view", title: "Intake", - description: "Capture external inputs, move valid issues to workflow.", + description: "Consider and discuss issues before you add them to your project.", icon: , isPro: false, isEnabled: true, @@ -67,12 +69,13 @@ export const PROJECT_FEATURES_LIST: TProjectFeatures = { }, }, project_others: { - title: "Others", + title: "Work management", + description: "Available only on some plans as indicated by the label next to the feature below.", featureList: { is_time_tracking_enabled: { property: "is_time_tracking_enabled", title: "Time Tracking", - description: "Keep the work logs of the users in track ", + description: "Log time, see timesheets, and download full CSVs for your entire workspace.", icon: , isPro: true, isEnabled: false, diff --git a/web/core/components/pages/editor/header/options-dropdown.tsx b/web/core/components/pages/editor/header/options-dropdown.tsx index 14b352456a0..113f02fcc68 100644 --- a/web/core/components/pages/editor/header/options-dropdown.tsx +++ b/web/core/components/pages/editor/header/options-dropdown.tsx @@ -166,7 +166,7 @@ export const PageOptionsDropdown: React.FC = observer((props) => { ]; return ( - + handleFullWidth(!isFullWidth)} diff --git a/web/core/components/project/project-feature-update.tsx b/web/core/components/project/project-feature-update.tsx index 5d08d85ef66..8b990270893 100644 --- a/web/core/components/project/project-feature-update.tsx +++ b/web/core/components/project/project-feature-update.tsx @@ -28,14 +28,10 @@ export const ProjectFeatureUpdate: FC = observer((props) => { return ( <> -
-

Toggle project features

-
- Turn on features which help you manage and run your project. -
+
+
- -
+
Congrats! Project {" "}

{currentProjectDetails.name}

created. diff --git a/web/core/components/project/settings/features-list.tsx b/web/core/components/project/settings/features-list.tsx index 7aaab91e3f0..9aa345113b6 100644 --- a/web/core/components/project/settings/features-list.tsx +++ b/web/core/components/project/settings/features-list.tsx @@ -61,8 +61,9 @@ export const ProjectFeaturesList: FC = observer((props) => { const feature = PROJECT_FEATURES_LIST[featureSectionKey]; return (
-
+

{feature.title}

+

{feature.description}

{Object.keys(feature.featureList).map((featureItemKey) => { const featureItem = feature.featureList[featureItemKey];