You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just completed the course, and I wondered why I couldn't move tasks between boards, Real Trello style. As such, I've included some code that makes just that possible.
All in all, there is probably only 15-20 lines of actual code changes for it to work. And I believe it is worth it =D.
All in all there was a fairly minimal amount of code for it to work. And I think it enhances the appeal of the application quite a bit, even if it is just a small project.
I haven't included the changes to the styles. But if people want it to work, then the only thing that needs to change is to take into account that there is another layer in the div in both files.
Thanks this is really cool!
For the css it the class "container" in board-list.component.html makes the boards display vertically, if you want it horizontal again you can add (not sure if it was just my code)
Thanks this is really cool!
For the css it the class "container" in board-list.component.html makes the boards display vertically, if you want it horizontal again you can add (not sure if it was just my code)
Yes, as there is an extra div. The flexbox will only apply to the top level div, as such, it becomes vertical. You are correct that it should be moved down into the div.container.
I just completed the course, and I wondered why I couldn't move tasks between boards, Real Trello style. As such, I've included some code that makes just that possible.
All in all, there is probably only 15-20 lines of actual code changes for it to work. And I believe it is worth it =D.
For this to work, the containerIds, have to have proper ids. Otherwise it wont work.
The board list now needs a new handler for the array move
This will allow, the board list to make the actual commit.
Add the handler to the html
Now to add the last task to move the item in the db.
All in all there was a fairly minimal amount of code for it to work. And I think it enhances the appeal of the application quite a bit, even if it is just a small project.
I haven't included the changes to the styles. But if people want it to work, then the only thing that needs to change is to take into account that there is another layer in the div in both files.
Like this.
The text was updated successfully, but these errors were encountered: