-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Rework notifications list #24812
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
Rework notifications list #24812
Changes from 24 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
db0a5b0
Rework notifications list
silverwind d7fb689
remove title
silverwind ebc5cb1
replace tabs with menu items
silverwind e7089f0
tweak notification icon line height
silverwind e5b9c9b
remove unnecessary class
silverwind 77e3b5e
fix button alignment
silverwind 1f4b9f8
remove duplicate issue index
silverwind 36a2a86
remove dead styles
silverwind ef49efa
make button-ghost always have padding
silverwind 55cf168
introduce and use button-link for repo homepage
silverwind 5350fd4
add link button to devtest
silverwind 806b068
support bfcache to remove items in table
silverwind 06d4eb3
use e over event
silverwind 2e4e199
update comments
silverwind 4bcd2ca
tweak
silverwind 5d42726
tweak margin
silverwind 4f0f6b3
remove padding from button-ghost and add explicit padding everywhere
silverwind f6d2d4d
revert button-link changes
silverwind 4e0a2c4
add shared icon template, add hover effect
silverwind c11e27b
Merge branch 'main' into notif3
silverwind 14a74f4
Update templates/devtest/gitea-ui.tmpl
silverwind 3a96616
remove one useless class
silverwind ec9c3b9
make hover effect without color
silverwind 07fb97a
more margin on pin
silverwind 4ad1b11
Update templates/repo/branch/list.tmpl
silverwind 49e710c
Remove capture option
silverwind d66db5e
Merge branch 'main' into notif3
silverwind fed2afa
add --font-weight-bold for notifcation number
silverwind 590a12b
Merge branch 'main' into notif3
silverwind 3f835c6
remove unused helper
silverwind 95ce946
handle case of 'repo notification'
silverwind 2401459
Merge branch 'main' into notif3
silverwind d256d52
Merge branch 'main' into notif3
GiteaBot 074d3fe
Merge branch 'main' into notif3
GiteaBot 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
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,25 @@ | ||
{{if .IsPull}} | ||
{{if and .PullRequest .PullRequest.HasMerged}} | ||
{{svg "octicon-git-merge" 16 "text purple"}} | ||
{{else if and .GetPullRequest .GetPullRequest.HasMerged}} | ||
{{svg "octicon-git-merge" 16 "text purple"}} | ||
{{else}} | ||
{{if .IsClosed}} | ||
{{svg "octicon-git-pull-request" 16 "text red"}} | ||
{{else}} | ||
{{if and .PullRequest .PullRequest.IsWorkInProgress}} | ||
{{svg "octicon-git-pull-request-draft" 16 "text grey"}} | ||
{{else if and .GetPullRequest .GetPullRequest.IsWorkInProgress}} | ||
{{svg "octicon-git-pull-request-draft" 16 "text grey"}} | ||
{{else}} | ||
{{svg "octicon-git-pull-request" 16 "text green"}} | ||
{{end}} | ||
{{end}} | ||
{{end}} | ||
{{else}} | ||
{{if .IsClosed}} | ||
{{svg "octicon-issue-closed" 16 "text red"}} | ||
{{else}} | ||
{{svg "octicon-issue-opened" 16 "text green"}} | ||
{{end}} | ||
{{end}} |
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.