]> source.dussan.org Git - gitea.git/commit
Improve RSS feed icons (#28368)
authorPanagiotis "Ivory" Vasilopoulos <git@n0toose.net>
Wed, 6 Dec 2023 20:29:26 +0000 (20:29 +0000)
committerGitHub <noreply@github.com>
Wed, 6 Dec 2023 20:29:26 +0000 (20:29 +0000)
commit22cb5b0c17d578bc995a7c99ca96711886a1fd5d
treec7938033af528caa7a9e89722846c62d97ed7e5f
parent1e512b800c0d6ed3fb4ae7ecc8f5ef45d11d7aad
Improve RSS feed icons (#28368)

- The RSS Feed icons were placed in a proper button, so that it does
  not look "inconsistent". This also makes the problem of the button
  being improperly aligned go away.
- The icon that shows on user profiles has not been modified because
  of a lack of better implementation ideas.
- Where applicable, the RSS Feed icon was put directly next to the
  Follow button (right menu), as both functionalities effectively
  share the same purpose.
- Despite the attempt at achieving less inconsistency, a conscious
  decision to not add any text to those buttons was made, opting for
  tooltips instead. "Make it present, but not too annoying."
- A special exception was made for the Releases pages (which contains
  text, not a tooltip), where an RSS feed would be particularly
  beneficial to users.

The fact that the RSS functionality is explicitly optional was taken
into account, and these improvements were made with public-facing
instances (where the feature works best) in mind.
templates/org/home.tmpl
templates/repo/header.tmpl
templates/repo/release_tag_header.tmpl
templates/repo/view_file.tmpl