Make swimlanes choice persisting after board has been edited [RUN AS-IF-FOSS]
requested to merge 282299-grouping-swimlanes-choice-should-persist-after-board-has-been-edited into master
What does this MR do?
Currently, when the user applies swimlanes, then edits a board and saves the changes, they are redirected back to a board without swimlanes applied. The choice user has made about swimlanes should persist regardless of if I edit the board.
This MR fixes the wrong behavior with keeping the group_by
query parameter in the redirect URL. Also, this MR takes a URL to redirect from the GraphQL updateBoard
mutation response as a webPath
instead of calculating it on the frontend side.
For the sake of consistency, a similar change for redirection URL was made for createBoard
mutation. However, we don't keep grouping query parameter in this case, and always show a new board non-grouped.
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers -
Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Related to #282299 (closed)
Edited by Nicolò Maria Mezzopera