Fancier drag & drop indicator, emoji icon for emoji, upload progress (fix #295)
This commit is contained in:
parent
3e2d6ea408
commit
d7c6c6dbe1
13 changed files with 244 additions and 75 deletions
|
@ -30,7 +30,6 @@ const mapStateToProps = (state, props) => {
|
|||
spoiler_text: state.getIn(['compose', 'spoiler_text']),
|
||||
unlisted: state.getIn(['compose', 'unlisted'], ),
|
||||
private: state.getIn(['compose', 'private']),
|
||||
fileDropDate: state.getIn(['compose', 'fileDropDate']),
|
||||
focusDate: state.getIn(['compose', 'focusDate']),
|
||||
preselectDate: state.getIn(['compose', 'preselectDate']),
|
||||
is_submitting: state.getIn(['compose', 'is_submitting']),
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
import { connect } from 'react-redux';
|
||||
import UploadProgress from '../components/upload_progress';
|
||||
|
||||
const mapStateToProps = (state, props) => ({
|
||||
active: state.getIn(['compose', 'is_uploading']),
|
||||
progress: state.getIn(['compose', 'progress'])
|
||||
});
|
||||
|
||||
export default connect(mapStateToProps)(UploadProgress);
|
Loading…
Add table
Add a link
Reference in a new issue