From a024b4f275e8fa5262206bab10c7e4d0d5023af1 Mon Sep 17 00:00:00 2001 From: chyo1 Date: Mon, 8 Jul 2024 14:25:52 +0900 Subject: [PATCH 01/20] =?UTF-8?q?[BE]=20HOTFIX=20:=20=EC=97=B0=EC=9E=A5?= =?UTF-8?q?=EA=B6=8C=20=EB=B0=9C=EA=B8=89=20=EC=8B=9C=20used=5Fat=EC=9D=84?= =?UTF-8?q?=20=EA=B5=AC=EB=A7=A4=EC=8B=9C=EA=B0=81=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=A7=80=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/ftclub/cabinet/item/service/ItemFacadeService.java | 4 ++-- .../cabinet/item/service/ItemHistoryCommandService.java | 2 +- .../org/ftclub/cabinet/user/service/LentExtensionManager.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/main/java/org/ftclub/cabinet/item/service/ItemFacadeService.java b/backend/src/main/java/org/ftclub/cabinet/item/service/ItemFacadeService.java index 5e6f21437..d5ab4c859 100644 --- a/backend/src/main/java/org/ftclub/cabinet/item/service/ItemFacadeService.java +++ b/backend/src/main/java/org/ftclub/cabinet/item/service/ItemFacadeService.java @@ -192,7 +192,7 @@ public CoinCollectionRewardResponseDto collectCoinAndIssueReward(Long userId) { // DB에 코인 저장 Item coinCollect = itemQueryService.getBySku(Sku.COIN_COLLECT); int reward = (int) (coinCollect.getPrice().longValue()); - itemHistoryCommandService.createCoinCollectItemHistory(userId, coinCollect.getId()); + itemHistoryCommandService.createCoinItemHistory(userId, coinCollect.getId()); // 출석 일자에 따른 랜덤 리워드 지급 Long coinCollectionCountInMonth = @@ -203,7 +203,7 @@ public CoinCollectionRewardResponseDto collectCoinAndIssueReward(Long userId) { Sku coinSku = itemPolicyService.getRewardSku(randomPercentage); Item coinReward = itemQueryService.getBySku(coinSku); - itemHistoryCommandService.createCoinCollectItemHistory(userId, coinReward.getId()); + itemHistoryCommandService.createCoinItemHistory(userId, coinReward.getId()); reward += coinReward.getPrice(); } diff --git a/backend/src/main/java/org/ftclub/cabinet/item/service/ItemHistoryCommandService.java b/backend/src/main/java/org/ftclub/cabinet/item/service/ItemHistoryCommandService.java index 700c3fa7f..2863043c4 100644 --- a/backend/src/main/java/org/ftclub/cabinet/item/service/ItemHistoryCommandService.java +++ b/backend/src/main/java/org/ftclub/cabinet/item/service/ItemHistoryCommandService.java @@ -29,7 +29,7 @@ public void createItemHistories(List userIds, Long itemId, LocalDateTime u itemHistoryRepository.saveAll(itemHistories); } - public void createCoinCollectItemHistory(Long userId, Long itemId) { + public void createCoinItemHistory(Long userId, Long itemId) { ItemHistory coinCollectItemHistory = ItemHistory.of(userId, itemId, LocalDateTime.now()); itemHistoryRepository.save(coinCollectItemHistory); } diff --git a/backend/src/main/java/org/ftclub/cabinet/user/service/LentExtensionManager.java b/backend/src/main/java/org/ftclub/cabinet/user/service/LentExtensionManager.java index 5e5fd27e1..cb569e574 100644 --- a/backend/src/main/java/org/ftclub/cabinet/user/service/LentExtensionManager.java +++ b/backend/src/main/java/org/ftclub/cabinet/user/service/LentExtensionManager.java @@ -46,7 +46,7 @@ public void issueLentExtension() { users.forEach(user -> { Long userId = user.getId(); user.addCoin(coinRewardItem.getPrice()); - itemHistoryCommandService.createItemHistory(userId, coinRewardItem.getId()); + itemHistoryCommandService.createCoinItemHistory(userId, coinRewardItem.getId()); }); } From 00f5145c302d84f6d51a31617b8e31d357883053 Mon Sep 17 00:00:00 2001 From: saewoo1 Date: Tue, 9 Jul 2024 14:38:52 +0900 Subject: [PATCH 02/20] =?UTF-8?q?FIX:=20=EC=9C=A0=EC=A0=80Entity=20?= =?UTF-8?q?=EB=82=B4=EC=9D=98=20=EC=BD=94=EC=9D=B8=20=EC=BB=AC=EB=9F=BC=20?= =?UTF-8?q?=EB=AA=85=EC=84=B8=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit hibernate 에서 정의 충돌로 인해 명세 제거 --- backend/src/main/java/org/ftclub/cabinet/user/domain/User.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/org/ftclub/cabinet/user/domain/User.java b/backend/src/main/java/org/ftclub/cabinet/user/domain/User.java index c571557f7..01edc1e72 100644 --- a/backend/src/main/java/org/ftclub/cabinet/user/domain/User.java +++ b/backend/src/main/java/org/ftclub/cabinet/user/domain/User.java @@ -62,7 +62,7 @@ public class User { private boolean pushAlarm; @NotNull - @Column(name = "COIN", columnDefinition = "bigint default 0") + @Column(name = "COIN") private Long coin; protected User(String name, String email, LocalDateTime blackholedAt) { From 4116707c1da1058da6b10b8f01150004afb4decf Mon Sep 17 00:00:00 2001 From: Woo Joo Chae Date: Tue, 9 Jul 2024 14:46:19 +0900 Subject: [PATCH 03/20] [BE] FIX: local config refresh --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index 17a625f08..4ba0fb6f5 160000 --- a/config +++ b/config @@ -1 +1 @@ -Subproject commit 17a625f087c040b00938e9369e12c0732fc4bb7b +Subproject commit 4ba0fb6f55e1d3fee4a8f9a6e07da0d9c38aa25c From 00f6dc502ef57d32d98239076782d130c09e0d00 Mon Sep 17 00:00:00 2001 From: jnkeniaem Date: Tue, 9 Jul 2024 15:54:38 +0900 Subject: [PATCH 04/20] =?UTF-8?q?[FE]=20DOCS:=20SlackAlarm.ts=EC=97=90=20?= =?UTF-8?q?=EC=9E=88=EB=8A=94=20=ED=85=9C=ED=94=8C=EB=A6=BF=20=EB=A9=94?= =?UTF-8?q?=EC=8B=9C=EC=A7=80=20white=20space=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/Cabinet/assets/data/SlackAlarm.ts | 208 +++++++++++------- 1 file changed, 126 insertions(+), 82 deletions(-) diff --git a/frontend/src/Cabinet/assets/data/SlackAlarm.ts b/frontend/src/Cabinet/assets/data/SlackAlarm.ts index c89bb73cf..4c43a825a 100644 --- a/frontend/src/Cabinet/assets/data/SlackAlarm.ts +++ b/frontend/src/Cabinet/assets/data/SlackAlarm.ts @@ -23,112 +23,156 @@ export const SlackAlarmTemplates: ISlackAlarmTemplate[] = [ { title: "점검 시작", content: `:alert::alert::alert::alert::alert::alert: - :happy_ccabi: 안녕하세요. Cabi 팀입니다! :happy_ccabi: - :sad_ccabi: 서비스 개선을 위해, 서버를 점검하게 되었습니다. :sad_ccabi: - :file_cabinet: 서비스 개선과 관련한 사항은 Cabi 채널 에서, :file_cabinet: - :hammer_and_wrench: 보관물 관련 사항은 *데스크에 직접 문의*해주세요! :hammer_and_wrench: - 점검 일자 : 2024년 04월 02일 (화요일) - 점검 시간 : 15시 10분 ~ 완료 공지 시점까지 +:happy_ccabi: 안녕하세요. Cabi 팀입니다! :happy_ccabi: +:sad_ccabi: 서비스 개선을 위해, 서버를 점검하게 되었습니다. :sad_ccabi: +:file_cabinet: 서비스 개선과 관련한 사항은 Cabi 채널 에서, :file_cabinet: +:hammer_and_wrench: 보관물 관련 사항은 *데스크에 직접 문의*해주세요! :hammer_and_wrench: - :party-dinosaur::party-dinosaur::party-dinosaur::party-dinosaur:잠시만 기다려주세요! :party-dinosaur::party-dinosaur::party-dinosaur::party-dinosaur:`, +점검 일자 : 2024년 04월 02일 (화요일) +점검 시간 : 15시 10분 ~ 완료 공지 시점까지 + +:party-dinosaur::party-dinosaur::party-dinosaur::party-dinosaur:잠시만 기다려주세요! :party-dinosaur::party-dinosaur::party-dinosaur::party-dinosaur:`, }, { title: "점검 완료", content: `:dancing_kirby::dancing_kirby::dancing_kirby::dancing_kirby::dancing_kirby::dancing_kirby: - 안녕하세요. Cabi 팀입니다! :happy_ccabi: - 현시간부로 서비스 이용이 정상화되었습니다. - :portal_blue_parrot: 서비스는 cabi.42seoul.io 를 이용해주시면 됩니다. :portal_orange_parrot: - :file_cabinet: 서비스 개선과 관련한 사항은 Cabi 채널 문의주세요! :file_cabinet: - :party-dinosaur::party-dinosaur::party-dinosaur::party-dinosaur:기다려주셔서 감사합니다! :party-dinosaur::party-dinosaur::party-dinosaur::party-dinosaur:`, + +안녕하세요. Cabi 팀입니다! :happy_ccabi: +현시간부로 서비스 이용이 정상화되었습니다. +:portal_blue_parrot: 서비스는 cabi.42seoul.io 를 이용해주시면 됩니다. :portal_orange_parrot: +:file_cabinet: 서비스 개선과 관련한 사항은 Cabi 채널 문의주세요! :file_cabinet: + +:party-dinosaur::party-dinosaur::party-dinosaur::party-dinosaur:기다려주셔서 감사합니다! :party-dinosaur::party-dinosaur::party-dinosaur::party-dinosaur:`, }, { title: "업데이트", content: `:dancing_kirby::dancing_kirby::dancing_kirby::dancing_kirby::dancing_kirby::dancing_kirby: - :happy_ccabi:동아리 장분들의 동아리 기능 사용 방법:happy_ccabi: - =============================================== - 내용 - =============================================== - :point_right: 서비스는 cabi.42seoul.io 를 이용해주시면 됩니다. :point_left:`, + +:happy_ccabi:동아리 장분들의 동아리 기능 사용 방법:happy_ccabi: +=============================================== +내용 +=============================================== + +:point_right: 서비스는 cabi.42seoul.io 를 이용해주시면 됩니다. :point_left:`, }, { title: "이용 안내서", content: `:file_cabinet: Cabi 이용 안내서 :file_cabinet: - :embarrassed_cabi: 42seoul의 사물함 대여 서비스를 운영중인 Cabi 팀입니다.:embarrassed_cabi: - 자세한 이용 방법은 Cabi 가입 후 홈페이지의 이용 안내서를 참고해 주세요! - :point_right: https://cabi.42seoul.io/home - :alert: Cabi FAQ :alert: - :pushpin: 사물함의 물리적인 문제가 있습니다 (고장 났거나 잠겨있는 경우) - :happy_ccabi: 사물함의 물리적인 문제는 데스크에 문의 부탁드립니다! - :pushpin: 사물함 비밀번호를 모릅니다 (잊어버렸습니다). - :happy_ccabi: 저희 서비스에서 대여한 화면과 슬랙 화면을 준비해서 데스크에 문의해주시기 바랍니다! - :pushpin: 사물함을 닫으려는데 빨간 열쇠 표시가 뜨면서 경고음이 나고 잠기지 않습니다. - :happy_ccabi: 사물함 안이 꽉 차거나 제대로 닫히지 않은 경우에 발생하는데, 문을 누른 상태로 비밀번호를 입력해 보시고, 그래도 되지 않는다면 데스크에 문의 부탁드립니다! - :pushpin: 사물함 대여 후 사용하려고 했더니 안에 짐이 가득 차 있습니다. - :happy_ccabi: 이전 사용자의 짐과 관련한 문의는 데스크에 문의 부탁드립니다! - :pushpin: 공유 사물함을 대여했는데 비밀번호는 어디서 알 수 있을까요? - :happy_ccabi: 같이 사용하는 사람이 있다면 대여 내역에서 공유 메모에 적혀 있을 수 있습니다. 또는 함께 사용하는 분에게 여쭤보세요! - :pushpin: 사물함을 연체 했는데 페널티는 무엇인가요? - :happy_ccabi: 연체일만큼 누적 연체일이 증가하고, 누적일 만큼 대여가 불가능합니다:face_holding_back_tears:`, + +:embarrassed_cabi: 42seoul의 사물함 대여 서비스를 운영중인 Cabi 팀입니다.:embarrassed_cabi: +자세한 이용 방법은 Cabi 가입 후 홈페이지의 이용 안내서를 참고해 주세요! +:point_right: https://cabi.42seoul.io/home + +:alert: Cabi FAQ :alert: +:pushpin: 사물함의 물리적인 문제가 있습니다 (고장 났거나 잠겨있는 경우) +:happy_ccabi: 사물함의 물리적인 문제는 데스크에 문의 부탁드립니다! +:pushpin: 사물함 비밀번호를 모릅니다 (잊어버렸습니다). +:happy_ccabi: 저희 서비스에서 대여한 화면과 슬랙 화면을 준비해서 데스크에 문의해주시기 바랍니다! +:pushpin: 사물함을 닫으려는데 빨간 열쇠 표시가 뜨면서 경고음이 나고 잠기지 않습니다. +:happy_ccabi: 사물함 안이 꽉 차거나 제대로 닫히지 않은 경우에 발생하는데, 문을 누른 상태로 비밀번호를 입력해 보시고, 그래도 되지 않는다면 데스크에 문의 부탁드립니다! +:pushpin: 사물함 대여 후 사용하려고 했더니 안에 짐이 가득 차 있습니다. +:happy_ccabi: 이전 사용자의 짐과 관련한 문의는 데스크에 문의 부탁드립니다! +:pushpin: 공유 사물함을 대여했는데 비밀번호는 어디서 알 수 있을까요? +:happy_ccabi: 같이 사용하는 사람이 있다면 대여 내역에서 공유 메모에 적혀 있을 수 있습니다. 또는 함께 사용하는 분에게 여쭤보세요! +:pushpin: 사물함을 연체 했는데 페널티는 무엇인가요? +:happy_ccabi: 연체일만큼 누적 연체일이 증가하고, 누적일 만큼 대여가 불가능합니다:face_holding_back_tears:`, }, { title: "모집 공고", - content: `:embarrassed_cabi::embarrassed_cabi::embarrassed_cabi: :embarrassed_cabi::embarrassed_cabi::embarrassed_cabi: - 안녕하세요 Cabi 팀입니다! - 새로운 팀원 모집 공고를 올립니다:yesyes: - 많은 관심 부탁드립니다! - ---------------------------------------------------- - :dancing_kirby:모집개요:dancing_kirby: - 오늘 {날짜} 부터, {날짜} 23:59까지! - 까비 팀의 프론트엔드 / 백엔드 6기 신청을 받습니다! - 폼 작성 - 간단한 미팅 - 최종 발표 예정입니다! - ... - ...까비에 할애할 수 있으신 분! - - 열정 넘치시는 분! - :four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover: - :four_leaf_clover::arrow_right:지금 바로 지원하기:arrow_left::four_leaf_clover: - :four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover: - :man-bowing: 상세한 정보는 구글 폼을 참고해주시고, 이외에 모집과 관련한 문의는 - @jpark2 에게 DM 부탁드립니다! :man-bowing:`, + content: `:white_check_mark: 까비 소개 링크, 구글폼 링크 추가 :white_check_mark: + +:embarrassed_cabi::embarrassed_cabi::embarrassed_cabi: :embarrassed_cabi::embarrassed_cabi::embarrassed_cabi: + +안녕하세요 Cabi 팀입니다! +새로운 팀원 모집 공고를 올립니다:yesyes: +많은 관심 부탁드립니다! +---------------------------------------------------- +:dancing_kirby:모집개요:dancing_kirby: +오늘 {날짜} 부터, {날짜} 23:59까지! +까비 팀의 프론트엔드 / 백엔드 n기 신청을 받습니다! +폼 작성 - 간단한 미팅 - 최종 발표 예정입니다! + + +:file_cabinet: 저희 서비스는요…:file_cabinet: +사물함 대여 서비스: 42서울의 사물함 400여 개를 편리하게 대여 및 반납할 수 있는 서비스입니다. +효율적이고 원활한 서비스: 제한된 자원으로 많은 사용자가 원활… (더보기) + + +:hammer_and_wrench: 사용중인 기술 스택 :hammer_and_wrench: +프론트: :typescript: / :reactjs: / Recoil +백: :java: / Spring / Spring Boot / JPA / QueryDSL / MariaDB / Redis +인프라: :aws: EC2, RDS, S3, CloudFront, CodeDeploy / Docker / Github Actions / Pinpoint APM / Grafana / Prometheus +:star::star::star::star:위에 있는 기술들을 모르셔도 상관 없습니다!!:star::star::star::star: + + +:thumbsup_ccabi: 까비 팀에 합류하시면... :thumbsup_ccabi: +월 약 1300명의 유저가 사용하는 서비스를 직접 기획 / 운영 / 개발하기! +메인, 어드민 서비스 유지 및 보수! +친절하고 유쾌한 까비 팀원들과 친해지기! +체계적인 협업 컨벤션과 코드 리뷰! +트러블 슈팅과 기술 아카이브로 포트폴리오 해결! +42Seoul Cabinet System Developer 칭호까지! + + +:cat_thumbs: 다음과 같은 아이템을 염두하고 있어요! :cat_thumbs: +재화 시스템 - 기존 상점 페이지에 새로운 아이템 추가 및 고도화 +수요지식회 - Cabi 페이지에 합쳐진 수요지식회 페이지 분리 및 후기 기능 추가 +성능 최적화 - Lighthouse 지표 개선 + + +:pushpin: 이런 분을 우대합니다! +- 블랙홀이 넉넉하신 분! +- 많은 시간을 까비에 할애할 수 있으신 분! +- 열정 넘치시는 분! + + +:four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover: +:four_leaf_clover::arrow_right:지금 바로 지원하기:arrow_left::four_leaf_clover: +:four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover::four_leaf_clover: + +:man-bowing: 상세한 정보는 구글 폼을 참고해주시고, 이외에 모집과 관련한 문의는 +@담당자 에게 DM 부탁드립니다! :man-bowing:`, }, { title: "동아리 사물함", content: `:happy_ccabi: 안녕하세요 사물함 서비스를 운영중인 Cabi 팀입니다 :happy_ccabi: - 이번 동아리 사물함 모집을 공지드립니다! - 기존 {날짜} 에 신청하셨던 분들도 재신청해주시기를 바랍니다. - 신청 링크 : {링크} - 내용은 아래와 같습니다. - ----------------------------------------------------- - < :hourglass_flowing_sand: 모집 기간 > - 2024년 동아리 사물함 신청은 일주일 동안 진행됩니다. - 3월 15일(금) 부터 - ~ 3월 22일(금) 23:59 까지 입니다. - *이 시간대 외의 신청은 유효하지 않은 신청으로 간주됩니다:disappointed_relieved: - ----------------------------------------------------- - < :pushpin: 선발 기준 > - [스프레드 시트에 등록된] 42 Seoul 동아리 리스트에 포함된 동아리 - 신청자 수가 사물함보다 많을경우 추첨으로 진행됩니다. - ----------------------------------------------------- - < :mantelpiece_clock: 발표일 > - 10월 20일 오후 중 발표 예정입니다! - 해당 발표 결과는 슬랙의 ‘42seoul_club_cabinet’, ‘42seoul_global_random’ 채널에 공지 드릴 예정입니다. - 사물함 배정이 완료된 후 동아리 사물함 대표분들에게, 슬랙 DM으로 메시지가 전송될 예정입니다. - ----------------------------------------------------- - < :man-tipping-hand: 유의사항 > - 1. 기존에 동아리 사물함을 사용중이셨다면, 새로이 사용하는 동아리들의 원활한 이용을 위해서 - 3월 22일(금)까지 사물함을 비워주시기 바랍니다! - 2. 위 모든 내용은 상황에 따라 변경될 수 있으며 차후에도 변경될 수 있습니다. - 이 때에는 재공지될 예정입니다! - ----------------------------------------------------- - < :telephone_receiver: 문의사항 > - 슬랙의 ‘42seoul_club_cabinet’ 채널에 문의해주시면 됩니다! :sunglasses:`, + +이번 동아리 사물함 모집을 공지드립니다! +기존 {날짜} 에 신청하셨던 분들도 재신청해주시기를 바랍니다. +신청 링크 : {링크} +내용은 아래와 같습니다. +----------------------------------------------------- +< :hourglass_flowing_sand: 모집 기간 > +2024년 동아리 사물함 신청은 일주일 동안 진행됩니다. +3월 15일(금) 부터 +~ 3월 22일(금) 23:59 까지 입니다. +*이 시간대 외의 신청은 유효하지 않은 신청으로 간주됩니다:disappointed_relieved: +----------------------------------------------------- +< :pushpin: 선발 기준 > +[스프레드 시트에 등록된] 42 Seoul 동아리 리스트에 포함된 동아리 +신청자 수가 사물함보다 많을경우 추첨으로 진행됩니다. +----------------------------------------------------- +< :mantelpiece_clock: 발표일 > +10월 20일 오후 중 발표 예정입니다! +해당 발표 결과는 슬랙의 ‘42seoul_club_cabinet’, ‘42seoul_global_random’ 채널에 공지 드릴 예정입니다. +사물함 배정이 완료된 후 동아리 사물함 대표분들에게, 슬랙 DM으로 메시지가 전송될 예정입니다. +----------------------------------------------------- +< :man-tipping-hand: 유의사항 > +1. 기존에 동아리 사물함을 사용중이셨다면, 새로이 사용하는 동아리들의 원활한 이용을 위해서 +3월 22일(금)까지 사물함을 비워주시기 바랍니다! +2. 위 모든 내용은 상황에 따라 변경될 수 있으며 차후에도 변경될 수 있습니다. +이 때에는 재공지될 예정입니다! +----------------------------------------------------- +< :telephone_receiver: 문의사항 > +슬랙의 ‘42seoul_club_cabinet’ 채널에 문의해주시면 됩니다! :sunglasses:`, }, { title: "연체", content: `[CABI] 안녕하세요! :embarrassed_cabi: - 현재 이용 중이신 사물함이 연체인 것으로 확인되어 연락드립니다. - 장기간 연체시 서비스 이용에 대한 페널티, 혹은 :tig:가 부여될 수 있음을 인지해주세요! - 사물함의 대여 기간을 확인하신 후 반납 부탁드립니다. - 항상 저희 서비스를 이용해 주셔서 감사합니다:)`, +현재 이용 중이신 사물함이 연체인 것으로 확인되어 연락드립니다. +장기간 연체시 서비스 이용에 대한 페널티, 혹은 :tig:가 부여될 수 있음을 인지해주세요! +사물함의 대여 기간을 확인하신 후 반납 부탁드립니다. +항상 저희 서비스를 이용해 주셔서 감사합니다:)`, }, ]; From cee4a2a8f8b9d9a1687165322d5ee748bc8c32f4 Mon Sep 17 00:00:00 2001 From: jnkeniaem Date: Tue, 9 Jul 2024 16:13:09 +0900 Subject: [PATCH 05/20] =?UTF-8?q?[FE]=20FEAT:=20=EC=9E=90=EC=A3=BC?= =?UTF-8?q?=EC=93=B0=EB=8A=94=20=EB=B2=84=ED=8A=BC=EB=93=A4=20=ED=98=B8?= =?UTF-8?q?=EB=B2=84=EB=BF=90=EB=A7=8C=EC=95=84=EB=8B=88=EB=9D=BC=20?= =?UTF-8?q?=ED=81=B4=EB=A6=AD=EC=8B=9C=EC=97=90=EB=8F=84=20css=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9#1652?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/admin/AdminSlackNotiPage.tsx | 31 ++++++++++++++++--- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/frontend/src/Cabinet/pages/admin/AdminSlackNotiPage.tsx b/frontend/src/Cabinet/pages/admin/AdminSlackNotiPage.tsx index 4fc40132b..819fae594 100644 --- a/frontend/src/Cabinet/pages/admin/AdminSlackNotiPage.tsx +++ b/frontend/src/Cabinet/pages/admin/AdminSlackNotiPage.tsx @@ -1,5 +1,5 @@ import { useRef, useState } from "react"; -import styled from "styled-components"; +import styled, { css } from "styled-components"; import { FailResponseModal, SuccessResponseModal, @@ -24,6 +24,8 @@ const AdminSlackNotiPage = () => { const [modalContent, setModalContent] = useState(""); const [modalTitle, setModalTitle] = useState(""); const [isLoading, setIsLoading] = useState(false); + const [channelBtnIdx, setChannelBtnIdx] = useState(-1); + const [templateBtnIdx, setTemplateBtnIdx] = useState(-1); const renderReceiverInput = (title: string) => { if (receiverInputRef.current) receiverInputRef.current.value = title; @@ -40,6 +42,8 @@ const AdminSlackNotiPage = () => { const initializeInputandTextArea = () => { if (receiverInputRef.current) receiverInputRef.current.value = ""; if (msgTextAreaRef.current) msgTextAreaRef.current.value = ""; + if (channelBtnIdx > -1) setChannelBtnIdx(-1); + if (templateBtnIdx > -1) setTemplateBtnIdx(-1); }; const handleSubmitButton = async () => { @@ -88,7 +92,11 @@ const AdminSlackNotiPage = () => { return ( renderReceiverInput(channel.title)} + onClick={() => { + renderReceiverInput(channel.title); + if (channelBtnIdx !== idx) setChannelBtnIdx(idx); + }} + channelBtnIsClicked={channelBtnIdx === idx} > {channel.title} @@ -104,7 +112,11 @@ const AdminSlackNotiPage = () => { return ( renderTemplateTextArea(template.title)} + onClick={() => { + renderTemplateTextArea(template.title); + if (channelBtnIdx !== idx) setTemplateBtnIdx(idx); + }} + templateBtnIsClicked={templateBtnIdx === idx} > {template.title} @@ -209,7 +221,10 @@ const CapsuleWrappingStyled = styled.div` flex-wrap: wrap; `; -const CapsuleButtonStyled = styled.span` +const CapsuleButtonStyled = styled.span<{ + channelBtnIsClicked?: boolean; + templateBtnIsClicked?: boolean; +}>` display: flex; justify-content: center; align-items: center; @@ -224,6 +239,14 @@ const CapsuleButtonStyled = styled.span` color: var(--sys-main-color); border: 1px solid var(--sys-main-color); } + + ${({ channelBtnIsClicked, templateBtnIsClicked }) => + (channelBtnIsClicked || templateBtnIsClicked) && + css` + background: var(--capsule-btn-hover-bg-color); + color: var(--sys-main-color); + border: 1px solid var(--sys-main-color); + `} `; const FormWappingStyled = styled.div` From 6307ad9b123843565f8c2ef430275a9d4cf3f348 Mon Sep 17 00:00:00 2001 From: jnkeniaem Date: Tue, 9 Jul 2024 16:21:33 +0900 Subject: [PATCH 06/20] =?UTF-8?q?[FE]=20DOCS:=20SlackAlarm.ts=20=ED=85=9C?= =?UTF-8?q?=ED=94=8C=EB=A6=BF=20=EB=A9=94=EC=8B=9C=EC=A7=80=20white=20spac?= =?UTF-8?q?e=20=EC=B6=94=EA=B0=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/Cabinet/assets/data/SlackAlarm.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/frontend/src/Cabinet/assets/data/SlackAlarm.ts b/frontend/src/Cabinet/assets/data/SlackAlarm.ts index 4c43a825a..514b7e654 100644 --- a/frontend/src/Cabinet/assets/data/SlackAlarm.ts +++ b/frontend/src/Cabinet/assets/data/SlackAlarm.ts @@ -40,6 +40,7 @@ export const SlackAlarmTemplates: ISlackAlarmTemplate[] = [ 안녕하세요. Cabi 팀입니다! :happy_ccabi: 현시간부로 서비스 이용이 정상화되었습니다. + :portal_blue_parrot: 서비스는 cabi.42seoul.io 를 이용해주시면 됩니다. :portal_orange_parrot: :file_cabinet: 서비스 개선과 관련한 사항은 Cabi 채널 문의주세요! :file_cabinet: @@ -60,21 +61,29 @@ export const SlackAlarmTemplates: ISlackAlarmTemplate[] = [ title: "이용 안내서", content: `:file_cabinet: Cabi 이용 안내서 :file_cabinet: + :embarrassed_cabi: 42seoul의 사물함 대여 서비스를 운영중인 Cabi 팀입니다.:embarrassed_cabi: 자세한 이용 방법은 Cabi 가입 후 홈페이지의 이용 안내서를 참고해 주세요! :point_right: https://cabi.42seoul.io/home + :alert: Cabi FAQ :alert: + :pushpin: 사물함의 물리적인 문제가 있습니다 (고장 났거나 잠겨있는 경우) :happy_ccabi: 사물함의 물리적인 문제는 데스크에 문의 부탁드립니다! + :pushpin: 사물함 비밀번호를 모릅니다 (잊어버렸습니다). :happy_ccabi: 저희 서비스에서 대여한 화면과 슬랙 화면을 준비해서 데스크에 문의해주시기 바랍니다! + :pushpin: 사물함을 닫으려는데 빨간 열쇠 표시가 뜨면서 경고음이 나고 잠기지 않습니다. :happy_ccabi: 사물함 안이 꽉 차거나 제대로 닫히지 않은 경우에 발생하는데, 문을 누른 상태로 비밀번호를 입력해 보시고, 그래도 되지 않는다면 데스크에 문의 부탁드립니다! + :pushpin: 사물함 대여 후 사용하려고 했더니 안에 짐이 가득 차 있습니다. :happy_ccabi: 이전 사용자의 짐과 관련한 문의는 데스크에 문의 부탁드립니다! + :pushpin: 공유 사물함을 대여했는데 비밀번호는 어디서 알 수 있을까요? :happy_ccabi: 같이 사용하는 사람이 있다면 대여 내역에서 공유 메모에 적혀 있을 수 있습니다. 또는 함께 사용하는 분에게 여쭤보세요! + :pushpin: 사물함을 연체 했는데 페널티는 무엇인가요? :happy_ccabi: 연체일만큼 누적 연체일이 증가하고, 누적일 만큼 대여가 불가능합니다:face_holding_back_tears:`, }, From b2c7e56cf5c2847703f746a6cd1eb1d8fce3e5d3 Mon Sep 17 00:00:00 2001 From: jnkeniaem Date: Tue, 9 Jul 2024 16:59:54 +0900 Subject: [PATCH 07/20] =?UTF-8?q?[FE]=20REFACT:=20store=20=EA=B4=80?= =?UTF-8?q?=EB=A0=A8=20=EB=AA=A8=EB=8B=AC=20StoreModal=EB=A1=9C=20?= =?UTF-8?q?=EC=9D=B4=EB=8F=99#1652?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Cabinet/components/CabinetInfoArea/CabinetInfoArea.tsx | 4 ++-- .../src/Cabinet/components/Card/LentInfoCard/LentInfoCard.tsx | 2 +- .../Modals/{ExtendModal => StoreModal}/ExtendModal.tsx | 0 .../Modals/{PenaltyModal => StoreModal}/PenaltyModal.tsx | 0 .../{SectionAlertModal => StoreModal}/SectionAlertModal.tsx | 0 .../components/Modals/{SwapModal => StoreModal}/SwapModal.tsx | 0 frontend/src/Cabinet/pages/MainPage.tsx | 2 +- 7 files changed, 4 insertions(+), 4 deletions(-) rename frontend/src/Cabinet/components/Modals/{ExtendModal => StoreModal}/ExtendModal.tsx (100%) rename frontend/src/Cabinet/components/Modals/{PenaltyModal => StoreModal}/PenaltyModal.tsx (100%) rename frontend/src/Cabinet/components/Modals/{SectionAlertModal => StoreModal}/SectionAlertModal.tsx (100%) rename frontend/src/Cabinet/components/Modals/{SwapModal => StoreModal}/SwapModal.tsx (100%) diff --git a/frontend/src/Cabinet/components/CabinetInfoArea/CabinetInfoArea.tsx b/frontend/src/Cabinet/components/CabinetInfoArea/CabinetInfoArea.tsx index 8ec38283a..9159f504c 100644 --- a/frontend/src/Cabinet/components/CabinetInfoArea/CabinetInfoArea.tsx +++ b/frontend/src/Cabinet/components/CabinetInfoArea/CabinetInfoArea.tsx @@ -9,13 +9,13 @@ import CountTimeContainer from "@/Cabinet/components/CabinetInfoArea/CountTime/C import ButtonContainer from "@/Cabinet/components/Common/Button"; import SelectInduction from "@/Cabinet/components/Common/SelectInduction"; import CancelModal from "@/Cabinet/components/Modals/CancelModal/CancelModal"; -import ExtendModal from "@/Cabinet/components/Modals/ExtendModal/ExtendModal"; import InvitationCodeModalContainer from "@/Cabinet/components/Modals/InvitationCodeModal/InvitationCodeModal.container"; import LentModal from "@/Cabinet/components/Modals/LentModal/LentModal"; import MemoModalContainer from "@/Cabinet/components/Modals/MemoModal/MemoModal.container"; import PasswordCheckModalContainer from "@/Cabinet/components/Modals/PasswordCheckModal/PasswordCheckModal.container"; import ReturnModal from "@/Cabinet/components/Modals/ReturnModal/ReturnModal"; -import SwapModal from "@/Cabinet/components/Modals/SwapModal/SwapModal"; +import ExtendModal from "@/Cabinet/components/Modals/StoreModal/ExtendModal"; +import SwapModal from "@/Cabinet/components/Modals/StoreModal/SwapModal"; import UnavailableModal from "@/Cabinet/components/Modals/UnavailableModal/UnavailableModal"; import { additionalModalType, diff --git a/frontend/src/Cabinet/components/Card/LentInfoCard/LentInfoCard.tsx b/frontend/src/Cabinet/components/Card/LentInfoCard/LentInfoCard.tsx index dbadf6aeb..b3cc0195b 100644 --- a/frontend/src/Cabinet/components/Card/LentInfoCard/LentInfoCard.tsx +++ b/frontend/src/Cabinet/components/Card/LentInfoCard/LentInfoCard.tsx @@ -7,7 +7,7 @@ import { ContentInfoStyled, } from "@/Cabinet/components/Card/CardStyles"; import { MyCabinetInfo } from "@/Cabinet/components/Card/LentInfoCard/LentInfoCard.container"; -import PenaltyModal from "@/Cabinet/components/Modals//PenaltyModal/PenaltyModal"; +import PenaltyModal from "@/Cabinet/components/Modals/StoreModal/PenaltyModal"; import { cabinetIconComponentMap } from "@/Cabinet/assets/data/maps"; import { IItemTimeRemaining } from "@/Cabinet/types/dto/store.dto"; import CabinetStatus from "@/Cabinet/types/enum/cabinet.status.enum"; diff --git a/frontend/src/Cabinet/components/Modals/ExtendModal/ExtendModal.tsx b/frontend/src/Cabinet/components/Modals/StoreModal/ExtendModal.tsx similarity index 100% rename from frontend/src/Cabinet/components/Modals/ExtendModal/ExtendModal.tsx rename to frontend/src/Cabinet/components/Modals/StoreModal/ExtendModal.tsx diff --git a/frontend/src/Cabinet/components/Modals/PenaltyModal/PenaltyModal.tsx b/frontend/src/Cabinet/components/Modals/StoreModal/PenaltyModal.tsx similarity index 100% rename from frontend/src/Cabinet/components/Modals/PenaltyModal/PenaltyModal.tsx rename to frontend/src/Cabinet/components/Modals/StoreModal/PenaltyModal.tsx diff --git a/frontend/src/Cabinet/components/Modals/SectionAlertModal/SectionAlertModal.tsx b/frontend/src/Cabinet/components/Modals/StoreModal/SectionAlertModal.tsx similarity index 100% rename from frontend/src/Cabinet/components/Modals/SectionAlertModal/SectionAlertModal.tsx rename to frontend/src/Cabinet/components/Modals/StoreModal/SectionAlertModal.tsx diff --git a/frontend/src/Cabinet/components/Modals/SwapModal/SwapModal.tsx b/frontend/src/Cabinet/components/Modals/StoreModal/SwapModal.tsx similarity index 100% rename from frontend/src/Cabinet/components/Modals/SwapModal/SwapModal.tsx rename to frontend/src/Cabinet/components/Modals/StoreModal/SwapModal.tsx diff --git a/frontend/src/Cabinet/pages/MainPage.tsx b/frontend/src/Cabinet/pages/MainPage.tsx index 070e57387..66c212103 100644 --- a/frontend/src/Cabinet/pages/MainPage.tsx +++ b/frontend/src/Cabinet/pages/MainPage.tsx @@ -13,7 +13,7 @@ import { import { currentFloorSectionState } from "@/Cabinet/recoil/selectors"; import CabinetListContainer from "@/Cabinet/components/CabinetList/CabinetList.container"; import LoadingAnimation from "@/Cabinet/components/Common/LoadingAnimation"; -import SectionAlertModal from "@/Cabinet/components/Modals/SectionAlertModal/SectionAlertModal"; +import SectionAlertModal from "@/Cabinet/components/Modals/StoreModal/SectionAlertModal"; import SectionPaginationContainer from "@/Cabinet/components/SectionPagination/SectionPagination.container"; import { clubSectionsData } from "@/Cabinet/assets/data/mapPositionData"; import { ReactComponent as FilledHeartIcon } from "@/Cabinet/assets/images/filledHeart.svg"; From 61049666017004e96258c276c0c6637590b16c58 Mon Sep 17 00:00:00 2001 From: jnkeniaem Date: Tue, 9 Jul 2024 17:05:52 +0900 Subject: [PATCH 08/20] =?UTF-8?q?[FE]=20FIX:=20=ED=85=9C=ED=94=8C=EB=A6=BF?= =?UTF-8?q?=20=EB=B2=84=ED=8A=BC=20=EB=88=84=EB=A5=BC=EB=95=8C=20channelBt?= =?UTF-8?q?nIdx=EA=B0=80=20=EC=95=84=EB=8B=8C=20templateBtnIdx=EB=A1=9C=20?= =?UTF-8?q?=EB=B9=84=EA=B5=90=ED=95=98=EB=8F=84=EB=A1=9D=20=EA=B5=90?= =?UTF-8?q?=EC=B2=B4#1652?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/Cabinet/pages/admin/AdminSlackNotiPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Cabinet/pages/admin/AdminSlackNotiPage.tsx b/frontend/src/Cabinet/pages/admin/AdminSlackNotiPage.tsx index 819fae594..137e184d4 100644 --- a/frontend/src/Cabinet/pages/admin/AdminSlackNotiPage.tsx +++ b/frontend/src/Cabinet/pages/admin/AdminSlackNotiPage.tsx @@ -114,7 +114,7 @@ const AdminSlackNotiPage = () => { key={idx} onClick={() => { renderTemplateTextArea(template.title); - if (channelBtnIdx !== idx) setTemplateBtnIdx(idx); + if (templateBtnIdx !== idx) setTemplateBtnIdx(idx); }} templateBtnIsClicked={templateBtnIdx === idx} > From 64ca01ba252a7cb3fb64351b52cadf87948dbd39 Mon Sep 17 00:00:00 2001 From: jnkeniaem Date: Tue, 9 Jul 2024 17:10:13 +0900 Subject: [PATCH 09/20] =?UTF-8?q?[FE]=20REFACT:=20=ED=85=9C=ED=94=8C?= =?UTF-8?q?=EB=A6=BF=20=EB=B2=84=ED=8A=BC=20=EB=88=84=EB=A5=B4=EA=B1=B0?= =?UTF-8?q?=EB=82=98=20hover=20=EC=9D=BC=EB=95=8C=EC=9D=98=20=EC=8A=A4?= =?UTF-8?q?=ED=83=80=EC=9D=BC=EC=9D=84=20=EB=8B=B4=EB=8A=94=20hoverAndClic?= =?UTF-8?q?kedBtnStyles=20=EB=B3=80=EC=88=98=20=EC=A0=95=EC=9D=98=ED=95=B4?= =?UTF-8?q?=20=EC=A0=81=EC=9A=A9=20#1652?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/Cabinet/pages/admin/AdminSlackNotiPage.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/frontend/src/Cabinet/pages/admin/AdminSlackNotiPage.tsx b/frontend/src/Cabinet/pages/admin/AdminSlackNotiPage.tsx index 137e184d4..cecc32a9b 100644 --- a/frontend/src/Cabinet/pages/admin/AdminSlackNotiPage.tsx +++ b/frontend/src/Cabinet/pages/admin/AdminSlackNotiPage.tsx @@ -16,6 +16,12 @@ import { axiosSendSlackNotificationToUser, } from "@/Cabinet/api/axios/axios.custom"; +const hoverAndClickedBtnStyles = css` + background: var(--capsule-btn-hover-bg-color); + color: var(--sys-main-color); + border: 1px solid var(--sys-main-color); +`; + const AdminSlackNotiPage = () => { const receiverInputRef = useRef(null); const msgTextAreaRef = useRef(null); @@ -235,17 +241,13 @@ const CapsuleButtonStyled = styled.span<{ cursor: pointer; :hover { - background: var(--capsule-btn-hover-bg-color); - color: var(--sys-main-color); - border: 1px solid var(--sys-main-color); + ${hoverAndClickedBtnStyles} } ${({ channelBtnIsClicked, templateBtnIsClicked }) => (channelBtnIsClicked || templateBtnIsClicked) && css` - background: var(--capsule-btn-hover-bg-color); - color: var(--sys-main-color); - border: 1px solid var(--sys-main-color); + ${hoverAndClickedBtnStyles} `} `; From 0b187e50f4d4ac20a8a7fc2ebb207fa89c02b321 Mon Sep 17 00:00:00 2001 From: jnkeniaem Date: Tue, 16 Jul 2024 13:48:09 +0900 Subject: [PATCH 10/20] =?UTF-8?q?[FE]=20DOCS:=20github=20issue=20UI=20?= =?UTF-8?q?=EA=B0=9C=EC=84=A0=EC=B0=BD=EA=B5=AC=20=ED=85=9C=ED=94=8C?= =?UTF-8?q?=EB=A6=BF=20=EC=9E=91=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/ui_improvement.yml | 46 +++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/ui_improvement.yml diff --git a/.github/ISSUE_TEMPLATE/ui_improvement.yml b/.github/ISSUE_TEMPLATE/ui_improvement.yml new file mode 100644 index 000000000..0a01bccf0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/ui_improvement.yml @@ -0,0 +1,46 @@ +name: "UI 개선 창구" +description: UI 개선점 작성 기본 양식입니다. +labels: ["ui"] +body: + - type: markdown + attributes: + value: | + 작성 예시 : "[FE] 지도-E/V 버튼 눌렀을때 나타나는 로고 색 다크모드 적용" + - type: textarea + id: ui-description + attributes: + label: UI 문제점 설명 + description: 문제가 언제/어떻게 발생했는지 명확하게 적어주세요. + placeholder: 설명을 적어주세요. + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: 재현 방법 + description: 문제가 재현되는 상황을 설명해주세요. + placeholder: 설명을 적어주세요. + validations: + required: true + - type: textarea + id: improvement + attributes: + label: 기대하는 UI + description: 기대하는 UI에 대해서 설명해주세요. + placeholder: 설명을 적어주세요. + validations: + required: true + - type: textarea + id: system-info + attributes: + label: 시스템 환경 (선택 사항) + description: 현재 버그가 발생한 시스템 환경을 적어주세요. + render: shell + placeholder: OS, 브라우저 등을 적어주세요. + validations: + required: false + - type: textarea + id: additional-context + attributes: + label: 추가 건의사항 + description: Cabi에 바라시는 점이나, 하시고 싶은 말씀을 적어주세요. From d45d03b82153da88b723eadc4f0cfa1e49ca6029 Mon Sep 17 00:00:00 2001 From: Woo Joo Chae Date: Tue, 16 Jul 2024 14:38:09 +0900 Subject: [PATCH 11/20] [BE] FIX: config - swap limit 7days -> 1days --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index 4ba0fb6f5..dbe683d73 160000 --- a/config +++ b/config @@ -1 +1 @@ -Subproject commit 4ba0fb6f55e1d3fee4a8f9a6e07da0d9c38aa25c +Subproject commit dbe683d7377027eed09fb0efe098a16def6331be From 6221ad6c81ddb6f65e50ecfabb13bd5a491e0b07 Mon Sep 17 00:00:00 2001 From: Woo Joo Chae Date: Tue, 16 Jul 2024 14:54:20 +0900 Subject: [PATCH 12/20] [BE] HOTFIX: Share ban limit message fixed ( unbanned_at deleted) --- .../org/ftclub/cabinet/lent/service/LentPolicyService.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/backend/src/main/java/org/ftclub/cabinet/lent/service/LentPolicyService.java b/backend/src/main/java/org/ftclub/cabinet/lent/service/LentPolicyService.java index 7fe2abbbb..9ac733204 100644 --- a/backend/src/main/java/org/ftclub/cabinet/lent/service/LentPolicyService.java +++ b/backend/src/main/java/org/ftclub/cabinet/lent/service/LentPolicyService.java @@ -59,10 +59,7 @@ private void handlePolicyStatus(LentPolicyStatus status, LocalDateTime policyDat throw new CustomExceptionStatus(ExceptionStatus.ALL_BANNED_USER, unbannedAtString).asCustomServiceException(); case SHARE_BANNED_USER: - unbannedAtString = policyDate.format( - DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); - throw new CustomExceptionStatus(ExceptionStatus.SHARE_CODE_TRIAL_EXCEEDED, - unbannedAtString).asCustomServiceException(); + throw ExceptionStatus.SHARE_CODE_TRIAL_EXCEEDED.asServiceException(); case BLACKHOLED_USER: throw ExceptionStatus.BLACKHOLED_USER.asServiceException(); case PENDING_CABINET: From 18d72f4e1b7f3f102337b3e95bafbfff46165e5b Mon Sep 17 00:00:00 2001 From: jnkeniaem Date: Tue, 16 Jul 2024 15:23:52 +0900 Subject: [PATCH 13/20] =?UTF-8?q?[FE]=20DOCS:=20ui=20=EA=B0=9C=EC=84=A0=20?= =?UTF-8?q?=ED=85=9C=ED=94=8C=EB=A6=BF=20=EB=AC=B8=EA=B5=AC=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/ui_improvement.yml | 4 ++-- config | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/ui_improvement.yml b/.github/ISSUE_TEMPLATE/ui_improvement.yml index 0a01bccf0..f34b2ba71 100644 --- a/.github/ISSUE_TEMPLATE/ui_improvement.yml +++ b/.github/ISSUE_TEMPLATE/ui_improvement.yml @@ -1,5 +1,5 @@ -name: "UI 개선 창구" -description: UI 개선점 작성 기본 양식입니다. +name: "UI 개선 건의" +description: UI 개선 건의 작성 기본 양식입니다. labels: ["ui"] body: - type: markdown diff --git a/config b/config index dbe683d73..4ba0fb6f5 160000 --- a/config +++ b/config @@ -1 +1 @@ -Subproject commit dbe683d7377027eed09fb0efe098a16def6331be +Subproject commit 4ba0fb6f55e1d3fee4a8f9a6e07da0d9c38aa25c From 6acb7272c678a4cd615fdaf55417c05dda291cfe Mon Sep 17 00:00:00 2001 From: Jihyun Kim Date: Tue, 16 Jul 2024 15:30:23 +0900 Subject: [PATCH 14/20] =?UTF-8?q?[COMMON]=20DOCS:=20readme=EC=97=90=20saym?= =?UTF-8?q?yname=20=EA=B3=BC=EC=A0=9C=20=EC=88=98=ED=96=89=20=EB=B0=8F=20?= =?UTF-8?q?=EC=9D=B4=EB=A6=84=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 6075e13fb..1618e7c8d 100644 --- a/README.md +++ b/README.md @@ -175,6 +175,9 @@ | [ 🐶 surlee](https://github.com/Elineely) | [ 🐣 hyowchoi](https://github.com/chyo1/) | [ 👽 sohyupar](https://github.com/saewoo1) | [🦝 jimchoi](https://github.com/jimchoi9) | [ 🛼 jeekim](https://github.com/jnkeniaem) | [🍾 miyu](https://github.com/Minkyu01) | [🧸 gykoh](https://github.com/gykoh42) | | ----------------------------------------- | ----------------------------------------- | ------------------------------------------ | ----------------------------------------- | ------------------------------------------ | -------------------------------------- | -------------------------------------- | +| [ 🐶 jihykim2](https://github.com/jihyunk03) | +| -------------------------------------------- | + | | | --------------------------------------------------------------------------------------------------------------------------------------------------------- | From 33cb2de7eb870c37d828863c76102c4fad11781e Mon Sep 17 00:00:00 2001 From: seonmin Date: Tue, 16 Jul 2024 15:31:36 +0900 Subject: [PATCH 15/20] =?UTF-8?q?[COMMON]=20DOCS:=20README=20=EC=9D=B4?= =?UTF-8?q?=EB=A6=84=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +++ frontend/package-lock.json | 1 + 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 6075e13fb..18c445e5e 100644 --- a/README.md +++ b/README.md @@ -175,6 +175,9 @@ | [ 🐶 surlee](https://github.com/Elineely) | [ 🐣 hyowchoi](https://github.com/chyo1/) | [ 👽 sohyupar](https://github.com/saewoo1) | [🦝 jimchoi](https://github.com/jimchoi9) | [ 🛼 jeekim](https://github.com/jnkeniaem) | [🍾 miyu](https://github.com/Minkyu01) | [🧸 gykoh](https://github.com/gykoh42) | | ----------------------------------------- | ----------------------------------------- | ------------------------------------------ | ----------------------------------------- | ------------------------------------------ | -------------------------------------- | -------------------------------------- | +| [⛄️ seonmiki](https://github.com/seonmiki) | +| ------------------------------------------ | + | | | --------------------------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 1e2b3b809..6cab8e9e4 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -6648,6 +6648,7 @@ "version": "2.3.2", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, "hasInstallScript": true, "optional": true, "os": [ From 67040c8a2708fa39927e4eb3b3b9e9e04c74ddb0 Mon Sep 17 00:00:00 2001 From: JunSeong Date: Tue, 16 Jul 2024 15:35:33 +0900 Subject: [PATCH 16/20] =?UTF-8?q?[COMMON]=20DOCS:=20README=EC=97=90=20juns?= =?UTF-8?q?bae=20=EC=B6=94=EA=B0=80=09#1656?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6075e13fb..f498b0816 100644 --- a/README.md +++ b/README.md @@ -75,8 +75,8 @@
## 🕸️ 인프라 구조도 -![Untitled](https://github.com/innovationacademy-kr/Cabi/assets/83565255/165c1529-6164-4988-9495-6bc2ba3ef0ab) +![Untitled](https://github.com/innovationacademy-kr/Cabi/assets/83565255/165c1529-6164-4988-9495-6bc2ba3ef0ab) ## 🛠 기술 스택 @@ -175,6 +175,9 @@ | [ 🐶 surlee](https://github.com/Elineely) | [ 🐣 hyowchoi](https://github.com/chyo1/) | [ 👽 sohyupar](https://github.com/saewoo1) | [🦝 jimchoi](https://github.com/jimchoi9) | [ 🛼 jeekim](https://github.com/jnkeniaem) | [🍾 miyu](https://github.com/Minkyu01) | [🧸 gykoh](https://github.com/gykoh42) | | ----------------------------------------- | ----------------------------------------- | ------------------------------------------ | ----------------------------------------- | ------------------------------------------ | -------------------------------------- | -------------------------------------- | +| [ 🎱 junsbae ](https://github.com/wet6123) | +| ------------------------------------------ | + | | | --------------------------------------------------------------------------------------------------------------------------------------------------------- | From 523e8b00b4402b352395e87521bf4b7f6190fba0 Mon Sep 17 00:00:00 2001 From: Jihyun Kim Date: Tue, 16 Jul 2024 15:40:33 +0900 Subject: [PATCH 17/20] =?UTF-8?q?[COMMON]=20DOCS:=20readme=EC=97=90=20saym?= =?UTF-8?q?yname=20=EA=B3=84=EC=A0=95=EC=A0=95=EB=B3=B4=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1618e7c8d..87fd9f29c 100644 --- a/README.md +++ b/README.md @@ -175,7 +175,7 @@ | [ 🐶 surlee](https://github.com/Elineely) | [ 🐣 hyowchoi](https://github.com/chyo1/) | [ 👽 sohyupar](https://github.com/saewoo1) | [🦝 jimchoi](https://github.com/jimchoi9) | [ 🛼 jeekim](https://github.com/jnkeniaem) | [🍾 miyu](https://github.com/Minkyu01) | [🧸 gykoh](https://github.com/gykoh42) | | ----------------------------------------- | ----------------------------------------- | ------------------------------------------ | ----------------------------------------- | ------------------------------------------ | -------------------------------------- | -------------------------------------- | -| [ 🐶 jihykim2](https://github.com/jihyunk03) | +| [ 🐰 jihykim2](https://github.com/jihyunk03) | | -------------------------------------------- | | | From 90b9ff70290d1a284f05f5e8be7d768e7ece4f28 Mon Sep 17 00:00:00 2001 From: seonmin Date: Tue, 16 Jul 2024 15:49:55 +0900 Subject: [PATCH 18/20] =?UTF-8?q?[COMMON]=20ETC:=20json=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=20=EB=B3=B5=EC=9B=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/package-lock.json | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 6cab8e9e4..1e2b3b809 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -6648,7 +6648,6 @@ "version": "2.3.2", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, "hasInstallScript": true, "optional": true, "os": [ From 471e8845647919b03c9f3d99b021765b200ca147 Mon Sep 17 00:00:00 2001 From: Woo Joo Chae Date: Tue, 16 Jul 2024 15:55:11 +0900 Subject: [PATCH 19/20] [BE] HOTFIX: Share Ban bug fix (session reset issue) --- .../java/org/ftclub/cabinet/lent/service/LentFacadeService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main/java/org/ftclub/cabinet/lent/service/LentFacadeService.java b/backend/src/main/java/org/ftclub/cabinet/lent/service/LentFacadeService.java index 62a615afd..2d293beac 100644 --- a/backend/src/main/java/org/ftclub/cabinet/lent/service/LentFacadeService.java +++ b/backend/src/main/java/org/ftclub/cabinet/lent/service/LentFacadeService.java @@ -338,6 +338,7 @@ public void cancelShareCabinetLent(Long userId, Long cabinetId) { Cabinet cabinet = cabinetQueryService.getCabinetForUpdate(cabinetId); cabinetCommandService.changeStatus(cabinet, CabinetStatus.AVAILABLE); } + lentRedisService.clearCabinetSession(cabinetId); } /** From ebcedb3a45bfcb65b2c0760f46481ba94f90e96b Mon Sep 17 00:00:00 2001 From: chyo1 Date: Tue, 16 Jul 2024 16:19:03 +0900 Subject: [PATCH 20/20] =?UTF-8?q?[BE]=20HOTFIX=20:=20=EA=B3=B5=EC=9C=A0=20?= =?UTF-8?q?=EC=82=AC=EB=AC=BC=ED=95=A8=20=EB=8C=80=EC=97=AC=20=EC=8B=9C=20?= =?UTF-8?q?=EA=B3=B5=EC=9C=A0=20=EC=BD=94=EB=93=9C=203=EB=B2=88=20?= =?UTF-8?q?=ED=8B=80=EB=A6=B0=20=EA=B2=BD=EC=9A=B0,=20redis=20userSession?= =?UTF-8?q?=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/ftclub/cabinet/lent/service/LentFacadeService.java | 1 - .../java/org/ftclub/cabinet/lent/service/LentRedisService.java | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/main/java/org/ftclub/cabinet/lent/service/LentFacadeService.java b/backend/src/main/java/org/ftclub/cabinet/lent/service/LentFacadeService.java index 2d293beac..62a615afd 100644 --- a/backend/src/main/java/org/ftclub/cabinet/lent/service/LentFacadeService.java +++ b/backend/src/main/java/org/ftclub/cabinet/lent/service/LentFacadeService.java @@ -338,7 +338,6 @@ public void cancelShareCabinetLent(Long userId, Long cabinetId) { Cabinet cabinet = cabinetQueryService.getCabinetForUpdate(cabinetId); cabinetCommandService.changeStatus(cabinet, CabinetStatus.AVAILABLE); } - lentRedisService.clearCabinetSession(cabinetId); } /** diff --git a/backend/src/main/java/org/ftclub/cabinet/lent/service/LentRedisService.java b/backend/src/main/java/org/ftclub/cabinet/lent/service/LentRedisService.java index b65a4c2c0..6d2b57f0c 100644 --- a/backend/src/main/java/org/ftclub/cabinet/lent/service/LentRedisService.java +++ b/backend/src/main/java/org/ftclub/cabinet/lent/service/LentRedisService.java @@ -160,6 +160,8 @@ public void deleteUserInCabinet(Long cabinetId, Long userId) { lentRedis.deleteUserInCabinet(cabinetIdString, userIdString); if (lentRedis.countUserInCabinet(cabinetIdString) == 0) { lentRedis.deleteShadowKey(cabinetIdString); + clearCabinetSession(cabinetId); + } }