Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed dec 2023 user survey #554

Merged
merged 1 commit into from
Dec 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ import Typography from '@material-ui/core/Typography'
import IconButton from '@material-ui/core/IconButton'
import SettingsIcon from '@material-ui/icons/Settings'
import Chip from '@material-ui/core/Chip'
import Button from '@material-ui/core/Button'

// import Button from '@material-ui/core/Button'

// utils
import withDataSSR from 'src/utils/pageWrappers/withDataSSR'
Expand Down Expand Up @@ -102,7 +103,9 @@ import SearchbarSFACSellNotification from 'src/components/SearchbarSFACSellNotif
import GroupImpactContainer from 'src/components/groupImpactComponents/GroupImpactContainer'
import ShopFullPage from 'src/components/promos/ShopFullPage'
import SearchFullPage from 'src/components/promos/SearchFullPage'
import Notification from 'src/components/Notification'

// import Notification from 'src/components/Notification'

import AddShortcutPageContainer from 'src/components/AddShortcutPageContainer'
import FrontpageShortcutListContainer from 'src/components/FrontpageShortcutListContainer'
import Modal from '@material-ui/core/Modal'
Expand Down Expand Up @@ -755,10 +758,10 @@ const Index = ({ data: fallbackData, userAgent }) => {
notifSearch = null
}

// Our survey notification
const surveyNotif = notificationsToShow.find(
(res) => res.code === 'user-survey-december-2023'
)
// // Our survey notification
// const surveyNotif = notificationsToShow.find(
// (res) => res.code === 'user-survey-december-2023'
// )

// Don't load the page until there is data. Data won't exist
// if the user doesn't have auth cookies and thus doesn't fetch
Expand Down Expand Up @@ -1005,7 +1008,7 @@ const Index = ({ data: fallbackData, userAgent }) => {
* that appear via the UserImpact component.
*/}
<div className={classes.notificationsContainer}>
{surveyNotif ? (
{/* surveyNotif ? (
<Notification
className={classes.notification}
text={
Expand All @@ -1023,9 +1026,9 @@ const Index = ({ data: fallbackData, userAgent }) => {
your feedback. Thanks for Tabbing!
</Typography>
<br />
{/* <Typography variant="body1" gutterBottom>
<Typography variant="body1" gutterBottom>
Thanks for your help!
</Typography> */}
</Typography>
</div>
}
buttons={
Expand All @@ -1041,7 +1044,7 @@ const Index = ({ data: fallbackData, userAgent }) => {
includeClose
onClose={surveyNotif.onDismiss}
/>
) : null}
) : null */}

{/* {notif && notif.variation === 'Version1' ? (
<Notification
Expand Down
Loading