feat: add mobile shell and unified search
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 50s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 20s
ci / .NET API 서버 테스트 (push) Successful in 12s
deploy-site / deploy (push) Successful in 39s
ci / 모바일 린트·타입·Jest (push) Failing after 3h10m31s
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 50s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 20s
ci / .NET API 서버 테스트 (push) Successful in 12s
deploy-site / deploy (push) Successful in 39s
ci / 모바일 린트·타입·Jest (push) Failing after 3h10m31s
This commit is contained in:
parent
f505a03d34
commit
5ca3709b32
98 changed files with 5168 additions and 2093 deletions
|
|
@ -18,6 +18,7 @@ import { useI18n } from '@d3ro/i18n'
|
|||
import { useAuth } from '../lib/auth-context'
|
||||
import { useMobilePreferences } from '../lib/preferences-context'
|
||||
import { ThemeButton, ThemeCard, ThemeText } from '../theme/themed-components'
|
||||
import { ScreenHeader } from '../components/ScreenHeader'
|
||||
import {
|
||||
createTeam,
|
||||
listTeams,
|
||||
|
|
@ -93,25 +94,22 @@ export default function TeamsScreen({ navigation }: TeamsScreenProps): React.Rea
|
|||
|
||||
return (
|
||||
<View style={styles.container} testID="teams-screen">
|
||||
<View style={[styles.header, { paddingTop: insets.top + 12 }]}>
|
||||
<View style={styles.headerCopy}>
|
||||
<ThemeText variant="title" accessibilityRole="header">
|
||||
{t('mobile.teams.title')}
|
||||
</ThemeText>
|
||||
<ThemeText variant="small" color="muted">
|
||||
{t('mobile.teams.description')}
|
||||
</ThemeText>
|
||||
</View>
|
||||
<ThemeButton
|
||||
label={t('mobile.teams.create')}
|
||||
onPress={() => {
|
||||
setName('')
|
||||
setEditorError(null)
|
||||
setEditorOpen(true)
|
||||
}}
|
||||
testID="teams-create"
|
||||
/>
|
||||
</View>
|
||||
<ScreenHeader
|
||||
title={t('mobile.teams.title')}
|
||||
subtitle={t('mobile.teams.description')}
|
||||
rightContent={(
|
||||
<ThemeButton
|
||||
label={t('mobile.teams.create')}
|
||||
onPress={() => {
|
||||
setName('')
|
||||
setEditorError(null)
|
||||
setEditorOpen(true)
|
||||
}}
|
||||
testID="teams-create"
|
||||
/>
|
||||
)}
|
||||
testID="teams-header"
|
||||
/>
|
||||
|
||||
{error !== null && (
|
||||
<ThemeCard style={styles.errorCard} accessibilityRole="alert" testID="teams-error">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue