-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Kanban colored boards #16647
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
Merged
Merged
Kanban colored boards #16647
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
d7ba3cf
#11160 Add colors column for ProjectBoard
romdum b2c13e0
#11160 Add color input in edit project board form
romdum 19bc8a7
Add label for color
romdum bfbbbda
Add color picker
romdum 1d4d8e7
Add color input on new board form
romdum 1d0d134
Linter fix
romdum ad2dc84
Add migration for color project board column
romdum 85b9346
validate project board column
romdum ca4481a
Correct BoardColorPattern comment
romdum b182243
Create a generic "color" translation key
romdum 77ed1e3
Add color validation on new project board form
romdum e64812b
Apply suggestions from code review
6543 404ab33
Merge branch 'main' into feature/board_color
6543 3ce6a4c
Merge branch 'main' into feature/board_color
6543 ec952cd
Change board label color according to background
romdum 153a7fe
Possibility to remove board color
romdum 9f86b27
Merge branch 'main' into feature/board_color
romdum ff47888
Merge branch main to fix conflicts
romdum 592ac5a
Merge branch 'main' into feature/board_color
6543 e1ff66a
Use less variable for project board label color
romdum 7918bb7
Add button to remove board colors
romdum 20b4dd6
Add check before update board color
romdum 6a62f90
Linter fix
romdum 1c98c83
Code review
romdum cc4a33a
Merge branch 'main' into feature/board_color
romdum 037cd56
Merge branch 'main' into feature/board_color
romdum a86ee3c
Remove btn which remove board color and add precolor
romdum 5e335dc
linter fix
romdum c39ca47
Add precolor on new project board form
romdum 694bc41
linter fix
romdum d769196
Board color - Code review
romdum dc4e4c4
Merge branch 'main'
romdum 3b12e74
Feature Board colored - Code review
romdum 95d7555
Merge branch 'main' into feature/board_color
6543 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright 2021 The Gitea Authors. All rights reserved. | ||
// Use of this source code is governed by a MIT-style | ||
// license that can be found in the LICENSE file. | ||
|
||
package migrations | ||
|
||
import ( | ||
"fmt" | ||
|
||
"xorm.io/xorm" | ||
) | ||
|
||
func addColorColToProjectBoard(x *xorm.Engine) error { | ||
type ProjectBoard struct { | ||
Color string `xorm:"VARCHAR(7)"` | ||
} | ||
|
||
if err := x.Sync2(new(ProjectBoard)); err != nil { | ||
return fmt.Errorf("Sync2: %v", err) | ||
} | ||
return nil | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.