From dc354033d48d73d6ae5f14d3eeac62f2e9abb699 Mon Sep 17 00:00:00 2001 From: Anup Cowkur Date: Mon, 24 Feb 2025 15:45:09 +0530 Subject: [PATCH] feat(frontend): match bug report attr display style with others closes #1826 --- .../[appId]/[bugReportId]/page.tsx | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/frontend/dashboard/app/[teamId]/bug_reports/[appId]/[bugReportId]/page.tsx b/frontend/dashboard/app/[teamId]/bug_reports/[appId]/[bugReportId]/page.tsx index 6e032d757..7e7cc9607 100644 --- a/frontend/dashboard/app/[teamId]/bug_reports/[appId]/[bugReportId]/page.tsx +++ b/frontend/dashboard/app/[teamId]/bug_reports/[appId]/[bugReportId]/page.tsx @@ -53,8 +53,6 @@ export default function BugReport({ params }: { params: { teamId: string, appId: } } - const attrStyle = "text-sm rounded-full px-2 py-1 border border-gray-500 text-gray-500" - return (
@@ -67,15 +65,14 @@ export default function BugReport({ params }: { params: { teamId: string, appId: {bugReportApiStatus === BugReportApiStatus.Success &&
-
-

{bugReport.status === 0 ? 'Open' : 'Closed'}

-

{formatDateToHumanReadableDateTime(bugReport.timestamp)}

- {bugReport.attribute.user_id &&

User ID: {bugReport.attribute.user_id}

} -

{bugReport.attribute.app_version} ({bugReport.attribute.app_build})

-

{bugReport.attribute.device_manufacturer} {bugReport.attribute.device_model}

-

{bugReport.attribute.network_type}

-
-
+

{bugReport.status === 0 ? 'Open' : 'Closed'}

+
+

User ID: {bugReport.attribute.user_id !== "" ? bugReport.attribute.user_id : "N/A"}

+

Time: {formatDateToHumanReadableDateTime(bugReport.timestamp)}

+

Device: {bugReport.attribute.device_manufacturer + bugReport.attribute.device_model}

+

App version: {bugReport.attribute.app_version} ({bugReport.attribute.app_build})

+

Network type: {bugReport.attribute.network_type}

+
{bugReport.description &&

{bugReport.description}

}