This adds ability to refresh the list of uploaded videos without refreshing the whole page. Added a refresh button that when clicked: - fetches a fresh list of uploaded files from the server - updates `PreviousVideoUploadListView` - removes the successfully completed uploads from `ActiveVideoUploadListView` - retains the ongoing or failed uploads in `ActiveVideoUploadListView` so that they can be monitored/retried The view can also be refreshed without user action, but I felt it may be less surprising to have a button instead. MA-333 update: auto-refresh list, fix test failure Changes: 1. Refresh of file list triggered by upload completion. Refresh button retained and label changed to "Refresh List". 2. Added `aria-live="polite"` to `.active-video-upload-list` and `.assets-table`. 3. Removed unused parameter `evt`. 4. Added self to the `AUTHORS` file. MA-333 update: added tests MA-333 update: removed refresh button MA-333 update: address review comments of @mushtaqak MA-333 update: simplify nested `_each` MA-333 update: rename viewRefresh to isViewRefresh MA-333 update: doc string for `clearSuccesful` MA-333 update: fix accessibility MA-333 update: update only successfully uploaded videos MA-333 update: use window.SR feature to notify screen readers that video upload was successful (@pomegranited)
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
components | Loading commit data... | |
modals | Loading commit data... | |
pages | Loading commit data... | |
settings | Loading commit data... | |
utils | Loading commit data... | |
video | Loading commit data... | |
abstract_editor.js | Loading commit data... | |
active_video_upload.js | Loading commit data... | |
active_video_upload_list.js | Loading commit data... | |
asset.js | Loading commit data... | |
assets.js | Loading commit data... | |
baseview.js | Loading commit data... | |
container.js | Loading commit data... | |
content_group_details.js | Loading commit data... | |
content_group_editor.js | Loading commit data... | |
content_group_item.js | Loading commit data... | |
content_group_list.js | Loading commit data... | |
course_info_edit.js | Loading commit data... | |
course_info_handout.js | Loading commit data... | |
course_info_helper.js | Loading commit data... | |
course_info_update.js | Loading commit data... | |
course_outline.js | Loading commit data... | |
course_rerun.js | Loading commit data... | |
edit_chapter.js | Loading commit data... | |
edit_textbook.js | Loading commit data... | |
experiment_group_edit.js | Loading commit data... | |
group_configuration_details.js | Loading commit data... | |
group_configuration_editor.js | Loading commit data... | |
group_configuration_item.js | Loading commit data... | |
group_configurations_list.js | Loading commit data... | |
import.js | Loading commit data... | |
instructor_info.js | Loading commit data... | |
learning_info.js | Loading commit data... | |
library_container.js | Loading commit data... | |
license.js | Loading commit data... | |
list.js | Loading commit data... | |
list_item.js | Loading commit data... | |
list_item_editor.js | Loading commit data... | |
list_textbooks.js | Loading commit data... | |
manage_users_and_roles.js | Loading commit data... | |
metadata.js | Loading commit data... | |
module_edit.js | Loading commit data... | |
paged_container.js | Loading commit data... | |
paging.js | Loading commit data... | |
paging_header.js | Loading commit data... | |
previous_video_upload.js | Loading commit data... | |
previous_video_upload_list.js | Loading commit data... | |
show_textbook.js | Loading commit data... | |
tabs.js | Loading commit data... | |
unit_outline.js | Loading commit data... | |
unit_outline_child.js | Loading commit data... | |
uploads.js | Loading commit data... | |
validation.js | Loading commit data... | |
xblock.js | Loading commit data... | |
xblock_editor.js | Loading commit data... | |
xblock_outline.js | Loading commit data... | |
xblock_string_field_editor.js | Loading commit data... | |
xblock_validation.js | Loading commit data... |