adding todo to posts page for new design based on functionality I have thought of lol
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user