masto-fe/app/javascript/mastodon/features
aschmitz 4de211b80a Break out nested relationship API keys (#5887)
* Break out nested relationship API keys

This closes #5856 by restoring the existing behavior of the `muting`
and `following` keys (returning booleans rather than truthy or false).
It adds `showing_reblogs` and `muting_notifications` keys:

* `showing_reblogs` returns true if:
  1. You've requested to follow the user, with reblogs shown, or
  2. You are following the user, with reblogs shown.
* `muting_notifications` returns true if you have muted the user and
  their notifications as well.

* Rubocop fix

* Fix pulling reblog/mute status from relationships

I could swear this had passed tests before, but apparently not.
Works now.

* More test fixes

Really, you'd expect this to be more straightforward.
2017-12-06 16:10:54 +01:00
..
account/components Break out nested relationship API keys (#5887) 2017-12-06 16:10:54 +01:00
account_gallery Replace react-router-scroll to react-router-scroll-4 (#5568) 2017-11-01 06:58:38 +09:00
account_timeline Break out nested relationship API keys (#5887) 2017-12-06 16:10:54 +01:00
blocks Replace react-router-scroll to react-router-scroll-4 (#5568) 2017-11-01 06:58:38 +09:00
community_timeline Refactoring streaming connections (#4645) 2017-08-21 15:04:34 +02:00
compose Do not require onClose property in NavigationBar (#5802) 2017-11-24 13:13:17 +01:00
emoji Avoid emojifying on invisible text (#5558) 2017-11-07 14:48:13 +01:00
favourited_statuses Add Smartphone screen favourite back button and adjust styles (#4813) 2017-09-06 17:32:15 +02:00
favourites Replace react-router-scroll to react-router-scroll-4 (#5568) 2017-11-01 06:58:38 +09:00
follow_requests Replace react-router-scroll to react-router-scroll-4 (#5568) 2017-11-01 06:58:38 +09:00
followers Replace react-router-scroll to react-router-scroll-4 (#5568) 2017-11-01 06:58:38 +09:00
following Replace react-router-scroll to react-router-scroll-4 (#5568) 2017-11-01 06:58:38 +09:00
generic_not_found Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
getting_started Add list of lists component to web UI (#5811) 2017-12-05 23:02:27 +01:00
hashtag_timeline Refactoring streaming connections (#4645) 2017-08-21 15:04:34 +02:00
home_timeline Do not try to guess why home timeline is empty in web UI (#5370) 2017-10-13 16:44:16 +02:00
keyboard_shortcuts Add back button to keyboard shortcuts legend column (#5872) 2017-12-03 21:29:41 +01:00
list_editor Add list of lists component to web UI (#5811) 2017-12-05 23:02:27 +01:00
list_timeline Add list of lists component to web UI (#5811) 2017-12-05 23:02:27 +01:00
lists Handle submit event of new list form (#5895) 2017-12-06 12:18:10 +01:00
mutes Replace react-router-scroll to react-router-scroll-4 (#5568) 2017-11-01 06:58:38 +09:00
notifications Implement hotkeys for web UI (#5164) 2017-10-06 01:07:59 +02:00
pinned_statuses Add Pinned toot column (#4817) 2017-09-07 09:58:11 +02:00
public_timeline Refactoring streaming connections (#4645) 2017-08-21 15:04:34 +02:00
reblogs Replace react-router-scroll to react-router-scroll-4 (#5568) 2017-11-01 06:58:38 +09:00
report feat: Cache status height to avoid expensive renders (#4439) 2017-08-07 20:32:03 +02:00
standalone Redesign public hashtag pages (#5237) 2017-10-07 20:00:35 +02:00
status Allow to open a modal for embedded photo (#5777) 2017-11-25 15:41:45 +01:00
ui Add list of lists component to web UI (#5811) 2017-12-05 23:02:27 +01:00
video Fix an error when video playback buffer is empty (#5300) 2017-10-10 15:17:53 +02:00