-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Preview images for Issue cards in Project Board view #22112
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
Changes from 22 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
e06acf4
Preview images for Issue cards in Project Board view
gnat 0afe784
Preview images for Issue cards in Project Board view
gnat a3fcf65
More specific selector for cleaned up card CSS.
gnat 3745fc3
Added Project option to change Card Type (Image Previews vs Text Only)
gnat 5f57f97
gofmt
gnat e07d534
Merge remote-tracking branch 'origin/master' into project_issue_image…
gnat 9397770
Added migration.
gnat 4acf5ba
gofmt
gnat 0489cdb
Only fill issuesAttachmentMap if appropriate CardType is set.
gnat d901ec7
Removed migration.
gnat 326c5b8
Re-added migration as v238
gnat 3e77920
Merge remote-tracking branch 'origin/master' into project_issue_image…
gnat 5936b56
Update models/migrations/v1_19/v238.go
gnat 3aaf557
Merge branch 'master' into project_issue_image_preview
gnat 5e05bec
Update templates/repo/projects/view.tmpl
gnat 853adca
Update models/repo/attachment.go
gnat 84fe0da
Update models/project/board.go
gnat 8fd107a
Added migration.
gnat d734698
Cleanup from merge with master.
gnat a3b449a
Bring new org functionality up to date.
gnat a5e6e22
Cleanup from merge with master.
gnat 5f52fc7
Merge branch 'main' into project_issue_image_preview
lunny c93b600
Update templates/repo/projects/view.tmpl
gnat eac2221
Update models/migrations/v1_19/v241.go
gnat 4ce0594
Fixed linter.
gnat 58ef8b1
Images and Text type was updated.
gnat 1c71eab
Merge branch 'main' into project_issue_image_preview
lunny 1f3c4d3
Merge branch 'main' into project_issue_image_preview
lunny 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 2022 The Gitea Authors. All rights reserved. | ||
// SPDX-License-Identifier: MIT | ||
|
||
package v1_19 //nolint | ||
|
||
import ( | ||
"fmt" | ||
|
||
"xorm.io/xorm" | ||
) | ||
|
||
// AddCardTypeToProjectTable: add CardType column, setting existing rows to CardTypeTextOnly | ||
func AddCardTypeToProjectTable(x *xorm.Engine) error { | ||
type Project struct { | ||
CardType int `xorm:"NOT NULL"` | ||
} | ||
|
||
if err := x.Sync(new(Project)); err != nil { | ||
return fmt.Errorf("Sync: %w", 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
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.