You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers
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>
2 months ago
..
api Fix get reviewers' bug (#32415) 2 months ago
common Refactor markup render system (#32589) 2 months ago
install Save initial signup information for users to aid in spam prevention (#31852) 5 months ago
private Fix LFS route mock, realm, middleware names (#32488) 3 months ago
utils Refactor external URL detection (#29973) 11 months ago
web Update the list of watchers and stargazers when clicking watch/unwatch or star/unstar (#32570) 2 months ago
init.go Make oauth2 code clear. Move oauth2 provider code to their own packages/files (#32148) 4 months ago