-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Feature Request: Swimlane/List/Board/Card templates #2165
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
Comments
Yes there is interest, you can add bounty of $350 to This feature does not exist in Wekan yet. |
Added bounty of $350 |
Added $300 more to reach target request of $650. 2nd $300 expires in 3 months, first $350 does not. |
@andresmanelli is currently working on this. |
@xet7 Thanks for the heads up. I will lean on the community for proper code review/following your guidelines for submission. @andresmanelli if you could submit a few screenshots/concepts when you have a moment, would be fantastic. |
I'll share my concepts/progress as soon as I can. I'm just starting on this :D |
@andresmanelli Cool. My general idea is to then further extend templating to boards followed by users if that helps from a code point of view. |
@rterwedo Yes, I was actually planning to add templating as a general case, at least from a model point of view (Cards/Lists/Swimlanes/Boards). I'm working on my data model. Once I have a minimal mock-up I'll push to my fork so you can take a look 😄 |
@andresmanelli Ok cool - you rock. Consider also the concept of templated users (ie with boards that contain swimlanes, etc) |
Hello, here is a gif showing the progress so far. Short wiki
ImportantAs swimlanes and lists are managed by their Try it outI pushed my commits to my fork. Using the wekan-dev environment it should be fairly easy to try this out. What's missing
|
and if something is not automatically fixed, do some web searches how to fix it. |
With my existing Wekan boards, after fixing lint errors, All Boards page has only Add board button etc, but no boards listed at all. So I can only change to those boards that have shortcuts. |
@xet7 Pushed the rebased branch (I did not fix lint errors on wekanCreator.js and filter.js because I didn't modify these files. I didn't add migrations yet, so your boards are missing the Could you try it with a fresh database? |
Yes I can try. Please add migrations. |
In mobile view, that you see by making browser window less wide, Card/List/Swimlane templates duplicated so that for example Cards templates lists all Card/List/Swimlane templates, etc. |
@xet7 Fixed the miniscreen render issues |
@xet7 Pushed migrations |
I merged your changes to Wekan edge branch and added Finnish translation. At templates board words Templates/Card/Swimlane/Board Templates are not translated. Although, it is good that it's possible to change name of board Templates. I would think that if Templates and Welcome board has default texts, if user language is different, those text could be translated to different language. |
You can merge latest changes from Wekan edge branch to your edge branch. When I add new template boards to Templates, click linked template board, then in Lists mode I can not add new List, Enter and Save button of list name does not work. It's only possible to modify template board after changing from Lists mode to Swimlanes mode. |
After above, Lists view is always empty on Welcome board and other boards. This also make public boards show empty, because public boards show only List view. When logged in, if I try to add new lists, it does not show in Lists mode, but they are created anyway and are visible in Swimlanes mode. Also, I'm thinking, that maybe it's better that there would be no Welcome board at all. That way it would not need to be translated. Most users import or create custom board anyway. It should just be possible to create new board (or import), and have default swimlane. It would also be good to fix #1959 so that when default swimlane is deleted, it would be possible to create new swimlane anyway. |
Hello @xet7, thanks for the feedback. I pushed the fix to my fork, and added board creation from templates. What do you think about copying labels if same color and text is found on the target board? It would be handy. TODO
|
Yes labels etc should be copied. Is there some way to copy existing board/list/card to template? |
I forgot that ! Not for the moment, but should be quite straight forward. Added to the list of todos |
Would it be possible to export/import cards/lists/swimlanes as JSON ? It would help a lot. Although I don't know would it be out of scope. There is some open issues about those already. |
@xet7 I'm not really sure, at least not before finishing the templating inside wekan. I'd have to take a look at the board export-import methods and find a way to have a consistent export-import behavior. |
We must have added some common code yes, as my I'll change a little bit those functions to make them for generic and clean. I should probably talk to him and synchronize the two issues :) |
Wekan v2.29 is now released, it includes current version of Templates feature. Please test. @andresmanelli will add remaining TODO items later. |
@xet7 I will not be able to test for sometime due to family/travel schedule, etc. If the community thinks its ok, I will not hold the bounty hostage and can release - hopefully if there are issues later that I find they will be fixed by @andresmanelli ? Is docker image updated @xet7 ? |
Yes Docker image is updated, v2.29 and latest tags are here: I did test that templates do work, it's possible to add templates and insert those. I will close this issue now and move remaining to new issue, they will be fixed by @andresmanelli . I will also give info to @andresmanelli how to claim bounty. |
Would be great if you could template swimlanes.
For example, say a swimlane represents a client, and for every client you have the same 15 cards/tasks.
When creating a new swimlane, you could chose from a template instead of making same cards every time.
If there is interest, I will register a bounty of $350. If this exists and I am an idiot (could not find in docs) - I will pay $100 to update docs. =)
The text was updated successfully, but these errors were encountered: