-
Notifications
You must be signed in to change notification settings - Fork 187
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
Channel page fixes #1364
Channel page fixes #1364
Conversation
Develop -> Staging
…into channel-page-fixes
@@ -84,7 +84,7 @@ describe('channelEditor', () => { | |||
let nameInput = wrapper.find('.channel-name'); | |||
nameInput.element.value = newName; | |||
nameInput.trigger('input'); | |||
nameInput.trigger('blur'); | |||
nameInput.trigger('change'); |
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 fixes the problem of pressing Enter
on the editor as it fires before the submit function is emitted. It still keeps the event from firing super often still though as it will trigger once the user exits the textbox
@@ -4,6 +4,8 @@ import State from 'edit_channel/state'; | |||
|
|||
import Models from 'edit_channel/models'; | |||
|
|||
require('jquery-file-download'); |
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.
Fixes channel details exporting as this got removed by the linter originally
@@ -81,6 +83,7 @@ export function deleteChannel(context, channelID) { | |||
new Models.ChannelModel(channel).save( | |||
{ deleted: true }, | |||
{ | |||
patch: true, |
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 fixes channel deletion as we just want to change the 'deleted' field and nothing else
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.
LGTM! Tested all issues fixed!
Issue Addressed (if applicable)
Fixes #1337
Fixes #1320
Fixes #1319
Before/After Screenshots (if applicable)
Insert images here
Steps to Test
Implementation Notes (optional)
At a high level, how did you implement this?
Briefly describe how this works
Does this introduce any tech-debt items?
List anything that will need to be addressed later
Checklist
Delete any items that don't apply
docs
label been added if this introduces a change that needs to be updated in the user docs?CHANGELOG
label been added to this pull request? Items with this label will be added to the CHANGELOG at a later time