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
|
@ -35,7 +35,6 @@ const initialState = Immutable.Map({
|
|||
unlisted: false,
|
||||
private: false,
|
||||
text: '',
|
||||
fileDropDate: null,
|
||||
focusDate: null,
|
||||
preselectDate: null,
|
||||
in_reply_to: null,
|
||||
|
@ -163,7 +162,6 @@ export default function compose(state = initialState, action) {
|
|||
case COMPOSE_UPLOAD_REQUEST:
|
||||
return state.withMutations(map => {
|
||||
map.set('is_uploading', true);
|
||||
map.set('fileDropDate', new Date());
|
||||
});
|
||||
case COMPOSE_UPLOAD_SUCCESS:
|
||||
return appendMedia(state, Immutable.fromJS(action.media));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue