From da9d745d876eab01aeb32882fedc469510164bf5 Mon Sep 17 00:00:00 2001 From: Badal Khatri Date: Sat, 28 Oct 2023 17:01:25 +0530 Subject: [PATCH 1/8] fix: Team Member Card View --- apps/web/lib/features/team-members.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/lib/features/team-members.tsx b/apps/web/lib/features/team-members.tsx index a945a280b..28211cb08 100644 --- a/apps/web/lib/features/team-members.tsx +++ b/apps/web/lib/features/team-members.tsx @@ -40,7 +40,7 @@ export function TeamMembers({ publicTeam = false, kabanView = IssuesView.CARDS } break; case kabanView === IssuesView.CARDS: teamMembersView = ( - + ); break; case kabanView === IssuesView.TABLE: From db1016a15f96e1f0d832e0d57a964e2eaf7c77c7 Mon Sep 17 00:00:00 2001 From: desperado1802 Date: Tue, 7 Nov 2023 12:48:26 +0200 Subject: [PATCH 2/8] fixed the epic popup alignment --- apps/mobile/app/components/TaskEpicPopup.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/mobile/app/components/TaskEpicPopup.tsx b/apps/mobile/app/components/TaskEpicPopup.tsx index 2b3b1eb36..ab85fca88 100644 --- a/apps/mobile/app/components/TaskEpicPopup.tsx +++ b/apps/mobile/app/components/TaskEpicPopup.tsx @@ -85,7 +85,12 @@ const Item: React.FC = ({ currentEpicId, epic, onTaskSelect, teamTask onDismiss() }} > - + {epic.icon} {epic.name} @@ -159,7 +164,6 @@ const styles = StyleSheet.create({ flexDirection: "row", gap: 5, height: 44, - justifyContent: "center", paddingLeft: 16, width: 180, }, From f324e5e38872782922480307feaafff14f50daae Mon Sep 17 00:00:00 2001 From: desperado1802 Date: Tue, 7 Nov 2023 12:59:22 +0200 Subject: [PATCH 3/8] gav fixed width for the issues modal, because it was causing issues on smaller devices --- apps/mobile/app/components/IssuesModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/app/components/IssuesModal.tsx b/apps/mobile/app/components/IssuesModal.tsx index 654a4310c..b1d015c4c 100644 --- a/apps/mobile/app/components/IssuesModal.tsx +++ b/apps/mobile/app/components/IssuesModal.tsx @@ -211,7 +211,7 @@ const styles = StyleSheet.create({ borderRadius: 20, height: "auto", padding: 22, - width: "40%", + width: 170, }, wrapButton: { alignItems: "center", From 6ac12c349047b4fa1b627197b1ebc8a79cc28547 Mon Sep 17 00:00:00 2001 From: desperado1802 Date: Tue, 7 Nov 2023 13:16:45 +0200 Subject: [PATCH 4/8] fixed the width of labels to be same as other statuses in smaller screens --- apps/mobile/app/components/TaskLabels.tsx | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/apps/mobile/app/components/TaskLabels.tsx b/apps/mobile/app/components/TaskLabels.tsx index b4362482b..31289795b 100644 --- a/apps/mobile/app/components/TaskLabels.tsx +++ b/apps/mobile/app/components/TaskLabels.tsx @@ -1,7 +1,15 @@ /* eslint-disable react-native/no-color-literals */ /* eslint-disable react-native/no-inline-styles */ import React, { FC, useEffect, useRef, useState } from "react" -import { TouchableOpacity, View, Text, StyleSheet, ViewStyle, FlatList } from "react-native" +import { + TouchableOpacity, + View, + Text, + StyleSheet, + ViewStyle, + FlatList, + Dimensions, +} from "react-native" import { AntDesign, Entypo } from "@expo/vector-icons" import { observer } from "mobx-react-lite" import { ITeamTask } from "../services/interfaces/ITask" @@ -247,6 +255,9 @@ interface ILabel { const Label: FC = ({ item, freshOpenModal, taskScreenButton, noBorders }) => { const { colors } = useAppTheme() + + const { width } = Dimensions.get("screen") + return ( = ({ item, freshOpenModal, taskScreenButton, noBorders } backgroundColor: item?.color, marginVertical: taskScreenButton ? 3 : 20, height: 32, - minWidth: 100, - maxWidth: taskScreenButton ? 140 : 120, + minWidth: !taskScreenButton && 100, + maxWidth: taskScreenButton ? "70%" : 120, borderRadius: 10, borderColor: colors.border, borderWidth: noBorders ? 0 : 1, @@ -273,7 +284,10 @@ const Label: FC = ({ item, freshOpenModal, taskScreenButton, noBorders } marginLeft: 10, }} > - {limitTextCharaters({ text: item?.name, numChars: taskScreenButton ? 15 : 12 })} + {limitTextCharaters({ + text: item?.name, + numChars: taskScreenButton && width > 420 ? 15 : 12, + })} From 56d78f594863019073c80941965661acb3376cfb Mon Sep 17 00:00:00 2001 From: desperado1802 Date: Tue, 7 Nov 2023 14:04:14 +0200 Subject: [PATCH 5/8] added items button to show how many labels are selected --- apps/mobile/app/components/TaskLabels.tsx | 27 +++++++++++++++++++++++ apps/mobile/app/i18n/ar.ts | 1 + apps/mobile/app/i18n/bg.ts | 1 + apps/mobile/app/i18n/en.ts | 1 + apps/mobile/app/i18n/es.ts | 1 + apps/mobile/app/i18n/fr.ts | 1 + apps/mobile/app/i18n/he.ts | 1 + apps/mobile/app/i18n/ko.ts | 1 + apps/mobile/app/i18n/ru.ts | 1 + 9 files changed, 35 insertions(+) diff --git a/apps/mobile/app/components/TaskLabels.tsx b/apps/mobile/app/components/TaskLabels.tsx index 31289795b..374d05265 100644 --- a/apps/mobile/app/components/TaskLabels.tsx +++ b/apps/mobile/app/components/TaskLabels.tsx @@ -196,6 +196,33 @@ const TaskLabels: FC = observer( (task?.tags?.length > 0 || newTaskLabels?.length > 0) && taskScreenButton ? ( + + + + + + {translate("taskDetailsScreen.items")} ({task?.tags.length}) + + + + + + Date: Tue, 7 Nov 2023 13:12:46 +0100 Subject: [PATCH 6/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 425d51340..1c3e3ddf8 100644 --- a/README.md +++ b/README.md @@ -245,7 +245,7 @@ You can also view a full list of our [contributors tracked by Github](https://gi [![Circle CI](https://circleci.com/gh/ever-co/ever-teams.svg?style=svg)](https://circleci.com/gh/ever-co/ever-teams) [![codecov](https://codecov.io/gh/ever-co/ever-teams/branch/master/graph/badge.svg)](https://codecov.io/gh/ever-co/ever-teams) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/8c46f9eb9df64aa9859dea4d572059ac)](https://www.codacy.com/gh/ever-co/ever-teams/dashboard?utm_source=github.com&utm_medium=referral&utm_content=ever-co/ever-teams&utm_campaign=Badge_Grade) -[![DeepScan grade](https://deepscan.io/api/teams/3293/projects/16703/branches/363423/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=3293&pid=16703&bid=363423) +[![DeepScan grade](https://deepscan.io/api/teams/3293/projects/25855/branches/814579/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=3293&pid=25855&bid=814579) [![Known Vulnerabilities](https://snyk.io/test/github/ever-co/ever-teams/badge.svg)](https://snyk.io/test/github/ever-co/ever-teams) [![Total alerts](https://img.shields.io/lgtm/alerts/g/ever-co/ever-teams.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/ever-co/ever-teams/alerts/) [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/ever-co/ever-teams.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/ever-co/ever-teams/context:javascript) From 838111e87c7d3e5f4d7de774678551994b694f94 Mon Sep 17 00:00:00 2001 From: Serge Muhundu Date: Tue, 7 Nov 2023 20:23:06 +0100 Subject: [PATCH 7/8] increment code version --- apps/mobile/ios/GauzyTeams/Info.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/ios/GauzyTeams/Info.plist b/apps/mobile/ios/GauzyTeams/Info.plist index 9d5b6bbbd..8ddd50246 100644 --- a/apps/mobile/ios/GauzyTeams/Info.plist +++ b/apps/mobile/ios/GauzyTeams/Info.plist @@ -30,7 +30,7 @@ CFBundleVersion - 3 + 4 LSRequiresIPhoneOS NSAppTransportSecurity From 4340b1fb4ad742065e3eca4078caab2dcd8a6222 Mon Sep 17 00:00:00 2001 From: Serge Muhundu Date: Tue, 7 Nov 2023 20:24:23 +0100 Subject: [PATCH 8/8] improve CI workflow --- .github/workflows/mobile-prod.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mobile-prod.yml b/.github/workflows/mobile-prod.yml index 2826598e5..a7a90ea06 100644 --- a/.github/workflows/mobile-prod.yml +++ b/.github/workflows/mobile-prod.yml @@ -82,4 +82,6 @@ jobs: run: cd apps/mobile && eas submit --platform android --latest --non-interactive - name: Publish to App Store - run: EXPO_APPLE_APP_SPECIFIC_PASSWORD=${{ secrets.EXPO_APPLE_APP_SPECIFIC_PASSWORD }} eas submit --platform ios --latest --non-interactive + run: eas submit --platform ios --latest --non-interactive + env: + EXPO_APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.EXPO_APPLE_APP_SPECIFIC_PASSWORD }}