Skip to content
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

show private heatmap on profile to self & admins #14881

Merged
merged 7 commits into from Mar 4, 2021

Conversation

noerw
Copy link
Member

@noerw noerw commented Mar 4, 2021

followup to #14080, i thought i changed that back then..

this could go with skip-changelog into 1.14, but is not critical i guess

followup to go-gitea#14080, i thought i changed that back then..
@noerw noerw added the type/bug label Mar 4, 2021
rendering is wanted for freshly created users.
rendering might be unwanted, if doer has no permission to view anyway
Copy link
Contributor

@wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works great 🚀
show's heatmap even when it's empty (which it should).

admin's view of a user with disabled public activity (essentially the user themselves sees the same):
image

non-empty user's view heatmap:
image

other users, of course, see only the message telling that the user has public activity disabled.

EDIT: added user's view with non-empty activity.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Mar 4, 2021
@6543 6543 added this to the 1.14.0 milestone Mar 4, 2021
@6543 6543 added the skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. label Mar 4, 2021
@6543
Copy link
Member

6543 commented Mar 4, 2021

@noerw look's like test's fail related

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Mar 4, 2021
templates/user/heatmap.tmpl Outdated Show resolved Hide resolved
@6543

This comment has been minimized.

Copy link
Member

@6543 6543 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 4, 2021
@6543 6543 merged commit 0a8a3ab into go-gitea:master Mar 4, 2021
@6543 6543 deleted the fix-heatmap-when-private branch March 4, 2021 22:59
@go-gitea go-gitea locked and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants