Information about issues

This commit is contained in:
Marcin Czachursk 2023-01-28 11:48:26 +01:00
parent c4f07a54a3
commit a07efc4b5a
2 changed files with 37 additions and 3 deletions

View File

@ -4,3 +4,38 @@
Font used in the application is: Fleur De Leah
https://fonts.google.com/specimen/Fleur+De+Leah?preview.text=Vernissage%20for&preview.text_type=custom
## Issues
- **Follow/unfollow hashtags is not available through the API**
Pixelfed uses endpoint (POST): https://pixelfed.social/api/local/discover/tag/subscribe, with body:
```json
{
"name": "streetphotography"
}
```
- **Bookmark/unbookmark statuses from external servers is not working (404 as a respnse)**
Here also Pixelfed uses different endpoing (POST): https://pixelfed.social/i/bookmark, with body:
```json
{
"item":"524216615476909436"
}
```
Even if we save bookmark on the web, we don't have reflected that information in statuses JSON.
- **Reboost is not working**
Seems like reboost is working only from Pixelfed to Mastodon. When I'm following someone from Pixelfed
from my pixelfed account I don't see his reboost on my Pixelfed home timeline.
- **Trend are not availabe through the API**
Pixelfed uses endpoint (GET): https://pixelfed.social/api/pixelfed/v2/discover/posts/trending?range=daily
This endpoint is not working in different servers e.g.:

View File

@ -98,11 +98,10 @@ struct InteractionRow: View {
: try await StatusService.shared.bookmark(statusId: self.statusViewModel.id, accountData: self.applicationState.accountData)
self.bookmarked.toggle()
ToastrService.shared.showSuccess("Bookmarked", imageSystemName: "bookmark.fill")
} catch {
ErrorService.shared.handle(error, message: "Favourite action failed.", showToastr: true)
ErrorService.shared.handle(error, message: "Bookmark action failed.", showToastr: true)
}
ToastrService.shared.showSuccess("Bookmarked", imageSystemName: "bookmark.fill")
} label: {
Image(systemName: self.bookmarked ? "bookmark.fill" : "bookmark")
}