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

#625 create quest completion system #647

Merged
merged 16 commits into from
Sep 19, 2023

Conversation

predict-woo
Copy link
Member

Summary

It closes #625

@predict-woo predict-woo linked an issue Sep 18, 2023 that may be closed by this pull request
@netlify
Copy link

netlify bot commented Sep 18, 2023

Deploy Preview for taxi-dev-preview ready!

Name Link
🔨 Latest commit db18524
🔍 Latest deploy log https://app.netlify.com/sites/taxi-dev-preview/deploys/6509ab95d562e90008017d55
😎 Deploy Preview https://deploy-preview-647--taxi-dev-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@predict-woo predict-woo marked this pull request as ready for review September 18, 2023 18:08
@14KGun 14KGun added the event label Sep 18, 2023
src/components/Event/EventProvider/index.tsx Outdated Show resolved Hide resolved
src/components/Event/EventProvider/index.tsx Outdated Show resolved Hide resolved
src/hooks/event/useEvent2023FallQuestComplete.ts Outdated Show resolved Hide resolved
src/hooks/event/useEvent2023FallQuestComplete.ts Outdated Show resolved Hide resolved
src/hooks/event/useEvent2023FallQuestComplete.ts Outdated Show resolved Hide resolved
src/components/ModalPopup/ModalMypageModify.tsx Outdated Show resolved Hide resolved
src/components/ModalPopup/ModalMypageModify.tsx Outdated Show resolved Hide resolved
src/types/notification.ts Outdated Show resolved Hide resolved
Co-authored-by: Geon Kim <geon6757@kaist.ac.kr>
@14KGun 14KGun marked this pull request as draft September 19, 2023 06:40
@14KGun 14KGun marked this pull request as ready for review September 19, 2023 13:25
@@ -174,6 +178,7 @@ const ModalMypageModify = ({
method: "post",
data: { nickname },
onError: () => setAlert(t("page_modify.nickname_failed")),
onSuccess: () => event2023FallQuestComplete("nicknameChanging"), // event2023Fall
Copy link
Member

Choose a reason for hiding this comment

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

이거 주석 //#region Event2023Fall 사용해주세요

@@ -183,6 +188,7 @@ const ModalMypageModify = ({
method: "post",
data: { account },
onError: () => setAlert(t("page_modify.account_failed")),
onSuccess: () => event2023FallQuestComplete("accountChanging"), // event2023Fall
Copy link
Member

Choose a reason for hiding this comment

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

동일합니다

//#region Event2023Fall
const onChangeIsOpenWithEvent2023Fall = (isOpen: boolean) => {
onChangeIsOpen?.(isOpen);
event2023FallQuestComplete("roomSharing");
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
event2023FallQuestComplete("roomSharing");
if (!isOpen) event2023FallQuestComplete("roomSharing");

@@ -39,6 +40,7 @@ const ModalChatSettlement = ({
const isValidAccount = useMemo(() => regExpTest.account(account), [account]);
const isRequesting = useRef<boolean>(false);
const sendMessage = useSendMessage(roomInfo._id, isRequesting);
const event2023FallQuestComplete = useEvent2023FallQuestComplete();
Copy link
Member

Choose a reason for hiding this comment

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

주석 !

onSuccess: () => fetchLoginInfo(),
onSuccess: () => {
//#region event2023Fall
event2023FallQuestComplete("accountChanging");
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
event2023FallQuestComplete("accountChanging");
if (account !== "") event2023FallQuestComplete("accountChanging");

Copy link
Member

@14KGun 14KGun left a comment

Choose a reason for hiding this comment

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

수고하셨습니다 ~~ 👍 👍

@predict-woo predict-woo merged commit d9cfdfa into dev Sep 19, 2023
@predict-woo predict-woo deleted the #625-create-quest-completion-system branch September 19, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

퀘스트 완료 시스템 제작
2 participants