8000 Add Feature: Swimlanes (rows) · Issue #955 · wekan/wekan · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add Feature: Swimlanes (rows) #955

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

Closed
brylie opened this issue Mar 30, 2017 · 41 comments
Closed

Add Feature: Swimlanes (rows) #955

brylie opened this issue Mar 30, 2017 · 41 comments

Comments

@brylie
Copy link
Contributor
brylie commented Mar 30, 2017

Context

A common practice in Agile/Lean development is to group tasks by User Story. To facilitate the grouping, some Kanban tools support both rows and columns. The columns are commonly used to track task status/progress while rows provide a secondary grouping, such as:

  • user story
  • software component
  • team

Feature request

Allow Wekan boards to support multiple rows.

Example media

swimlanes on StackOverflow discussion

kanban flow swimlanes

Additional examples

@76house
Copy link
76house commented May 3, 2017

Swimlanes are definitely neeed when you want to keep the planing synchronized for multiple teams or projects.

@brylie
Copy link
Contributor Author
brylie commented May 4, 2017

I am interested to know why this proposal has been downvoted. What are some of the down-sides to allowing boards to have swimlanes?

@xet7
Copy link
Member
xet7 commented May 4, 2017

@76house @brylie

Please ignore all trolls, spammers, downvotes etc in our issues, and discussion about those. All feature requests are considered good and can be implemented by those that wish to do so.
https://github.com/wekan/wekan/wiki/FAQ

@siepkes
Copy link
siepkes commented Jun 6, 2017

There are some interesting reads on the web as to why horizontal rows (swimlanes) can make sense:

@xet7 xet7 changed the title Feature request: Swimlanes (rows) Add Feature: Swimlanes (rows) Jul 13, 2017
@xet7
Copy link
Member
xet7 commented Jul 26, 2017

Someone could look how swimlanes is implemented at Kanboard to get some ideas or use same libraries. Both Wekan and Kanboard use MIT license.

@jadbox
Copy link
jadbox commented Jan 11, 2018

Any update on this?

@xet7
Copy link
Member
xet7 commented Jan 11, 2018

@jadbox

There is no bounties for this feature. More info about bounties here.

At old roadmap and new roadmap lists planned and in progress it seems that nobody is working on this feature.

This does not seem to be so important to have in near future.

@andresmanelli
Copy link
Contributor

Hello, I have a basic draft of swimlanes for Wekan. Could someone try it out?

Repo

What is implemented:

  • Default swimlane when board is created
  • Add swimlane
  • Move cards between swimlanes

What is missing:

  • Remove swimlane
  • Rename swimlane
  • Migrate to swimlane-enabled Wekan? Move cards to default swimlane?
  • ...

Note: All lists are shared across swimlanes. They belong to the board. So if a new list is created, it appears automatically on all swimlanes.

Screenshot

seleccion_001

@xet7
Copy link
Member
xet7 commented Jan 19, 2018

I did try that code. Suggestions:

  • Fix lint errors. Warnings are OK, they don't need to be fixed.
  • Layout change on board menu: horizontal/vertical/swimlane (vertical later), saved to board settings like board color, so it changes layout for all board members. If there are better official names for those, like horizontal=kanban and vertical=something else, then suggestions welcome.

That offtopic vertical layout is mentioned at separate themes issue and looks similar like this Jira screenshot middle column. Vertical layout can be looked at later.

jira-vertical

Comments, anybody?

@xet7
Copy link
Member
xet7 commented Jan 19, 2018

Reminder to myself:

  • Check my notes about other swimlanes functionality wishes I did get previously, add to here

@xet7
Copy link
Member
xet7 commented Jan 21, 2018

Optional, maybe later additions. These partially are related to filtering.

Ability to hide:

  • row
  • column
  • cards that have some label
  • some users
  • show only my own cards

These would need some logical UI design.

@xet7
Copy link
Member
xet7 commented Jan 27, 2018

Today's release v0.65 includes Swimlanes part 1, please test Docker image at Quay.io:
https://github.com/wekan/wekan/releases

@scoubidoo
Copy link
scoubidoo commented Jan 29, 2018

thx for this feature, i don't know how to delete a Swimlanes when i create 2 instead of 1 ?
-in swimlanes mode i can't have the detail of the card when i click

@andresmanelli
Copy link
Contributor

Hello @scoubidoo, I didn't get much free time to continue this development but it is in my TODO list.

What is missing:

  • Changing the name is not possible yet
  • Sort capability
  • Delete capability
  • ...

For the moment there basic functionality, I hope I have more time this week to continue.

@scoubidoo
Copy link

@andresmanelli ok no pb, i give you my feedback about this new feature
Thx for giving your time to make a better Wekan :)

@naveengh
Copy link
naveengh commented Feb 1, 2018

Thanks.... I was also waiting for this.

An ability to add and hide swim lanes is great if you can add.

@andresmanelli
Copy link
Contributor

Hello again,

@naveengh I just pushed a couple of commits that adds name edition and archive capability. Tests are welcome!

@xe7 Could you or someone check if including commiit andresmanelli@42bc905 everything works fine? It works for me, but some people had issues, maybe because of cherry picking.

Anyway, I'll try to add the sort capabiliity in a couple of days.

@rzoss
Copy link
rzoss commented Feb 2, 2018

Hi Everybody
Wekan has a high potential to replace our painful Excel Kanban board. I'm looking forward to see the swimline feature in a stable release soon. But something we are using today in the Excel and paper board is missing in all known kanban web boards. I just explain how we use the boards:

Each Project (or several similar Projects) have their own board. They plan development tasks with a lengt of 1-4 weeks. Each development task creates a swimline on the board with subtaks (should be around one day of work). The subtasks are then moved from "backlog" to "in progress" to "in review" and finally to "done".

What we need now is the possibility to add some Attibutes to the Swimline. At least the following attributes are needed:

  • Task or Incident number (would be good to create a link)
  • Title of the Task or Incident
  • Responsible user(s)
  • Planned Effort (orignial estimation)
  • Planned Effort (actual estimation)
  • Start date
  • End date

The best would be to add the possibility to define custom optional attributes for the swimlines. This would fullfill everyones requirements by configuration.

@xet7
Copy link
Member
xet7 commented Feb 2, 2018

BTW, @andresmanelli is doing excellent work with adding swimlanes, adding features, fixing bugs etc. I really recommend all users of swimlanes feature to add to bounty at https://www.bountysource.com/issues/43611228-add-feature-swimlanes-rows because there is none yet, and feature request list just keeps growing. More info about bounties at https://wekan.team .

@rzoss

Wekan does not have any separate development and stable releases. There is only newest release, which currently is v0.70. We rely on Wekan users to add GitHub issues about bugs and feature requests.

I don't know what you mean by attributes to Swimline. Wekan cards already have:

  • Markdown for card text, formatting, links, etc
  • Responsible members can be added to cards
  • Spent time/Overtime
  • Start Date
  • Due Date
  • Gogs integration, similar workflows could be used https://github.com/wekan/wekan-gogs

Wekan will sometime also have

So I don't know are you asking something that does not exist yet. Please add more details, screenshot mockups etc about what you would like to have.

@naveengh
Copy link
naveengh commented Feb 5, 2018

@andresmanelli

Thank you. I’m looking forward to test that feature once I get Wekan installed. Thanks for working on it and I will get back with testing results.

@xet7 , I hope you have this feature on latest build. Thank you

@xet7
Copy link
Member
xet7 commented Feb 5, 2018

@naveengh

Yes, swimlanes is included in latest Wekan release.

@rzoss
Copy link
rzoss commented Feb 5, 2018

BTW you all do a great job here. There is so much flow in this project. I'm still impressed ...

Back to my idea to have attributes for the swimline. I assume something similar to this:

image

The first line is the so called identifier for the swimline. This means in our case a development task in a life cycle management tool. I have now decided to install wekan in the latest version in our environment and will use it as shown 8000 in the print screen above. What i mean is to add the attributes in the card in line "title" directly to the swimline.

@andresmanelli
Another feature for swimline which would be great is the possibility to move them up and down to rearrange the priorities.

@andresmanelli
Copy link
Contributor

Hello,

I just wanted to say that I've my hands full and don't have any time these days to commit any changes. I try to add features and bug fixes as soon as I can. I see people are asking because things can be broken (#1492). Sorry about that, doing my best !

@xet7
Copy link
Member
xet7 commented Feb 21, 2018

@andresmanelli

Thanks for update! I added it to Roadmap https://github.com/wekan/wekan/projects/2

Please do what is most important to you, there are other contributors that can look at those issues. Do not take any pressure about Wekan contributions, afaik you did not have any bounties yet, so we are just grateful what you did already. There is no requirement to spend additional time.

@andresmanelli
Copy link
Contributor

Hello @xet7 @naveengh , commit andresmanelli@37c9462 adds reordering capability to swimlanes.

@xet7 could you include this one and the one mentioned in #1487 ?

@andresmanelli
Copy link
Contributor

@xet7 commit andresmanelli@8d2839f fix lists reorder in lists view. I don't remember any more where this was discussed.

xet7 added a commit that referenced this issue Feb 28, 2018
- Avoid swimlane title overlap

Thanks to andresmanelli !
Related #955. Closes #1487
@andresmanelli
Copy link
Contributor

Hello, I just added two commits:

@xet7 could you try those?

@andresmanelli
Copy link
Contributor

Actually, I think the first commit up there also fixes #1497 (alignment). Maybe #1497 should consider only what the OP said:

I'd like to see the list titles only appear once at the top of the list and more distinct vertical lines dividing lists.

@andresmanelli
Copy link
Contributor

Maybe #1521 is related to these commits?

@johnleeming
Copy link

These fixes are a great improvement but don't fully fix the alignment problems I put in #1497. I think that the swimlanes header needs to be set to a fixed width in wekan/client/components/swimlanes/swimlanes.styl, e.g. line 42 change "min-width: 30px;" to "width: 40px". 40 is a minimum, 50 or 60 might be better.

Ideal would be to make it editable via the swim lane header menu but that's beyond me.

to make the dividers more visible I've also done the following, but that's a personal taste issue I think.
client/components/lists/list.styl
12 - border-left: 1px solid darken(white, 20%)
13 - border-bottom: 1px solid #CCC
12 + border-left: 1px solid darken(white, 40%)
13 + border-bottom: 1px solid #AAA

client/components/swimlanes/swimlanes.styl
32 - border-bottom: 1px solid #CCC
32 + border-bottom: 1px solid #AAA

@andresmanelli
Copy link
Contributor

@johnleeming I tried your changes to *.styl files. I personally think 30% is a good compromise as 40% seems a little too dark. Can you try this? :

diff --git a/client/components/lists/list.styl b/client/components/lists/list.styl
index fa32ff6..746e59b 100644
--- a/client/components/lists/list.styl
+++ b/client/components/lists/list.styl
@@ -9,8 +9,8 @@
   // Even if this background color is the same as the body we can't leave it
   // transparent, because that won't work during a list drag.
   background: darken(white, 13%)
-  border-left: 1px solid darken(white, 20%)
-  border-bottom: 1px solid #CCC
+  border-left: 1px solid darken(white, 30%)
+  border-bottom: 1px solid darken(white, 30%)
   padding: 0
   float: left
 
diff --git a/client/components/swimlanes/swimlanes.styl b/client/components/swimlanes/swimlanes.styl
index 29054d3..78f2441 100644
--- a/client/components/swimlanes/swimlanes.styl
+++ b/client/components/swimlanes/swimlanes.styl
@@ -29,7 +29,7 @@
     flex-direction: row;
     flex: 0 0 50px;
     padding-bottom: 30px;
-    border-bottom: 1px solid #CCC
+    border-bottom: 1px solid darken(white, 30%)
 
     .swimlane-header
       writing-mode: vertical-rl;

And about the header width, I didn't understand why to increase the width? Do you see the headers unaligned?

@johnleeming
Copy link

I'm happy with the 30%.
The problem I had was that the swimlane headers were adapting their width to the length of the titles and this was throwing out the alignment of all the lists. see this exaggerated example:
previousvariableheader
my hack is to fix the width of the swimlane header - I think including "min width =" over-rides the flex properties 0 0 - teh exact width could be different. I tried to make it an editable variable in the swimlanes action menu but that's beyond me. My fix does lead to the possibility of ugly word wrapping:
myfixedheader

@andresmanelli
Copy link
Contributor

@johnleeming Isn't this related to #1526?

@johnleeming
Copy link

could be - I'm using Vivaldi browser which is based on the Chromium engine

@xet7
Copy link
Member
xet7 commented Jun 8, 2018

Swimlanes is already in Wekan.

@xet7 xet7 closed this as completed Jun 8, 2018
@ivan-paleo
Copy link

I'm new to Wekan so please excuse me if this is basic or if this has been discussed somewhere else.

In all screenshots I have seen so far, swimlane titles are always shown as row headers. In my case, they are located on top of all the lists (see screenshot).
screenshot

I am not admin on the server so maybe this is a setting I cannot change myself, but if it is, I cannot find how to change it.

Additionally, I haven't found an extensive documentation about Wekan, and in particular, info about swimlanes is difficult to find. Are you considering adding this?

@xet7
Copy link
Member
xet7 commented Oct 15, 2020

@ivan-paleo

Swimlanes was changed from vertical to horizontal at #1688 . It can not be changed to vertical.

There already is Swimlanes documentation at wiki https://github.com/wekan/wekan/wiki right menu Features topic, direct link:
https://github.com/wekan/wekan/wiki/Swimlanes

@xet7
Copy link
Member
xet7 commented Oct 15, 2020

@xet7
Copy link
Member
xet7 commented Oct 15, 2020

@ivan-paleo

There will be later Collapse Swimlane feature (maybe also Collapse List) #2107

@ivan-paleo
Copy link

@xet7 Thanks a lot for the links! I indeed overlooked it under "Features", my bad...

The collapse feature would indeed be a very good compromise (or the best of both worlds!)

@xet7
Copy link
Member
xet7 commented Oct 15, 2020

@ivan-paleo

Yes, that Collapse feature has already been paid and is at Roadmap so it will be in Wekan sometime this year I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0