Skip to content

Move Bug fixes - #14625

Merged
mushtaqak merged 1 commit into
mushtaq/move-componentfrom
mushtaq/bug-bash-fixes
Mar 9, 2017
Merged

Move Bug fixes#14625
mushtaqak merged 1 commit into
mushtaq/move-componentfrom
mushtaq/bug-bash-fixes

Conversation

@mushtaqak

@mushtaqak mushtaqak commented Mar 3, 2017

Copy link
Copy Markdown
Contributor

This PR fixes the bugs found in Move feature bug bash. Following are the bugs that are fixed :

  1. Backend: Move component directly to content experiment level (component will now be the sibling of groups)

  2. Fixed Move button is disabled when moving components inside conditional module

  3. Fixed When navigating upward/backward, target parent is not set correct, resulting source to be moved in the previously selected parent

  4. After a component is moved, Published version is not changed to Draft version unless user manually refreshes the page.

Sandbox

@mushtaqak

Copy link
Copy Markdown
Contributor Author

jenkins run bokchoy

@mushtaqak

Copy link
Copy Markdown
Contributor Author

jenkins run lettuce

@mushtaqak
mushtaqak force-pushed the mushtaq/bug-bash-fixes branch from 03c9480 to bc43ad7 Compare March 8, 2017 07:33

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mushtaqak typo : sourcepParentHasChildren -> sourceParentHasChildren

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why hiding this ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After move, move dialog need to be closed. We were previously doing this too.

Comment thread cms/static/js/views/pages/container.js Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Little comment would be helpful to understand underlying purpose.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not use single line doc strings..

@muzaffaryousaf

Copy link
Copy Markdown

@mushtaqak This looks good now 👍

@muhammad-ammar muhammad-ammar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great 👍

…omponent will now be the sibling of groups)

Fixed Move button is disabled when moving components inside conditional module

Fixed When navigating upward/backward, target parent is not set correct, resulting source to be moved in the previously selected parent
@mushtaqak
mushtaqak force-pushed the mushtaq/bug-bash-fixes branch from bc43ad7 to e83bee6 Compare March 8, 2017 11:50
@mushtaqak

Copy link
Copy Markdown
Contributor Author

jenkins run lettuce

@muzaffaryousaf

Copy link
Copy Markdown

@mushtaqak Let's merge this as it.

@mushtaqak

Copy link
Copy Markdown
Contributor Author

@muzaffaryousaf So we are merging this ?

@mushtaqak
mushtaqak merged commit 3a9dc5d into mushtaq/move-component Mar 9, 2017
@mushtaqak mushtaqak mentioned this pull request Mar 14, 2017
@mushtaqak
mushtaqak deleted the mushtaq/bug-bash-fixes branch May 10, 2017 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants