Skip to content

Can't see heatmap after hiding profile from public #14086

@DuckDuckWhale

Description

@DuckDuckWhale
  • Gitea version (or commit ref): 1.13.0
  • Git version: 2.25.1
  • Operating system: Ubuntu Server 20.04 LTS
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Haven't tried
  • Log gist: N/A

Description

After choosing the "Hide the activity from the profile page", I can't see my own heatmap as well. This is unexpected since hovering over this option will show that it "makes the activity visible only for you and the admins", yet I can't see the heatmap after choosing this option. It seems that the pull request (#11353) that added this feature didn't check which user requested the heatmap at all and disables it unconditionally in models/user_heatmap.go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions