Skip to content

댓글·답글 입력 버튼을 Figma 디자인에 맞춤 - #50

Merged
Roy-wonji merged 1 commit into
developfrom
feature/class-remaining-figma-parity-20261017
Oct 17, 2026
Merged

Roy-wonji merged 1 commit into
developfrom
feature/class-remaining-figma-parity-20261017

Conversation

@Roy-wonji

Copy link
Copy Markdown
Contributor

빈 댓글·답글 입력에서도 Figma처럼 진한 갈색 전송 원형을 표시합니다. 기존 PickeCommentInputBar와 디자인 토큰을 재사용하며, 빈 입력은 계속 전송할 수 없고 제출 중에는 비활성 색상을 사용합니다. 버튼을 누를 때의 시각적 피드백도 유지합니다.

검증: iPhone 18 Pro 시뮬레이터 캡처 테스트 1건, 댓글·답글 상호작용 테스트 2건 통과. Figma 댓글·답글 원본 캡처와 전송 버튼을 대조했고 Claude 코드 점검에서 결함이 보고되지 않았습니다.

빈 입력에서도 댓글과 답글의 전송 버튼 배경을 디자인 토큰의 기본 갈색으로 표시한다. 제출 중에는 비활성 토큰을 사용하고 눌림 피드백을 유지한다.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-17T13:45:05.612580Z 0223330 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

전반적으로 PR은 Figma 디자인 요구사항과 기존 아키텍처, 코딩 컨벤션을 잘 준수하고 있습니다. isSubmitting 상태를 PickeCommentInputBar에 추가하여 제출 중인 상태의 시각적 피드백을 구현한 점과, CompactSendButtonStyle을 통해 버튼 눌림 시의 투명도 변화를 캡슐화한 점이 좋습니다. 코드 품질, SwiftUI 및 TCA 컨벤션, 모듈 아키텍처 측면에서 특별한 문제가 발견되지 않았습니다.

@Roy-wonji
Roy-wonji merged commit 5a61f76 into develop Oct 17, 2026
5 checks passed
@Roy-wonji
Roy-wonji deleted the feature/class-remaining-figma-parity-20261017 branch October 17, 2026 13:43

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 02233303f2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

private struct CompactSendButtonStyle: ButtonStyle {
func makeBody(configuration: Configuration) -> some View {
configuration.label
.opacity(configuration.isPressed ? 0.7 : 1)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Replace opacity with the pressed-state token

When the user holds the compact send button, this style fades the entire label—including its icon and background—rather than rendering the designated pressed background. That produces a translucent, off-spec state and directly violates the repository requirement that pressed feedback use the component's Background.pressed token instead of opacity; add/use the appropriate icon-button pressed token here.

AGENTS.md reference: AGENTS.md:L958-L958

Useful? React with 👍 / 👎.

.frame(width: 40, height: 40)
.background(
isSendEnabled ? .buttonIconBackgroundDefault : .buttonIconBackgroundDisabled,
isSubmitting ? .buttonIconBackgroundDisabled : .buttonIconBackgroundDefault,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Propagate submission state from the reply composer

While a reply create/update request is in flight, CommentReplyFeature immediately clears replyText, making the button disabled, but CommentReplyView does not pass this new flag and therefore retains the default isSubmitting == false. This branch consequently paints the disabled reply button with the dark default background for the whole request, whereas the comment composer receives the intended disabled submission color; track and pass the reply submission state as well.

Useful? React with 👍 / 👎.

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.

1 participant