-
Notifications
You must be signed in to change notification settings - Fork 177
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
Vueified channel list page #1264
Vueified channel list page #1264
Conversation
…into vue-channel-list # Conflicts: # contentcuration/contentcuration/static/js/edit_channel/new_channel/views.js
This is a prolific PR! |
Should probably have a shared parent/templating component.
Vue channels list
…into vue-channel-list # Conflicts: # CHANGELOG.md
…t-curation into vue-channel-list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some things that could be cleaned up, I think. Have not manually tested yet.
contentcuration/contentcuration/static/js/edit_channel/channel_list/constants.js
Outdated
Show resolved
Hide resolved
]), | ||
{ | ||
channelStrings() { | ||
return channelStrings; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pattern has cropped up on Kolibri too - seems like it is probably worth my while thinking about how to make $trs
work for mixins.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be great!
contentcuration/contentcuration/static/js/edit_channel/channel_list/mixins.js
Outdated
Show resolved
Hide resolved
contentcuration/contentcuration/static/js/edit_channel/channel_list/mixins.js
Outdated
Show resolved
Hide resolved
contentcuration/contentcuration/static/js/edit_channel/channel_list/mixins.js
Outdated
Show resolved
Hide resolved
contentcuration/contentcuration/static/js/edit_channel/channel_list/views/ChannelListPage.vue
Show resolved
Hide resolved
contentcuration/contentcuration/static/js/edit_channel/channel_list/views/ChannelStar.vue
Outdated
Show resolved
Hide resolved
contentcuration/contentcuration/static/js/edit_channel/channel_list/vuex/getters.js
Outdated
Show resolved
Hide resolved
contentcuration/contentcuration/static/js/edit_channel/channel_list/vuex/mutations.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good, all issues addressed. Manual walk through, everything is functional and looks as expected.
Description
Vueified channel list page
Issue Addressed (if applicable)
#900
#721
#1258
Steps to Test
Implementation Notes (optional)
Does this introduce any tech-debt items?
I have added a
TODO: REMOVE BACKBONE
comment wherever we can remove our dependency on backboneAs for testing, I was unable to check if a modal has properly been opened (we're still using bootstrap modals). Also, I wasn't able to mock jquery requests as it interferes with backbone's models. I added TODOs in each of these locations
Also, it might be worth considering adding a central studioVue instance to avoid a lot of repetitive Vue.use(Vuex) code
Checklist