-
Notifications
You must be signed in to change notification settings - Fork 55
New saved place UI #1388
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
base: dev
Are you sure you want to change the base?
New saved place UI #1388
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks much cleaner!
@@ -12,9 +12,10 @@ import { | |||
getPlaceMainText | |||
} from '../../../util/user' | |||
import { isBlank } from '../../../util/ui' | |||
import { Plus } from '@styled-icons/fa-solid' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { Plus } from '@styled-icons/fa-solid' | |
import { Plus } from '@styled-icons/fa-solid/Plus' |
Help! Our bundle size!
@@ -12,6 +12,7 @@ import { injectIntl, FormattedMessage } from 'react-intl' | |||
import { connect } from 'react-redux' | |||
import styled from 'styled-components' | |||
import * as yup from 'yup' | |||
import { Trash } from '@styled-icons/fa-solid' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { Trash } from '@styled-icons/fa-solid' | |
import { Trash } from '@styled-icons/fa-solid/Trash' |
aaaaaaa
): void { | ||
toastSuccess( | ||
getPlaceMainText(place, intl), | ||
intl.formatMessage({ | ||
id: 'actions.user.placeRemembered' | ||
id: `actions.user.place${change}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I remember there was discussion a while ago about avoiding dynamic i18n string generation unless we really couldn't avoid it. Maybe a compromise could be
id: `actions.user.place${change}` | |
id: `actions.user.place.${change}` |
Description:
PR Checklist: