[No Jira Issue] IF-LGSP-LOG-005 (GNB 이력) Magic Mouse 대응 (HomePanel)

1. actionTypes.js
2. homeActions.js
3. logActions.js
4. deepLinkHandler.js
5. TabLayout.jsx
6. homeReducer.js
7. HomePanel.jsx

- updateSpotlightId → updateHomeInfo
- modify the deepLinkHandler func
- modify the doSendLogGNB func
This commit is contained in:
younghoon100.park
2024-11-13 11:14:46 +09:00
parent 4c8da84f19
commit 661ea033eb
7 changed files with 28 additions and 27 deletions

View File

@@ -1,6 +1,6 @@
import { setSecondLayerInfo } from "../actions/commonActions";
import { updateHomeInfo } from "../actions/homeActions";
import { pushPanel } from "../actions/panelActions";
import { LOG_MENU, LOG_TP_NO, panel_names } from "../utils/Config";
import { LOG_MENU, panel_names } from "../utils/Config";
//V2_진입경로코드_진입경로명_MT_노출순번
export const handleDeepLink = (contentTarget) => (dispatch, getState) => {
@@ -229,17 +229,16 @@ export const handleDeepLink = (contentTarget) => (dispatch, getState) => {
}
if (panelName) {
console.log("handleDeepLink - panelName", panelName, panelInfo);
const action =
panelName === panel_names.HOME_PANEL ? updateHomeInfo : pushPanel;
dispatch(
pushPanel({
action({
name: panelName,
panelInfo: { ...panelInfo, linkTpCd },
})
);
}
} else {
console.log("handleDeepLink - no target");
}
}
};