Skip to content

[fix] bid form 사이징 오류 수정#486

Merged
dolmeengii merged 1 commit into
Kernel360:developfrom
geumyoung00:fix/bid-form-#481
Aug 5, 2025
Merged

[fix] bid form 사이징 오류 수정#486
dolmeengii merged 1 commit into
Kernel360:developfrom
geumyoung00:fix/bid-form-#481

Conversation

@geumyoung00
Copy link
Copy Markdown
Collaborator

@geumyoung00 geumyoung00 commented Aug 5, 2025

🚀 풀 리퀘스트 제안

closes #481

📋 작업 내용

  • bid-from transition 높이 수정
  • bid-form input 너비값 수정
  • bid-table bidder-avatar default 스타일 수정

🔧 변경 사항

  • 📃 README.md
  • 📦 package.json
  • 🔥 파일 삭제
  • 🧹 그 외 ex) .gitignore 등

주요 변경 사항을 요약해 주세요.

📸 스크린샷 (선택 사항)

수정된 화면 또는 기능을 시연할 수 있는 스크린샷을 첨부해 주세요.

📄 기타

추가적으로 전달하고 싶은 내용이나 특별한 요구 사항이 있으면 작성해 주세요.

Sourcery 요약

입찰 양식 및 입찰 테이블 컴포넌트의 크기 및 스타일 불일치 수정

버그 수정:

  • 콘텐츠를 수용하기 위해 입찰 양식 전환의 max-height를 늘리고, 입력 필드 너비를 컨테이너를 채우도록 변경

개선 사항:

  • 정확한 렌더링을 위해 입찰 테이블 구분자 표시기 높이 조정
  • 시각적 일관성을 위해 입찰자 아바타 및 입찰 테이블 행에 기본 테두리 스타일 추가
Original summary in English

Summary by Sourcery

Fix sizing and styling inconsistencies in bid form and bid table components

Bug Fixes:

  • Increase bid form transition max-height to accommodate content and change input width to fill container

Enhancements:

  • Adjust bid table divider indicator height for accurate rendering
  • Add default border styling to bidder avatars and bid table rows for visual consistency

@geumyoung00 geumyoung00 requested a review from dolmeengii August 5, 2025 12:17
@geumyoung00 geumyoung00 self-assigned this Aug 5, 2025
@geumyoung00 geumyoung00 added the 🐛 Bug 일반적인 버그 수정 작업 (치명적 이슈는 🔥 Hotfix 사용 가능) label Aug 5, 2025
@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Aug 5, 2025

검토자 가이드

입찰 양식 전환 높이 및 반응형 입력 필드 크기를 조정하고, 라벨 정렬을 개선하며, 입찰자 아바타와 테이블 행의 테두리를 표준화하고 테이블 타임라인 표시기 높이를 조절합니다.

파일 수준 변경 사항

변경 사항 세부 정보 파일
입찰 양식 크기, 입력 반응성, 라벨 정렬 개선
  • 전환 최대 높이 150px에서 160px로 업데이트
  • 가격 라벨에 flex 정렬 추가
  • 입력 필드 너비 클래스를 고정 270px에서 전체 너비로 변경
  • 일관성을 위해 입력 컨테이너 클래스를 cn으로 래핑
apps/web/src/components/auction-detail/bid-form/input.tsx
입찰 테이블 타임라인 표시기 높이 조정
  • 수직선 표시기 높이를 9/10에서 8/10으로 조절
apps/web/src/components/auction-detail/bid-table/bid-table.tsx
입찰자 아바타에 기본 테두리 스타일 추가
  • 아바타 className에 정적 border-1 border-primary-100 접두사 추가
apps/web/src/components/auction-detail/bid-table/bidder-avatar.tsx
작성자가 아닌 입찰 행에 테두리 도입
  • 일관성을 위해 행 래퍼에 border-1 border-primary-100 추가
apps/web/src/components/auction-detail/bid-table/row.tsx

연결된 이슈에 대한 평가

이슈 목표 해결 여부 설명
#481 Improve the item detail input form (아이템 상세 input form 개선).

관련 가능성이 있는 이슈

  • [fix] 아이템 상세 input form 개선 #481: 이 PR은 입찰 양식 크기 및 입찰 테이블 스타일을 수정하여, 해당 이슈에서 언급된 경매 상세 페이지의 UI 개선 사항을 직접적으로 해결합니다.

팁 및 명령어

Sourcery와 상호작용하기

  • 새로운 검토 트리거: 풀 리퀘스트에 @sourcery-ai review라고 댓글을 남기세요.
  • 논의 계속하기: Sourcery의 검토 댓글에 직접 답글을 달아주세요.
  • 검토 댓글에서 GitHub 이슈 생성: Sourcery에 검토 댓글에 답글을 달아 이슈를 생성하도록 요청하세요. 또는 검토 댓글에 @sourcery-ai issue라고 답글을 달아 이슈를 생성할 수도 있습니다.
  • 풀 리퀘스트 제목 생성: 풀 리퀘스트 제목 아무 곳에나 @sourcery-ai를 작성하여 언제든지 제목을 생성하세요. 또는 풀 리퀘스트에 @sourcery-ai title이라고 댓글을 남겨 언제든지 제목을 (재)생성할 수 있습니다.
  • 풀 리퀘스트 요약 생성: 풀 리퀘스트 본문 아무 곳에나 @sourcery-ai summary를 작성하여 원하는 위치에 언제든지 PR 요약을 생성하세요. 또는 풀 리퀘스트에 @sourcery-ai summary라고 댓글을 남겨 언제든지 요약을 (재)생성할 수 있습니다.
  • 검토자 가이드 생성: 풀 리퀘스트에 @sourcery-ai guide라고 댓글을 남겨 언제든지 검토자 가이드를 (재)생성할 수 있습니다.
  • 모든 Sourcery 댓글 해결: 풀 리퀘스트에 @sourcery-ai resolve라고 댓글을 남겨 모든 Sourcery 댓글을 해결하세요. 모든 댓글을 이미 처리하여 더 이상 보고 싶지 않을 때 유용합니다.
  • 모든 Sourcery 검토 해제: 풀 리퀘스트에 @sourcery-ai dismiss라고 댓글을 남겨 기존의 모든 Sourcery 검토를 해제하세요. 새로운 검토를 처음부터 시작하고 싶을 때 특히 유용합니다 - 새로운 검토를 트리거하려면 @sourcery-ai review라고 댓글을 남기는 것을 잊지 마세요!

경험 사용자 지정

대시보드에 접속하여 다음을 수행하세요:

  • Sourcery가 생성한 풀 리퀘스트 요약, 검토자 가이드 등의 검토 기능을 활성화 또는 비활성화하세요.
  • 검토 언어를 변경하세요.
  • 사용자 지정 검토 지침을 추가, 제거 또는 편집하세요.
  • 기타 검토 설정을 조정하세요.

도움 받기

Original review guide in English

Reviewer's Guide

Adjusts bid form transition height and responsive input sizing, refines label alignment, and standardizes borders in bidder avatars and table rows while tweaking the table’s timeline indicator height.

File-Level Changes

Change Details Files
Refined bid form sizing, input responsiveness, and label alignment
  • updated transition max-height from 150px to 160px
  • added flex alignment to the price label
  • changed input width class from fixed 270px to full width
  • wrapped the input container classes with cn for consistency
apps/web/src/components/auction-detail/bid-form/input.tsx
Adjusted bid table timeline indicator height
  • tweaked the vertical line indicator height from 9/10 to 8/10
apps/web/src/components/auction-detail/bid-table/bid-table.tsx
Added default border styling to bidder avatars
  • prefixed avatar className with a static border-1 border-primary-100
apps/web/src/components/auction-detail/bid-table/bidder-avatar.tsx
Introduced border to non-author bid rows
  • added border-1 border-primary-100 to the row wrapper for consistency
apps/web/src/components/auction-detail/bid-table/row.tsx

Assessment against linked issues

Issue Objective Addressed Explanation
#481 Improve the item detail input form (아이템 상세 input form 개선).

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

안녕하세요 @geumyoung00님 - 변경 사항을 검토했습니다. 피드백입니다:

  • BidFormInput에서 정적 클래스 문자열 주위에 있는 중복된 cn() 래퍼를 제거하는 것을 고려해 보세요. 조건부 로직이 없을 때는 일반 className을 사용하는 것이 더 간단합니다.
  • BidderAvatar와 BidTableRow 모두에서 border-1 border-primary-100을 중복해서 사용하셨습니다. 스타일 일관성을 유지하기 위해 공유 유틸리티 또는 상수로 추출하세요.
  • border-1이 Tailwind 설정에 정의되어 있는지 확인하세요 (기본 1px 유틸리티는 단순히 border입니다). 그렇지 않으면 런타임에 스타일이 누락될 수 있습니다.
AI 에이전트용 프롬프트
Please address the comments from this code review:
## Overall Comments
- Consider removing the redundant cn() wrapper around a static class string in BidFormInput—using a plain className is simpler when there’s no conditional logic.
- You’ve duplicated `border-1 border-primary-100` in both BidderAvatar and BidTableRow—extract that into a shared utility or constant to keep the style consistent.
- Verify that `border-1` is defined in your Tailwind config (the default 1px utility is just `border`), otherwise you might end up with missing styles at runtime.

## Individual Comments

### Comment 1
<location> `apps/web/src/components/auction-detail/bid-table/row.tsx:39` </location>
<code_context>
       <div
         className={cn(
-          'ml-3 flex w-full rounded-sm bg-white py-2.5 text-sm text-neutral-600 opacity-90',
+          'border-1 border-primary-100 ml-3 flex w-full rounded-sm bg-white py-2.5 text-sm text-neutral-600 opacity-90',
           isAuthor &&
             'border-1 border-primary-500 text-primary-600 shadow-primary-300 font-bold opacity-100 shadow-sm'
</code_context>

<issue_to_address>
Adding a border to all rows may conflict with conditional author styling.

Check that CSS specificity prevents double borders or color conflicts when both base and author row styles are applied.
</issue_to_address>

Sourcery는 오픈 소스에 무료입니다 - 저희 리뷰가 마음에 드신다면 공유를 고려해 주세요 ✨
제가 더 유용해질 수 있도록 도와주세요! 각 댓글에 👍 또는 👎를 클릭해 주시면 피드백을 사용하여 리뷰를 개선하겠습니다.
Original comment in English

Hey @geumyoung00 - I've reviewed your changes - here's some feedback:

  • Consider removing the redundant cn() wrapper around a static class string in BidFormInput—using a plain className is simpler when there’s no conditional logic.
  • You’ve duplicated border-1 border-primary-100 in both BidderAvatar and BidTableRow—extract that into a shared utility or constant to keep the style consistent.
  • Verify that border-1 is defined in your Tailwind config (the default 1px utility is just border), otherwise you might end up with missing styles at runtime.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Consider removing the redundant cn() wrapper around a static class string in BidFormInput—using a plain className is simpler when there’s no conditional logic.
- You’ve duplicated `border-1 border-primary-100` in both BidderAvatar and BidTableRow—extract that into a shared utility or constant to keep the style consistent.
- Verify that `border-1` is defined in your Tailwind config (the default 1px utility is just `border`), otherwise you might end up with missing styles at runtime.

## Individual Comments

### Comment 1
<location> `apps/web/src/components/auction-detail/bid-table/row.tsx:39` </location>
<code_context>
       <div
         className={cn(
-          'ml-3 flex w-full rounded-sm bg-white py-2.5 text-sm text-neutral-600 opacity-90',
+          'border-1 border-primary-100 ml-3 flex w-full rounded-sm bg-white py-2.5 text-sm text-neutral-600 opacity-90',
           isAuthor &&
             'border-1 border-primary-500 text-primary-600 shadow-primary-300 font-bold opacity-100 shadow-sm'
</code_context>

<issue_to_address>
Adding a border to all rows may conflict with conditional author styling.

Check that CSS specificity prevents double borders or color conflicts when both base and author row styles are applied.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread apps/web/src/components/auction-detail/bid-table/row.tsx
@dolmeengii dolmeengii merged commit 6c41691 into Kernel360:develop Aug 5, 2025
2 checks passed
@geumyoung00 geumyoung00 deleted the fix/bid-form-#481 branch August 5, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 Bug 일반적인 버그 수정 작업 (치명적 이슈는 🔥 Hotfix 사용 가능)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fix] 아이템 상세 input form 개선

2 participants