Skip to content

Commit c14ae1f

Browse files
committed
chore(infrastructure): e2e ci
1 parent 5d4e1f0 commit c14ae1f

11 files changed

Lines changed: 481 additions & 495 deletions

File tree

proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
22
/* eslint-disable @typescript-eslint/require-await */
3-
3+
44
import axios from 'axios';
55
import dotenv from 'dotenv';
66
import express, { Request, Response } from 'express';

src/components/Chat/Chat.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,11 +1296,7 @@ export const Chat = memo(({ channelName, channelId }: ChatProps) => {
12961296
}, []);
12971297

12981298
return (
1299-
<View style={styles.wrapper}>
1300-
<View style={{ paddingTop: insets.top }}>
1301-
<Text style={styles.header}>CHAT</Text>
1302-
</View>
1303-
1299+
<View style={[styles.wrapper, { paddingTop: insets.top }]}>
13041300
<KeyboardAvoidingView
13051301
behavior="padding"
13061302
style={styles.keyboardAvoidingView}
@@ -1326,6 +1322,7 @@ export const Chat = memo(({ channelName, channelId }: ChatProps) => {
13261322
getItemType={getItemType}
13271323
onScroll={handleScroll}
13281324
renderItem={renderItem}
1325+
contentContainerStyle={styles.listContent}
13291326
maintainVisibleContentPosition={{
13301327
autoscrollToTopThreshold: 10,
13311328
autoscrollToBottomThreshold: 10,
@@ -1432,15 +1429,16 @@ const styles = StyleSheet.create(theme => ({
14321429
keyboardAvoidingView: {
14331430
flex: 1,
14341431
},
1435-
header: {
1436-
padding: theme.spacing.md,
1437-
},
14381432
chatContainer: {
14391433
flex: 1,
14401434
width: '100%',
14411435
overflow: 'hidden',
14421436
maxWidth: '100%',
14431437
},
1438+
listContent: {
1439+
paddingTop: theme.spacing.sm,
1440+
paddingBottom: theme.spacing.md,
1441+
},
14441442
connectingContainer: {
14451443
paddingVertical: theme.spacing.xs,
14461444
paddingHorizontal: theme.spacing.sm,

src/components/Chat/components/ChatSkeleton.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { SafeAreaViewFixed } from '@app/components/SafeAreaViewFixed/SafeAreaViewFixed';
2-
import { Text } from '@app/components/Text/Text';
32
import { useEffect } from 'react';
43
import { useWindowDimensions, View, ViewStyle } from 'react-native';
54
import Animated, {
@@ -69,7 +68,6 @@ export function ChatSkeleton() {
6968
const chatHeight = height * 0.6;
7069
return (
7170
<SafeAreaViewFixed style={styles.safeArea}>
72-
<Text style={styles.header}>CHAT</Text>
7371
<View
7472
style={[styles.chatContainer, { width: chatWidth, height: chatHeight }]}
7573
>
@@ -93,12 +91,6 @@ export function ChatSkeleton() {
9391
}
9492

9593
const styles = StyleSheet.create(theme => ({
96-
header: {
97-
padding: theme.spacing.sm,
98-
borderBottomWidth: 1,
99-
borderBottomColor: '#2d2d2d',
100-
borderCurve: 'continuous',
101-
},
10294
chatContainer: {
10395
flex: 1,
10496
},

0 commit comments

Comments
 (0)