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

絵文字重複チェック #11941

Merged
merged 5 commits into from
Oct 6, 2023
Merged

Conversation

nenohi
Copy link
Contributor

@nenohi nenohi commented Sep 30, 2023

What

絵文字の追加・アップデートにて名前の重複をチェックするように(#11834)

Why

重複チェックが無いため、同じ絵文字を追加してしまう場合が発生する
インポート時は未チェックの為TODOかも

Additional info (optional)

ローカルにてテスト済み

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • (If needed) Add story of storybook
  • (If needed) Update CHANGELOG.md
  • (If possible) Add tests

@github-actions github-actions bot added the packages/backend Server side specific issue/PR label Sep 30, 2023
@codecov
Copy link

codecov bot commented Sep 30, 2023

Codecov Report

Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (6840434) 79.00% compared to head (1692c18) 79.34%.
Report is 38 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #11941      +/-   ##
===========================================
+ Coverage    79.00%   79.34%   +0.33%     
===========================================
  Files          928      928              
  Lines        99089    99306     +217     
  Branches      7913     8065     +152     
===========================================
+ Hits         78289    78794     +505     
+ Misses       20800    20512     -288     
Files Coverage Δ
...ackend/src/server/api/endpoints/admin/emoji/add.ts 78.88% <71.42%> (-0.63%) ⬇️
packages/backend/src/core/CustomEmojiService.ts 31.77% <64.28%> (+1.16%) ⬆️
...end/src/server/api/endpoints/admin/emoji/update.ts 72.72% <0.00%> (-7.28%) ⬇️

... and 67 files with indirect coverage changes

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

@nenohi
Copy link
Contributor Author

nenohi commented Oct 6, 2023

🙏🙏🙏

@syuilo syuilo merged commit 11e657b into misskey-dev:develop Oct 6, 2023
@syuilo
Copy link
Member

syuilo commented Oct 6, 2023

🙏🏻

kanarikanaru pushed a commit to kanarikanaru/misskey that referenced this pull request Oct 12, 2023
* 絵文字重複チェック

* アップデート時のチェック

* Update packages/backend/src/core/CustomEmojiService.ts

Co-authored-by: syuilo <[email protected]>

* Update packages/backend/src/server/api/endpoints/admin/emoji/add.ts

Co-authored-by: syuilo <[email protected]>

* Update packages/backend/src/server/api/endpoints/admin/emoji/update.ts

Co-authored-by: syuilo <[email protected]>

---------

Co-authored-by: syuilo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages/backend Server side specific issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants