]> cat aescling's git repositories - mastodon.git/commit
Add some UI for user-defined domain blocks (#6628)
authorThibG <thib@sitedethib.com>
Fri, 30 Mar 2018 10:38:00 +0000 (12:38 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 30 Mar 2018 10:38:00 +0000 (12:38 +0200)
commita6c129ddbdaaa84bc631d85eb248fb5a9fa7eb96
treee086d17c19330bb475595ef27e7e9f471968b810
parent47cee7cc8e47471b372630cd28d50c6284aad8b3
Add some UI for user-defined domain blocks (#6628)

* Keep list of blocked domains

Might be overkill, but I'm trying to follow the same logic as for blocked users

* Add basic domain block UI

* Add the domain blocks UI to Getting Started

* Fix undefined URL in `fetchDomainBlocks`

* Update all known users' domain_blocking relationship instead of just one's
13 files changed:
app/javascript/mastodon/actions/domain_blocks.js
app/javascript/mastodon/components/domain.js [new file with mode: 0644]
app/javascript/mastodon/containers/domain_container.js [new file with mode: 0644]
app/javascript/mastodon/features/account_timeline/components/header.js
app/javascript/mastodon/features/account_timeline/containers/header_container.js
app/javascript/mastodon/features/domain_blocks/index.js [new file with mode: 0644]
app/javascript/mastodon/features/getting_started/index.js
app/javascript/mastodon/features/ui/index.js
app/javascript/mastodon/features/ui/util/async-components.js
app/javascript/mastodon/reducers/domain_lists.js [new file with mode: 0644]
app/javascript/mastodon/reducers/index.js
app/javascript/mastodon/reducers/relationships.js
app/javascript/styles/mastodon/components.scss