0
0
Fork 0

Replace tutorial modal with welcome e-mail (#6273)

* Remove onboarding modal

* Welcome e-mail

* Send welcome e-mail after confirmation

* Remove obsolete translations
This commit is contained in:
Eugen Rochko 2018-01-18 19:17:25 +01:00 committed by GitHub
parent e56404be41
commit d799921c75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 261 additions and 632 deletions

View file

@ -1,14 +0,0 @@
import { openModal } from './modal';
import { changeSetting, saveSettings } from './settings';
export function showOnboardingOnce() {
return (dispatch, getState) => {
const alreadySeen = getState().getIn(['settings', 'onboarded']);
if (!alreadySeen) {
dispatch(openModal('ONBOARDING'));
dispatch(changeSetting(['onboarded'], true));
dispatch(saveSettings());
}
};
};