-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Notifications - Step 2 #539
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
Notifications - Step 2 #539
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise 💯 🎉
@@ -168,6 +168,8 @@ func runWeb(ctx *cli.Context) error { | |||
|
|||
bindIgnErr := binding.BindIgnErr | |||
|
|||
m.Use(user.GetNotificationCount) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't this add unnecessary overhead for endpoints like /api
that will never use it? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^, Only UI route group need?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
margin-left: 7px; | ||
} | ||
|
||
.octicon-issue-opened, .octicon-git-pull-request { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't these defined somewhere already that we can reuse? (for the activity/dashboard feed)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so.
If you're creating UI changes a little screenshot would be pretty helpful for just browsing github! 👍 😊 |
Pagination is a must for this one, the others can be extended on in a later PR if necessary :) |
^ |
LGTM |
LGTM |
@bkcsoft are your requested changes good now ? |
@andreynering |
@gsantner Thank you for pointing. That's easy to fix. |
UI for notifications