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

Curriculum editor's file uploader should check file size before uploading #101

Closed
harigopal opened this issue Oct 29, 2019 · 1 comment
Closed
Assignees
Labels
enhancement New feature or request
Projects

Comments

@harigopal
Copy link
Member

harigopal commented Oct 29, 2019

Right now, it doesn't seem to have any client-side check, which means that a file has to be fully uploaded before the server can reject it, which is just silly.

An example of such a client-side check can be found in the MarkdownEditor.re's attachFile function.

@harigopal harigopal added the enhancement New feature or request label Oct 29, 2019
@harigopal harigopal added this to To do in Development via automation Oct 29, 2019
@harigopal harigopal moved this from To do to Up Next in Development Oct 29, 2019
@bodhish bodhish moved this from Up Next to Needs review in Development Nov 6, 2019
@bodhish bodhish self-assigned this Nov 7, 2019
@harigopal
Copy link
Member Author

This still isn't really fixed because the save button is enabled even after the warning about file being too large is displayed. This should be tackled when we rework the curriculum editor.

@harigopal harigopal moved this from Needs review to Up Next in Development Nov 18, 2019
@bodhish bodhish removed their assignment Nov 19, 2019
@harigopal harigopal moved this from Up Next to In progress in Development Dec 23, 2019
@harigopal harigopal self-assigned this Dec 23, 2019
@harigopal harigopal moved this from In progress to Up Next in Development Jan 9, 2020
@harigopal harigopal moved this from Up Next to In progress in Development Jan 16, 2020
Development automation moved this from In progress to Done Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development
  
Done
Development

No branches or pull requests

2 participants