-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Add Feature: Board templates or other stuff #446
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
Conversation
f4c16b6
to
24b9ce0
Compare
Generally speaking I would remove the notion of a “board template” from the code base in favor of simpler “clone” feature, I exposed this idea in #308 (comment). I’m also experimenting (for the first time with this PR) with a new code review application. It has happen a few times that I put a comment on a GitHub PR, and then the code change so GitHub hide the comment whereas it’s still not addressed. So we will see if Reviewable.io improve things or not, feel free to comment if you have an opinion on this :-) Reviewed 4 of 4 files at r1. client/components/boards/boardHeader.jade, line 85 [r1] (raw file): Anyway this whole class of issues will disappear with the soon to come migration to React. client/components/boards/boardHeader.js, line 218 [r1] (raw file): models/boards.js, line 347 [r1] (raw file): models/boards.js, line 399 [r1] (raw file): models/boards.js, line 406 [r1] (raw file): models/boards.js, line 411 [r1] (raw file): Comments from the review on Reviewable.io |
On the review process, I don’t really like the default way of batching all the comments in a single message, will see if I can configure so that it interfaces with GitHub inline comments. |
models/boards.js, line 411 [r1] (raw file): Comments from the review on Reviewable.io |
Reviewed 1 of 4 files at r1, 1 of 2 files at r2. Comments from the review on Reviewable.io |
This review tool is not bad. Have a try. :-) You are correct, cloning a empty board is importing template. Will it be over-engineering if clone all cards (and attachments, comments)? My own use case is to setup a new board, and the needs in #308 discussion seems same. And, a possible use case is, there are already some cards on current board, and user may wanna keep them, but apply template only. Should give user the option to select what to clone: members, labels, lists, cards, attachments, comments? Comments from the review on Reviewable.io |
Review status: 3 of 4 files reviewed at latest revision, 5 unresolved discussions. client/components/boards/boardHeader.jade, line 88 [r2] (raw file): Comments from the review on Reviewable.io |
client/components/boards/boardHeader.jade, line 85 [r1] (raw file): Comments from the review on Reviewable.io |
client/components/boards/boardHeader.js, line 218 [r1] (raw file): Comments from the review on Reviewable.io |
models/boards.js, line 347 [r1] (raw file): Comments from the review on Reviewable.io |
models/boards.js, line 399 [r1] (raw file): Comments from the review on Reviewable.io |
models/boards.js, line 406 [r1] (raw file): Comments from the review on Reviewable.io |
Review status: 3 of 4 files reviewed at latest revision, 6 unresolved discussions. client/components/boards/boardHeader.jade, line 85 [r1] (raw file): Comments from the review on Reviewable.io |
client/components/boards/boardHeader.jade, line 88 [r2] (raw file): Comments from the review on Reviewable.io |
client/components/boards/boardHeader.jade, line 85 [r1] (raw file): Comments from the review on Reviewable.io |
Reviewed 1 of 1 files at r3. Comments from the review on Reviewable.io |
@mquandalle Is this going to be merged? I though the code review is already done? |
So first of all I have to apologize to @floatinghotpot because I did the code review before actually running the code on my machine as I was excited to test Reviewable (I’m happy with it BTW, it allows me to keep track of sub issues in a better way and it supports git rebasing). So I actually misunderstood this feature as being a “full clone” feature whereas it is actually a way to re-use a board template (similar to what is discussed in #308). This doesn’t change much in my review, just the fact that not copying archived lists as you originally did @floatinghotpot, was actually making sense. Also I feel like the UX is not intuitive, because you first have to create a board and then go in the board menu to “Import template” (and if you already have some data in the board the UI will alert you that the board structure will be overwritten, “This action will overwrite current members, labels and lists.”). I think this feature makes much more sense as an option in the creation form: I’m not sure about the actual UI, I just modified the HTML in the browser tool to share the idea that the template should be defined on the board instantiation, not by overwriting any structure at a latter time. Also I would really like this feature to be implemented as a plugin, maybe installed and activated by default, but the plugin work will rely on Meteor 1.3 that is currently not working with Wekan. Hopefully MDG will release a new beta this week so I can start writing a |
Yes, I thought of adding it when creating a new board, but did it in current ugly way in a hurry for our project needs. I will wait your plugin system ready, then re-write it. |
@mquandalle @floatinghotpot, this is a great feature! What do we need to get this thru? |
How is the status of this project ? |
Status? |
This old PR is not related to current Template issue #2165 that is not merged yet. Template issue will be added to stable release when it works. |
Wekan v2.29 is now released, it includes current Templates feature that is in progress. If you find some new bugs, please add comment to #2165 |
@xet7 is this one still relevant? |
No, Wekan already has board templates. |
clone board template from another board to current board, including members, labels, and lists, thus a new board can be quickly setup.