Skip to content
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

issues listed in project board need to be updated after them were moved #13498

Open
4 tasks
suli3 opened this issue Nov 10, 2020 · 6 comments · May be fixed by #30205
Open
4 tasks

issues listed in project board need to be updated after them were moved #13498

suli3 opened this issue Nov 10, 2020 · 6 comments · May be fixed by #30205

Comments

@suli3
Copy link

suli3 commented Nov 10, 2020

  • Gitea version (or commit ref): 1.14.0+dev-12-gcb171dbd5
  • Git version:2.29.2
  • Operating system: gitea.com
  • Database (use [x]):
    • PostgreSQL
    • [ x] MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • [ x] Yes (provide example URL)
    • No
  • Log gist:

Description

I found that maybe the status/position of the issues listed in project board need to be updated after them were moved.

Screenshots

  1. Set up
    )W9{FKQK@@H9Q39 0OLQR%P

  2. move issue1 from To Do, to In Progress
    DTKC7}PWM{82DPWYSAO0J

  3. Click into the issue and then back to the project board, the issue1 change back to To Do. It should be still in the In Progress
    M( L3S %(`NM) %WU $QWT

@POPSuL
Copy link
Contributor

POPSuL commented Nov 11, 2020

I think, programmable issue transition needed, like jira.
Each panel should have option like "ON_DROP_ISSUE" with "programmable" actions, eg:

  1. set label "WIP" if issue dropped to "In Progress"
  2. set label "Need review" and Assign reviewers automatically (or randomly, by predefined list, or better developer by inspect git-blame result in related PR)
  3. discussion should be closed which issue dropped to "Closed"
  4. ...
    N. more examples?

@bobemoe
Copy link
Contributor

bobemoe commented Nov 28, 2020

I think the issue reported by @suli3 is a caching issue. I can recreate it here in firefox using the 3 steps described in OP, and I would suggest step 4: refresh the page and see that the issue then appears "In Progress" as is should be.

I don't think the suggestion by @POPSuL would actually help here, however it is a brilliant idea and probably needs its own issue? In fact I thought there was one about changing labels on issues as they are moved around project boards, but I cant find it now :/

@bobemoe
Copy link
Contributor

bobemoe commented Feb 27, 2021

I'm still seeing this as a caching issue. Just confirmed in latest 1.14.0+dev-764

@lunny theme/kanban label?

@zeripath
Copy link
Contributor

zeripath commented Mar 3, 2021

The likely issue here is one that the ajax request to update the board of the issue has not completed before you click away and thus the change is cancelled

@bobemoe
Copy link
Contributor

bobemoe commented Mar 3, 2021

In my experience of this the change is actually saved as expected. When it's displaying in the wrong column, just refresh the page to see it move to where it should be, see my comment #13498 (comment)

I think the issue reported by @suli3 is a caching issue. I can recreate it here in firefox using the 3 steps described in OP, and I would suggest step 4: refresh the page and see that the issue then appears "In Progress" as is should be.

@tobiasBora
Copy link

See also this related issue #14359

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