-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
enhance(frontend): 投稿フォームの設定メニューを改良 #14804
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #14804 +/- ##
============================================
- Coverage 42.16% 14.70% -27.47%
============================================
Files 1609 772 -837
Lines 162358 68907 -93451
Branches 3906 1238 -2668
============================================
- Hits 68459 10132 -58327
+ Misses 93451 58354 -35097
+ Partials 448 421 -27 ☔ View full report in Codecov by Sentry. |
コンフリクト解消 |
コンフリクト解消 |
コンフリクト解消 |
コンフリクト解消 |
コンフリクト解消 |
コンフリクト解消 |
👀 |
スマホ画面とかでどのような表示になるかスクショあると嬉しいわね |
これ、MenuItemの定義自体もMkPostForm側に寄せたほうがいいかもしれないわね |
done |
コンフリクト解消 |
CHANGELOG移動した |
コンフリクト解消 |
- 입력한 내용을 초기화할 수 있음 - 입력한 글자 수를 표시함
const modal = useTemplateRef('modal'); | ||
|
||
const props = defineProps<{ | ||
items: MenuItem[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
投稿フォームで使われることが確定しているのにitemsを受け入れる実装なのはどういう意図かしら
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
呼び出し元のコンテキストで関数を実行できるため(機能を増やすたびにemitを追加したりする必要がない)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ふぅ~む
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
あとはなにか追加するときに通常のpopupMenuと同じ書き方で対応できるので後々楽
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
あ、もとのemitの残骸が残ってるのでそれは除去しなくては
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
した
コンフリクト解消 |
What
Why
Fix #14794
Fix #10785
Additional info (optional)
Checklist