Second deep audit→build→verify pass; all products typecheck clean. - gitgram-web (100): fix feed pagination, reel drafts, 6 gaps - gitgram-backend (99): add admin/moderator role checks to moderation routes; wire backend-e2e CI (Postgres+Redis services); 5 gaps - gitgram-mobile (97): fix broken create-reel flow; 11 gaps - aitm-core (98): dedupe vendored CLI command registrations; real vector search with local fallback; 7 gaps - aitm-api (99): replace hash-based embeddings with real OpenAI/Voyage embeddings (+ checkpoints test_status migration 0008); 8 gaps - aitm-mcp (99): add X-API-Key to workspace tool proxy calls; 8 gaps - aitm-website (94): fix annual billing checkout; 5 gaps Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
54 lines
1.3 KiB
TypeScript
54 lines
1.3 KiB
TypeScript
import React from 'react';
|
|
import { View, Text, StyleSheet, TouchableOpacity } from 'react-native';
|
|
import { useRouter } from 'expo-router';
|
|
import { Colors } from '../../constants/Colors';
|
|
import Header from '../../components/navigation/Header';
|
|
import EmptyState from '../../components/common/EmptyState';
|
|
|
|
export default function ReelDraftsScreen() {
|
|
const router = useRouter();
|
|
|
|
return (
|
|
<View style={styles.container}>
|
|
<Header title="Reel Drafts" />
|
|
<View style={styles.content}>
|
|
<EmptyState
|
|
title="Reel drafts are unavailable"
|
|
message="This app currently publishes reels directly and does not persist draft reels."
|
|
/>
|
|
<TouchableOpacity
|
|
style={styles.button}
|
|
onPress={() => router.push('/create/reel')}
|
|
>
|
|
<Text style={styles.buttonText}>Create a Reel</Text>
|
|
</TouchableOpacity>
|
|
</View>
|
|
</View>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: Colors.background,
|
|
},
|
|
content: {
|
|
flex: 1,
|
|
justifyContent: 'center',
|
|
paddingHorizontal: 24,
|
|
},
|
|
button: {
|
|
marginTop: 20,
|
|
alignSelf: 'center',
|
|
borderRadius: 12,
|
|
backgroundColor: Colors.accent,
|
|
paddingHorizontal: 20,
|
|
paddingVertical: 12,
|
|
},
|
|
buttonText: {
|
|
color: '#fff',
|
|
fontSize: 14,
|
|
fontWeight: '600',
|
|
},
|
|
});
|