transition to MastoAPI: Basic user/statuses manipulation #1939

Closed
hj wants to merge 0 commits from gitlab-mr-iid-669 into develop
Member

Status: [un]favourite, [un]reblog ([un]retweet), delete
User: [un]follow

No friend requests yet since I never used them and can't really test them.

Statuses cause merges with response. Users cause weird merge with relationship which isn't a user but merge somewhat works. Needs some improvements from #1925 to continue

Status: [un]favo*u*rite, [un]reblog ([un]retweet), delete User: [un]follow No friend requests yet since I never used them and can't really test them. Statuses cause merges with response. Users cause weird merge with `relationship` which isn't a user but merge somewhat works. Needs some improvements from #1925 to continue

You tested this manually?

You tested this manually?
Author
Member

Yes. I test everything manually.

Yes. I test everything manually.
Member

again CONSTANT named functions, functions aren't constant values

again CONSTANT named functions, functions aren't constant values
Member

maybe these could all be replaced with a simpler response => response.ok ? response.json() : {}

maybe these could all be replaced with a simpler `response => response.ok ? response.json() : {}`
Author
Member

let's just keep it consistent for now. I know it's not great.

let's just keep it consistent for now. I know it's not great.
Author
Member

ehhh... I think it's better to throw actually...

ehhh... I think it's better to throw actually...

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pleroma/pleroma-fe!1939
No description provided.