From 20c3c8e2edd04235147d2b64be0b43d3dfdc0147 Mon Sep 17 00:00:00 2001 From: Sudheer Salavadi Date: Tue, 9 Jul 2024 00:05:53 +0530 Subject: [PATCH] More improvements --- .../Assist/components/SessionList/SessionList.tsx | 2 +- .../PredefinedWidgets/CallWithErrors/MethodType.js | 2 +- .../CallWithErrors/callWithErrors.module.css | 3 ++- .../Dashboard/components/Alerts/AlertsList.tsx | 2 +- .../components/DashboardList/DashboardList.tsx | 4 ++-- .../NewDashModal/Examples/CallsWithErrorsExample.tsx | 2 +- .../app/components/Funnels/FunnelWidget/FunnelBar.tsx | 2 +- .../components/Funnels/FunnelWidget/FunnelWidget.tsx | 4 ++-- .../components/UsabilityTesting/ResponsesOverview.tsx | 2 +- frontend/app/components/UsabilityTesting/TestEdit.tsx | 8 ++++---- .../app/components/UsabilityTesting/TestOverview.tsx | 5 +++-- .../components/UsabilityTesting/UsabilityTesting.tsx | 10 ++++++---- .../shared/SelectDateRange/SelectDateRange.tsx | 2 +- .../components/SessionList/SessionDateRange.tsx | 2 +- frontend/app/styles/general.css | 4 ++++ 15 files changed, 31 insertions(+), 23 deletions(-) diff --git a/frontend/app/components/Assist/components/SessionList/SessionList.tsx b/frontend/app/components/Assist/components/SessionList/SessionList.tsx index 67da04b2f..6fd78da60 100644 --- a/frontend/app/components/Assist/components/SessionList/SessionList.tsx +++ b/frontend/app/components/Assist/components/SessionList/SessionList.tsx @@ -40,7 +40,7 @@ function SessionList(props: Props) {
-
No live sessions found
+
No live sessions found.
} > diff --git a/frontend/app/components/Dashboard/Widgets/PredefinedWidgets/CallWithErrors/MethodType.js b/frontend/app/components/Dashboard/Widgets/PredefinedWidgets/CallWithErrors/MethodType.js index 2c8cba59e..029894fdb 100644 --- a/frontend/app/components/Dashboard/Widgets/PredefinedWidgets/CallWithErrors/MethodType.js +++ b/frontend/app/components/Dashboard/Widgets/PredefinedWidgets/CallWithErrors/MethodType.js @@ -3,7 +3,7 @@ import { Tag } from 'antd'; const MethodType = ({ data }) => { return ( - + {data.method} ); diff --git a/frontend/app/components/Dashboard/Widgets/PredefinedWidgets/CallWithErrors/callWithErrors.module.css b/frontend/app/components/Dashboard/Widgets/PredefinedWidgets/CallWithErrors/callWithErrors.module.css index bc37a3991..cac07385f 100644 --- a/frontend/app/components/Dashboard/Widgets/PredefinedWidgets/CallWithErrors/callWithErrors.module.css +++ b/frontend/app/components/Dashboard/Widgets/PredefinedWidgets/CallWithErrors/callWithErrors.module.css @@ -19,4 +19,5 @@ &:hover { border: solid thin $gray-light !important; } -} \ No newline at end of file +} + diff --git a/frontend/app/components/Dashboard/components/Alerts/AlertsList.tsx b/frontend/app/components/Dashboard/components/Alerts/AlertsList.tsx index 883321a4f..e88017e11 100644 --- a/frontend/app/components/Dashboard/components/Alerts/AlertsList.tsx +++ b/frontend/app/components/Dashboard/components/Alerts/AlertsList.tsx @@ -38,7 +38,7 @@ function AlertsList({ siteId }: Props) {
- {alertsSearch !== '' ? 'No matching results' : 'You haven\'t created any alerts yet'} + {alertsSearch !== '' ? 'No matching results' : 'No alerts have been configured yet'}
} diff --git a/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx b/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx index 55d8f588f..9e5881129 100644 --- a/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx +++ b/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx @@ -76,8 +76,8 @@ function DashboardList({ siteId }: { siteId: string }) { const emptyDescription = dashboardsSearch !== '' ? (
- - No search results found. + + No matching results
Try adjusting your search criteria or creating a new dashboard. diff --git a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/CallsWithErrorsExample.tsx b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/CallsWithErrorsExample.tsx index c07c7f82b..b0f056569 100644 --- a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/CallsWithErrorsExample.tsx +++ b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/Examples/CallsWithErrorsExample.tsx @@ -15,7 +15,7 @@ function CallsWithErrorsExample(props: Props) { - +
); } diff --git a/frontend/app/components/Funnels/FunnelWidget/FunnelBar.tsx b/frontend/app/components/Funnels/FunnelWidget/FunnelBar.tsx index f365ce4b7..704586cf5 100644 --- a/frontend/app/components/Funnels/FunnelWidget/FunnelBar.tsx +++ b/frontend/app/components/Funnels/FunnelWidget/FunnelBar.tsx @@ -124,7 +124,7 @@ export function UxTFunnelBar(props: Props) { {durationFormatted(filter.avgCompletionTime)} - Avg. completion time + avg. completion time
diff --git a/frontend/app/components/Funnels/FunnelWidget/FunnelWidget.tsx b/frontend/app/components/Funnels/FunnelWidget/FunnelWidget.tsx index 432f38b79..77467e59e 100644 --- a/frontend/app/components/Funnels/FunnelWidget/FunnelWidget.tsx +++ b/frontend/app/components/Funnels/FunnelWidget/FunnelWidget.tsx @@ -52,8 +52,8 @@ function FunnelWidget(props: Props) { - +
+ No data available for the selected period.
} diff --git a/frontend/app/components/UsabilityTesting/ResponsesOverview.tsx b/frontend/app/components/UsabilityTesting/ResponsesOverview.tsx index 1644447b0..fae83a18b 100644 --- a/frontend/app/components/UsabilityTesting/ResponsesOverview.tsx +++ b/frontend/app/components/UsabilityTesting/ResponsesOverview.tsx @@ -98,7 +98,7 @@ const ResponsesOverview = observer(() => {
- # Response + #
Participant diff --git a/frontend/app/components/UsabilityTesting/TestEdit.tsx b/frontend/app/components/UsabilityTesting/TestEdit.tsx index 79c95956f..22fcd396d 100644 --- a/frontend/app/components/UsabilityTesting/TestEdit.tsx +++ b/frontend/app/components/UsabilityTesting/TestEdit.tsx @@ -443,13 +443,13 @@ export function Step({ description && description?.length > 300 ? description.slice(0, 300) + '...' : description; return (
{ind + 1}
diff --git a/frontend/app/components/UsabilityTesting/TestOverview.tsx b/frontend/app/components/UsabilityTesting/TestOverview.tsx index e990101ad..fa7002aba 100644 --- a/frontend/app/components/UsabilityTesting/TestOverview.tsx +++ b/frontend/app/components/UsabilityTesting/TestOverview.tsx @@ -333,7 +333,8 @@ const TaskSummary = observer(() => { Task Summary {uxtestingStore.taskStats.length ? ( -
+
+ Average completion time of all tasks: {uxtestingStore.taskStats @@ -345,7 +346,7 @@ const TaskSummary = observer(() => { ) : null} - +
) : null}
diff --git a/frontend/app/components/UsabilityTesting/UsabilityTesting.tsx b/frontend/app/components/UsabilityTesting/UsabilityTesting.tsx index d949217e4..9d60224af 100644 --- a/frontend/app/components/UsabilityTesting/UsabilityTesting.tsx +++ b/frontend/app/components/UsabilityTesting/UsabilityTesting.tsx @@ -131,15 +131,17 @@ function TestsTable() {
{uxtestingStore.searchQuery === '' ? ( - ) : null} + ) : ( + + )}
{uxtestingStore.searchQuery === '' - ? 'Uncover real user insights through usability tests.' - : 'No results matching your search'} + ? 'Uncover real user insights through usability tests' + : 'No matching results'}
{uxtestingStore.searchQuery === '' - ? 'Conduct summative testing to observe task completion and iterate your product.' + ? 'Conduct summative usability testing to observe task completion and iterate your product.' : ''}
diff --git a/frontend/app/components/shared/SelectDateRange/SelectDateRange.tsx b/frontend/app/components/shared/SelectDateRange/SelectDateRange.tsx index 60e457179..367611866 100644 --- a/frontend/app/components/shared/SelectDateRange/SelectDateRange.tsx +++ b/frontend/app/components/shared/SelectDateRange/SelectDateRange.tsx @@ -72,7 +72,7 @@ function SelectDateRange(props: Props) { return (
- + {useButtonStyle ? (