-
Notifications
You must be signed in to change notification settings - Fork 0
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/event modal #82
Feat/event modal #82
Conversation
This reverts commit 2bfc9a9.
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.
あ、あとPRの説明文にclose https://github.com/traPtitech/traPortfolio-Dashboard/issues/52
とかって書くとissueを紐付けられるので、お願いしますー(PRをマージしたときに自動でissueもclose されるようになります)
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.
大体よさそうなのですが、細かいところ指摘しました
確認お願いします:pray:
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.
1箇所だけ:pray:
次回からでいいのですが、PRの説明文はPRの概要とか相談したい点とかを書く場所にしたいので、レビューのたびに修正内容とかを追加する必要はないです
修正内容はcommit messageに書いてもらってるので、そこで分かります:+1:
あと、しゅーまいさんが出してくれた修正とconflictしてる箇所があるのですが、大変そうなのであとで確認します
できそうなら直してもらいますが、難しそうなら僕が直しちゃうかもです
@click="emit('update-public-status', level)" | ||
> | ||
<p :class="$style.statusName">{{ detail.label }}</p> | ||
<p :class="$style.description" style=""> |
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.
あ、消し忘れてたので消します。 |
conflictはデータ構造変わったのでコンポーネントで使う型とかももしかしたら変えないといけないかもで、帰るまでちゃんと見れないので夕方までには結論出します:pray: |
と動くと思います |
↑らしいのですができそうですか?難しそうならさっきの |
やってみます |
やってみました |
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.
大体よさそうですがちょっとだけ:pray:
|
||
<template> | ||
<div :class="$style.eventLevelMenu"> | ||
<div v-for="[key, value] in Object.entries(eventLevels)" :key="key"> |
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.
defineProps<Props>() | ||
|
||
const emit = defineEmits<{ | ||
(e: 'update-public-status', value: EventLevelValue): void |
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.
ありがとうございます!
lintのエラー出てるのだけ直してもらえればマージしてOKです
これって自分でマージしちゃっていいんですか? |
OKです! |
close #52
./src/components/Events/EventModal.vue
の中に作ってます。propsでopenStatus
を受け取ってupdate-public-status
を引数付きで発火します。コミットの3,4つ目は間違えたやつです
いったんenumのままにしてます
11/2 23:30
一個だけ直すので数時間お待ちください、、、
↑おわりました!
(11/10, 2:27)
レビューの点の修正 + gap, paddingもremにしました
不要なCSSを消しました
PropsでEventLevelとしてeventLevelを受け取ってupdate-public-statusを引数EventLevel付きで発火します