Skip to content

Commit

Permalink
[REFACTOR] change deep link
Browse files Browse the repository at this point in the history
  • Loading branch information
nogamsung committed Feb 19, 2024
1 parent da83071 commit c8fbf4f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
@RequiredArgsConstructor
public enum DeepLinkType {

HOME_PAGE("gabojait://home", "홈페이지"),
TEAM_PAGE("gabojait://team", "팀 페이지"),
REVIEW_PAGE("gabojait://my/team-history/review", "리뷰 작성 페이지"),
USER_OFFER_RECEIVE_PAGE("gabojait://my/offer/user/received", "회원 제안 페이지"),
TEAM_OFFER_RECEIVE_PAGE("gabojait://my/offer/team/received", "팀 제안 페이지")
HOME_PAGE("gabojait://MainBottomTabNavigation/Home/GroupList", "홈페이지"),
TEAM_PAGE("gabojait://MainBottomTabNavigation/Team", "팀 페이지"),
REVIEW_PAGE("gabojait://MainNavigation/TeamHistory", "리뷰 작성 페이지"),
USER_OFFER_RECEIVE_PAGE("gabojait://MainNavigation/OfferFromTeam", "회원 제안 페이지"),
TEAM_OFFER_RECEIVE_PAGE("gabojait://MainNavigation/TeamHistory", "팀 제안 페이지")
;

private final String url;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ class DeepLinkTypeTest {

private static Stream<Arguments> providerGetUrlAndDescription() {
return Stream.of(
Arguments.of(DeepLinkType.HOME_PAGE, "gabojait://home", "홈페이지"),
Arguments.of(DeepLinkType.TEAM_PAGE, "gabojait://team", "팀 페이지"),
Arguments.of(DeepLinkType.REVIEW_PAGE, "gabojait://my/team-history/review", "리뷰 작성 페이지"),
Arguments.of(DeepLinkType.USER_OFFER_RECEIVE_PAGE, "gabojait://my/offer/user/received", "회원 제안 페이지"),
Arguments.of(DeepLinkType.TEAM_OFFER_RECEIVE_PAGE, "gabojait://my/offer/team/received", "팀 제안 페이지")
Arguments.of(DeepLinkType.HOME_PAGE, "gabojait://MainBottomTabNavigation/Home/GroupList", "홈페이지"),
Arguments.of(DeepLinkType.TEAM_PAGE, "gabojait://MainBottomTabNavigation/Team", "팀 페이지"),
Arguments.of(DeepLinkType.REVIEW_PAGE, "gabojait://MainNavigation/TeamHistory", "리뷰 작성 페이지"),
Arguments.of(DeepLinkType.USER_OFFER_RECEIVE_PAGE, "gabojait://MainNavigation/OfferFromTeam", "회원 제안 페이지"),
Arguments.of(DeepLinkType.TEAM_OFFER_RECEIVE_PAGE, "gabojait://MainNavigation/TeamHistory", "팀 제안 페이지")
);
}

Expand Down

0 comments on commit c8fbf4f

Please sign in to comment.