Skip to content

Conversation

@queue113
Copy link

close: #4143

めぼしいアイコンを触ってもキチンと動きました。

@github-actions
Copy link

@queue113 queue113 self-assigned this Aug 10, 2025
@codecov
Copy link

codecov bot commented Aug 10, 2025

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 11.91%. Comparing base (3f8fb9c) to head (375d732).
⚠️ Report is 83 commits behind head on master.

Files with missing lines Patch % Lines
src/components/Modal/UserModal/UserModal.vue 0.00% 1 Missing ⚠️
src/components/UI/UserIcon.vue 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4748      +/-   ##
==========================================
+ Coverage   11.89%   11.91%   +0.01%     
==========================================
  Files         695      695              
  Lines       31218    31174      -44     
  Branches      616      616              
==========================================
  Hits         3714     3714              
+ Misses      27492    27448      -44     
  Partials       12       12              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@Takeno-hito Takeno-hito left a comment

Choose a reason for hiding this comment

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

モーダル開いてるときにアイコンにカーソル合わせると、クリックできそうなカーソルに変わっちゃってそう

@Takeno-hito Takeno-hito self-requested a review August 24, 2025 06:23
@cp-20 cp-20 changed the title Fix user modal UserModal のはみ出ているアイコン部分をクリックしてもモーダルが閉じないように Oct 24, 2025
indicatorSize: 10,
preventModal: false,
hasNotification: false,
isInactive: false
Copy link
Contributor

Choose a reason for hiding this comment

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

ask

isInactive のデフォルト値が消えているのはどうしてですか?

backgroundImage: userIconFileId.value
? `url(${buildUserIconPath(userIconFileId.value)})`
: undefined,
pointerEvents: props.preventModal ? ('none' as const) : undefined
Copy link
Contributor

Choose a reason for hiding this comment

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

ask

ここの分岐を取り除く代わりに以下の部分で role を用いた判定に変更しているのはどうしてですか?

https://github.com/traPtitech/traQ_S-UI/pull/4748/files#diff-4485eaaa605dc00a1edbf840841640a00c5ce1b405a26b25280374eea8b173f3R115-R119

v-if="!isMobile"
:user-id="id"
prevent-modal
:prevent-modal="false"
Copy link
Contributor

Choose a reason for hiding this comment

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

suggest

prevent-modal のデフォルト値は false なので、この行を取り除くだけでよいと思います.

Suggested change
:prevent-modal="false"

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

Labels

None yet

Projects

None yet

5 participants