Skip to content

feat: 알림 및 GoogleOAuth2 편집에 대한 어드민 페이지 추가#54

Merged
MU-Software merged 7 commits intomainfrom
feature/add-notification-admin
May 11, 2026
Merged

feat: 알림 및 GoogleOAuth2 편집에 대한 어드민 페이지 추가#54
MU-Software merged 7 commits intomainfrom
feature/add-notification-admin

Conversation

@MU-Software
Copy link
Copy Markdown
Member

주요 변경 사항

  • NHNCloud 카카오 알림톡 / NHNCloud SMS / 이메일 전송에 대한 관리자 페이지 추가
  • GoogleOAuth2 토큰 관리자 페이지 추가

추가 사항

  • 템플릿 페이지가 미완성인데, 이건 다음 PR에서 올리겠습니다... 지금만 해도 분량이 적지 않은.......

@MU-Software MU-Software changed the title fix: 알림 및 GoogleOAuth2 편집에 대한 어드민 페이지 추가 feat: 알림 및 GoogleOAuth2 편집에 대한 어드민 페이지 추가 May 9, 2026
Comment on lines 26 to +33
mutationCache: new MutationCache({
onSuccess: () => {
queryClient.invalidateQueries({ predicate: () => true });
queryClient.resetQueries({ predicate: () => true });
onSuccess: (_data, _variables, _context, mutation) => {
queryClient.invalidateQueries({
predicate: (query) => mutation.meta?.invalidates?.some((queryKey) => matchQuery({ queryKey }, query)) ?? true,
});
queryClient.resetQueries({
predicate: (query) => mutation.meta?.invalidates?.some((queryKey) => matchQuery({ queryKey }, query)) ?? true,
});
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

MutationCache라는 것도 있군요... 처음 알았네요
그러면 요 로직은 해당 pyconkr-admin app에서 사용하는 모든 queryClient의 mutation을 공통으로 정의하는 로직일까요? 신기해서 여쭤봅니다!

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

네넹, 아주 정확하십니다! pyconkr-admin app 내 queryClient의 기본 동작으로 봐주시면 되어요.
다른 앱에서는 이렇게 정의되어 있는데, 아마 2025년에 작업하면서 여러 버그로 임시로 저렇게 해뒀을거에요.
지금은 해당 버그들이 해소되어 있어서 이렇게 해도 될 것 같슴다ㅎㅎ

Copy link
Copy Markdown
Contributor

@earthyoung earthyoung left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!
요거는 보면서 궁금했던 점인데요. apps/pyconkr-admin/src/components/pages/notification/editor.tsx 파일에서의 editor는 템플릿 에디터가 아닌 알림톡을 직접 보내고 실패 시 재시도하는 화면이 맞을까요?

@MU-Software
Copy link
Copy Markdown
Member Author

apps/pyconkr-admin/src/components/pages/notification/editor.tsx 파일에서의 editor는 템플릿 에디터가 아닌 알림톡을 직접 보내고 실패 시 재시도하는 화면이 맞을까요?

넹 맞슴다, 정확히는 이미 보낸 알림톡/문자/이메일에 대해 결과를 확인하고, 실패한 전송에 대해 재전송을 하는 페이지라고 봐주시면 돼요!
다만 네이밍이 알아보기 어려우므로, 네이밍을 수정하는 것이 낫겠네요ㅎㅎ c65a830에서 리네이밍했습니다!

@MU-Software MU-Software merged commit afc8ead into main May 11, 2026
@MU-Software MU-Software deleted the feature/add-notification-admin branch May 11, 2026 06:33
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.

2 participants