0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-19 20:23:07 +01:00
gitea/routers/web
Yarden Shoham f2a9951741
Update the list of watchers and stargazers when clicking watch/unwatch or star/unstar (#32570)
We make sure the user cards are updated

- Fixes https://github.com/go-gitea/gitea/issues/32561

I also removed `ctx.Data["PageIsWatchers"] = true` and
`ctx.Data["PageIsStargazers"] = true` as they are not used anywhere.

# Before

![before](https://github.com/user-attachments/assets/e3bc3235-35eb-4eda-862d-bdf2510282ea)

# After

![after](https://github.com/user-attachments/assets/bc0488a5-8399-4cf6-95c9-17328a9702eb)

---------

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
2024-11-22 18:51:51 +00:00
..
admin
auth
devtest
events
explore
feed Refactor markup render system (#32589) 2024-11-22 05:48:09 +00:00
healthcheck
misc
org Refactor markup render system (#32589) 2024-11-22 05:48:09 +00:00
repo Update the list of watchers and stargazers when clicking watch/unwatch or star/unstar (#32570) 2024-11-22 18:51:51 +00:00
shared Refactor markup render system (#32589) 2024-11-22 05:48:09 +00:00
user Refactor markup render system (#32589) 2024-11-22 05:48:09 +00:00
base.go
githttp.go
goget.go
home.go
metrics.go
nodeinfo.go
passkey.go
swagger_json.go
web.go
webfinger.go