]> cat aescling's git repositories - mastodon.git/commit
Improve announcements design (#12954)
authorThibG <thib@sitedethib.com>
Sat, 25 Jan 2020 15:35:33 +0000 (16:35 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 25 Jan 2020 15:35:33 +0000 (16:35 +0100)
commit48c55b6392661cde8e28cf076c3d132c22d17a0f
tree798797f644368abc06e1086770ceb88db26df720
parentae2198bd955530c61dd1f4cd99f23c7a0c069b6e
Improve announcements design (#12954)

* Move announcements above scroll container; add button to temporarily hide them

* Remove interface for dismissing announcements

* Display number of unread announcements

* Count unread announcements accurately

* Fix size of announcement box not fitting the currently displayed announcement

* Fix announcement box background color to match button color
app/javascript/mastodon/actions/announcements.js
app/javascript/mastodon/features/getting_started/components/announcements.js
app/javascript/mastodon/features/getting_started/containers/announcements_container.js
app/javascript/mastodon/features/home_timeline/index.js
app/javascript/mastodon/reducers/announcements.js
app/javascript/styles/mastodon/components.scss