Skip to content

Conversation

@hanjiwon1108
Copy link
Contributor

๐Ÿ’ก ๊ฐœ์š”

team ๋ชจ์•„๋ณด๊ธฐ ํŽ˜์ด์ง€ ๊ฐœ๋ฐœ

๐Ÿ“ƒ ์ž‘์—…๋‚ด์šฉ

๋ฆฌํŽ™ํ† ๋ง๊ณผ ํ•จ๊ป˜ ๋ชจ์•„๋ณด๊ธฐ์— ๋งž๋Š” type์„ ์ง€์ •ํ•ด์„œ ์กฐ๊ฑด๋ฌธ ์ž‘์„ฑ
Profile๊ณผ Project๋ฅผ ๋ชจ์•„์„œ ๋งŒ๋“  ๋˜ ๋‹ค๋ฅธ type์„ ๋งŒ๋“ค์–ด์„œ ๊ฒ€์ƒ‰ ๋˜๊ฒŒ ์ž‘์„ฑ

๐Ÿ”€ ๋ณ€๊ฒฝ์‚ฌํ•ญ

๐Ÿ“ธ ์Šคํฌ๋ฆฐ์ƒท

image

@insertjenkins
Copy link

insertjenkins bot commented Apr 10, 2025

๐Ÿš€ ๋ฐฐํฌ ์ค€๋น„์ค‘

์˜ˆ์ƒํฌํŠธ : 4004

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 17 out of 18 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • package.json: Language not supported
Comments suppressed due to low confidence (1)

src/app/components/profile/Item.tsx:17

  • [nitpick] The prop 'profile' is being used as an array in the mapping function; renaming it to 'profiles' could improve clarity regarding its contents.
profile.map((profile) => (

.schema('project')
.from('projects')
.select('*, category_id!inner(*)');
let query;
Copy link

Copilot AI Apr 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Filter component accepts a type that includes 'student' but does not define a query branch for it, which may lead to undefined behavior. Consider adding an appropriate branch or limiting the type union to only the supported cases.

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

./src/app/components/project/filter/Filter.tsx:66:15
Type error: Property 'data' does not exist on type 'PostgrestResponseFailure | PostgrestResponseSuccess<{ created_at: string; email: string | null; isTeam: boolean; link: string[] | null; owner: string | null; profile_id: string; profile_name: string; }[]> | PostgrestResponseSuccess<...> | undefined'.

  64 |       }
  65 |
> 66 |       const { data, error } = await query;
     |               ^
  67 |
  68 |       if (error) {
  69 |         console.error('Error fetching search results:', error);

@kwonminjae5700
Copy link
Member

๋Œ€๋ถ€๋ถ„์˜ span ํƒœ๊ทธ์— leading-[150%] tracking-normal ์ด ์žˆ๋Š”๋ฐ ์–ด๋–ค ์˜๋„๋กœ ์ž‘์„ฑํ•˜์‹ ๊ฑด๊ฐ€์š”?

@kwonminjae5700
Copy link
Member

#0B50D0 ์ƒ‰์ด ๋ฐ˜๋ณต๋˜์–ด tailwind.config.ts ์— ์ •์˜ํ•ด์„œ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ๋„ ์ข‹์„ ๊ฑฐ ๊ฐ™์Šต๋‹ˆ๋‹ค.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋ชจ์•„๋ณด๊ธฐ๊ฐ€ ์žˆ๋Š” span ํƒœ๊ทธ์™€ Filter, TotalList ๋ฅผ ํ•˜๋‚˜์˜ ์ปดํฌ๋„ŒํŠธ๋กœ ๋งŒ๋“  ๋’ค ๋‹ค๋ฅธ ๋™์ ์ธ ๋ถ€๋ถ„๋“ค์„ Layout ์œผ๋กœ ๋งŒ๋“œ๋Š” ๊ฒƒ์ด ์ข‹์„ ๊ฑฐ ๊ฐ™์Šต๋‹ˆ๋‹ค

return (
<>
<div className="flex justify-center items-center">
<div className="container mx-auto pt-10 pb-16 px-[1.875rem] flex flex-col gap-[1.125rem] bg-white mt-24 md:max-w-[94.5rem] md:pr-16 md:pl-16 md:gap-[1.125rem]">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

md:pr-16 md:pl-16 ์ด ์ฝ”๋“œ๋ฅผ md:px-16 ์œผ๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์„ ๊ฑฐ ๊ฐ™์Šต๋‹ˆ๋‹ค.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tag ์ปดํฌ๋„ŒํŠธ์— 24๋ฒˆ์งธ ๋ผ์ธ์— tracking-normal ์ด๋ž‘ leading-[150%] ๊ฐ€ ์™œ ํ•„์š”ํ•œ๊ฑด๊ฐ€์š”?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setSearch ๋ณด๋‹ค๋Š” ๋‹ค๋ฅธ ์ด๋ฆ„์ด ์ข‹์„ ๊ฑฐ ๊ฐ™์Šต๋‹ˆ๋‹ค. ์„ธํ„ฐ ํ•จ์ˆ˜ ๊ฐ™์Šต๋‹ˆ๋‹ค.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

14๋ฒˆ์งธ ์ค„์— Topics ๋ผ๋Š” interface ๊ฐ€ ๋Œ€๋ถ€๋ถ„ Tag ์— ์“ฐ์ด๋˜๋ฐ ์™œ ์ด๋ฆ„์€ Topics ์ธ๊ฐ€์š”?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TagList ์— Tag ๊ฐ€ ์ƒ๊ธฐ๋ฉด ํ™”๋ฉด์ด ์›€์ง์ž…๋‹ˆ๋‹ค.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์™œ 31๋ฒˆ์ค„ css ์—๋งŒ material-symbols-outlined ๋ฅผ ์“ฐ์…จ๋‚˜์š”?

fetchProjects();
setCurrentPage(1);
}, [searchQuery, sort]);
}, [searchQuery, sort, setSearch, setCurrentPage, type]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๋ ‡๊ฒŒ ๋˜๋ฉด ์ ์šฉํ•˜๊ธฐ ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด์ง€ ์•Š์•„๋„ ํƒœ๊ทธ๋‚˜ ๊ฒ€์ƒ‰์–ด๊ฐ€ ์ ์šฉ๋ ๊ฑฐ ๊ฐ™์Šต๋‹ˆ๋‹ค.
+
๊ฒ€์ƒ‰์–ด์— ํ•œ ๋ฒˆ ๋ฌธ์ž๋ฅผ ๋„ฃ์„ ๋•Œ๋งˆ๋‹ค supabase ์— ์š”์ฒญ์„ ๋ณด๋‚ด๋Š”๊ฑฐ ์•„๋‹Œ๊ฐ€์š”? ์ด ์ฝ”๋“œ๋Š” ๊ผญ ์ˆ˜์ •์ด ํ•„์š”ํ•ด๋ณด์ž…๋‹ˆ๋‹ค. React Query ๋ฅผ ์“ฐ๋˜์ง€, project ์™€ team ๋ฐ์ดํ„ฐ๋ฅผ ํ•œ ๋ฒˆ ๋ฐ›์•„์˜จ ๋’ค ๋ฐ›์•„์˜จ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ง€๊ณ  filter ํ•˜๋Š” ๋ฐฉ์‹์œผ๋กœ ๋ฆฌํŒฉํ† ๋ง ํ•˜๋Š” ๊ฒƒ์ด ์ข‹์„ ๊ฑฐ ๊ฐ™์Šต๋‹ˆ๋‹ค.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

38๋ฒˆ์ค„์— console.log(data) ๋ฅผ ์‚ญ์ œํ•ด์ฃผ์…จ์œผ๋ฉด ์ข‹๊ฒ ์Šต๋‹ˆ๋‹น

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants