第 7 篇 Scrum 冲刺博客

第 7 篇 Scrum 冲刺博客

软件工程 计科21级34班
作业要求 团队作业4——项目冲刺
Github连接 CampusTheards
作业目标 1. 昨天已完成的工作 2. 今天计划完成的工作 3. 工作中遇到的困难

站立会议照片

image-20231123130846178

昨日已完成的工作

  • 在用户已登录且已完成初始化的情况下,展示一个包含标题和发表新主题表单的页面。
  • 展示社区列表,包括搜索功能、社区卡片列表和分页功能

今日计划完成的工作

  • 展示主页上的帖子列表

项目燃尽图

image-20231124084855792

代码签入记录

image-20231125103929384

适当的项目程序/模块的最新(运行)截图

import { currentUser } from "@clerk/nextjs";
import { fetchPosts } from "@/lib/actions/thread.actions";
import ThreadCard from "@/components/cards/ThreadCard";
import { fetchUser } from "@/lib/actions/user.actions";
import { redirect } from "next/navigation";

export default async function Home() {
  const user = await currentUser();
  if (!user) {
    redirect("/sign-in");
  }
  const userInfo = await fetchUser(user.id);
  if (!userInfo?.onboarded) redirect("/onboarding");
  const result = await fetchPosts(1, 30);
  console.log(result);
  return (
    <main>
      <div className="head-text">Home</div>

      <section className="mt-9 flex flex-col gap-10">
        {result.posts.length === 0 ? (
          <p className="no-result">No threads found</p>
        ) : (
          <>
            {result.posts.map((post) => (
              <ThreadCard
                key={post._id}
                id={post._id}
                currentUserId={user.id}
                parentId={post.parentId}
                content={post.text}
                author={post.author}
                community={post.community}
                createdAt={post.createdAt}
                comments={post.children}
              />
            ))}
          </>
        )}
      </section>
    </main>
  );
}

每人每日总结

成员 总结
林程星 项目进入测试和优化阶段
邓梓荣 协助实现帖子互动,以及搜索功能
曾中港 协助实现帖子互动,以及搜索功能
刘鸿杰 对项目具体细节深入理解
冯威炀 相信这一切对我们将来从事大型软件开发都将是难得的财富
陈昊宇 学到了一些新事物,继续努力
刘苑佳 对测试计划进行分析和改进,完善测试计划
posted @ 2023-11-25 10:39  _xxdd  阅读(68)  评论(0)    收藏  举报