You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-07-15 23:54:29 +02:00
Revert dnd (#4294)
* Revert "Fixed bug where boards would move to category of a different team (#4284)" This reverts commite075f408d3
. * Revert "Merge branch 'main' into only-explicit-boards-on-default-category" This reverts commit7db7e56296
, reversing changes made to3feda10b6d
. * Revert "DND support for category and boards in LHS (#3964)" This reverts commit9918a0b3f8
.
This commit is contained in:
committed by
GitHub
parent
35f681dd75
commit
9fac8f476e
@ -457,17 +457,6 @@ func (th *TestHelper) CreateBoard(teamID string, boardType model.BoardType) *mod
|
||||
return board
|
||||
}
|
||||
|
||||
func (th *TestHelper) CreateCategory(category model.Category) *model.Category {
|
||||
cat, resp := th.Client.CreateCategory(category)
|
||||
th.CheckOK(resp)
|
||||
return cat
|
||||
}
|
||||
|
||||
func (th *TestHelper) UpdateCategoryBoard(teamID, categoryID, boardID string) {
|
||||
response := th.Client.UpdateCategoryBoard(teamID, categoryID, boardID)
|
||||
th.CheckOK(response)
|
||||
}
|
||||
|
||||
func (th *TestHelper) CreateBoardAndCards(teamdID string, boardType model.BoardType, numCards int) (*model.Board, []*model.Card) {
|
||||
board := th.CreateBoard(teamdID, boardType)
|
||||
cards := make([]*model.Card, 0, numCards)
|
||||
@ -493,17 +482,6 @@ func (th *TestHelper) MakeCardProps(count int) map[string]any {
|
||||
return props
|
||||
}
|
||||
|
||||
func (th *TestHelper) GetUserCategoryBoards(teamID string) []model.CategoryBoards {
|
||||
categoryBoards, response := th.Client.GetUserCategoryBoards(teamID)
|
||||
th.CheckOK(response)
|
||||
return categoryBoards
|
||||
}
|
||||
|
||||
func (th *TestHelper) DeleteCategory(teamID, categoryID string) {
|
||||
response := th.Client.DeleteCategory(teamID, categoryID)
|
||||
th.CheckOK(response)
|
||||
}
|
||||
|
||||
func (th *TestHelper) GetUser1() *model.User {
|
||||
return th.Me(th.Client)
|
||||
}
|
||||
|
Reference in New Issue
Block a user