Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💄 feat: スタンプを押した人と数の表示を変更 #4320

Merged
merged 15 commits into from
Jun 29, 2024

Conversation

reiroop
Copy link
Contributor

@reiroop reiroop commented Jun 19, 2024

No description provided.

Copy link

Copy link
Contributor Author

@reiroop reiroop left a comment

Choose a reason for hiding this comment

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

区切り文字は他のでもいいかも

@reiroop reiroop changed the title 💄 feat: ユーザーが押したスタンプ数が1のときにスタンプ数の表記をなくし、それに伴い区切り文字を追加 💄 feat: スタンプを押した人と数の表示を変更 Jun 20, 2024
表示名で表示する際に名前の区切りがわかりづらくなるため、区切り文字として / を追加。表示名と見分けがつくように `@include color-ui-secondary-inactive` を適用。
StampDetailElementContent全体をflexにすることでスペースがなくなっていたのに対応した
区切り文字のスペースが少し大きかったため、を通常のスペースから少し狭いスペースに変更した。
またこれに伴い、StampDetailElement.vueでスペースを挿入していたのを削除した。
…lementに移動

スペース関連の定義を一つのファイルにまとめることで可読性を向上させることを目的とする。
@reiroop reiroop marked this pull request as draft June 20, 2024 06:34
paddingを用いることでクリック可能な領域が広がります。
anninさんのアドバイスにより変更
@reiroop reiroop marked this pull request as ready for review June 24, 2024 04:45
Copy link

codecov bot commented Jun 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.36%. Comparing base (2075787) to head (55b5da2).
Report is 122 commits behind head on master.

Current head 55b5da2 differs from pull request most recent head 3101a06

Please upload reports for the commit 3101a06 to get more accurate results.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4320   +/-   ##
=======================================
  Coverage   86.36%   86.36%           
=======================================
  Files          66       66           
  Lines        4722     4724    +2     
  Branches      565      566    +1     
=======================================
+ Hits         4078     4080    +2     
  Misses        638      638           
  Partials        6        6           

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

@reiroop reiroop requested a review from nokhnaton June 24, 2024 04:56
Copy link
Contributor

@nokhnaton nokhnaton left a comment

Choose a reason for hiding this comment

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

PR感謝です!
めっちゃいい感じになってると思います。
実装で一点だけ気になったところをコメントしたので確認お願いします。
それ以外は問題ないと思います:pro:

#4320 (comment) を参考に、src/lib/messageStampList.ts に StampRecordPerUser インターフェースの定義を作成し、src/components/Main/MainView/MessageElement/StampDetailElement.vue を修正した。
@reiroop reiroop requested a review from nokhnaton June 28, 2024 14:00
@reiroop reiroop requested a review from nokhnaton June 29, 2024 10:09
Copy link
Contributor

@nokhnaton nokhnaton left a comment

Choose a reason for hiding this comment

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

良さそう

@reiroop reiroop merged commit 395fc65 into master Jun 29, 2024
9 checks passed
@reiroop reiroop deleted the feat/hide_user_stamp_count_if_1 branch June 29, 2024 23:04
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つしかついていないときは「(1)」を省略して欲しい
2 participants