adding todo to posts page for new design based on functionality I have thought of lol

This commit is contained in:
Will Baumbach
2025-08-07 23:28:05 -05:00
parent 6dfe544e1d
commit 72ebe5b2fc
2 changed files with 8 additions and 3 deletions

View File

@@ -4,8 +4,15 @@ import { StyleSheet, Text, View } from 'react-native'
import { PostComponent } from '../components/PostComponent'
import { Post } from '../models/postModel'
// TODO:
// Overhaul posts display to use compact posts - once you click in you should see
// all the details provided by the user as well as buttons to approve or deny.
// Eventually I will also add the user to this page so the reviewer can click into
// the posters account and see their history. I would like to make a point system as well.
// When the buttons are pressed the user will be prompted to enter information
// on WHY the post was approved or denied.
export default function PostsScreen() {
const cloudfrontURL = process.env.CLOUDFRONT_URL
const [posts, setPosts] = useState<Post[]>()
useFocusEffect(

View File

@@ -1,10 +1,8 @@
import { useUser } from '@clerk/clerk-react'
import React from 'react'
import { StyleSheet, Text, TouchableOpacity, View } from 'react-native'
import { Post, StatusEnum } from '../models/postModel'
export const CompactPostComponent: React.FC<Post> = (post) => {
const { user } = useUser()
console.log()
console.log()