Skip to content

Commit

Permalink
Merge pull request #1014 from CruGlobal/appeal-tour
Browse files Browse the repository at this point in the history
New Appeal Tour and inclusion and exclusion filters
  • Loading branch information
dr-bizz authored Aug 29, 2024
2 parents ec9c73f + 742ba4d commit 5c1f773
Show file tree
Hide file tree
Showing 29 changed files with 1,992 additions and 912 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,12 @@ export const AppealsWrapper: React.FC<Props> = ({ children }) => {
) {
setPage(PageEnum.DetailsPage);
setContactId(appealIdParams);
} else if (length > 2) {
} else if (length === 3 && appealIdParams[2].toLowerCase() === 'tour') {
setPage(PageEnum.ContactsPage);
setContactId(appealIdParams);
} else if (length > 2) {
setPage(PageEnum.DetailsPage);
setContactId(appealIdParams);
}
}, [appealIdParams, accountListId]);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { ReactElement } from 'react';
import { useTranslation } from 'react-i18next';
import { loadSession } from 'pages/api/utils/pagePropsHelpers';
import AppealsDetailsPage from 'src/components/Tool/Appeal/AppealsDetailsPage';
import AppealsDetailsPage from 'src/components/Tool/Appeal/AppealDetails/AppealsDetailsPage';
import { ToolsWrapper } from '../../ToolsWrapper';
import { AppealsWrapper } from '../AppealsWrapper';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { DynamicContactsRightPanel } from 'src/components/Contacts/ContactsRight
import { SidePanelsLayout } from 'src/components/Layouts/SidePanelsLayout';
import { headerHeight } from 'src/components/Shared/Header/ListHeader';
import { ContactContextTypesEnum } from 'src/lib/contactContextTypes';
import { AppealsLeftPanel } from './AppealDetails/AppealLeftPanel/AppealsLeftPanel';
import { AppealsMainPanel } from './AppealDetails/AppealsMainPanel/AppealsMainPanel';
import { AppealsContext, AppealsType } from './AppealsContext/AppealsContext';
import { AppealsContext, AppealsType } from '../AppealsContext/AppealsContext';
import { AppealsLeftPanel } from './AppealLeftPanel/AppealsLeftPanel';
import { AppealsMainPanel } from './AppealsMainPanel/AppealsMainPanel';

const AppealsDetailsPage: React.FC = () => {
const { filterPanelOpen, setContactFocus, contactDetailsOpen } = useContext(
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 5c1f773

Please sign in to comment.