Add information about new issues.

This commit is contained in:
Marcin Czachursk 2023-02-18 16:47:36 +01:00
parent 94ee40ba44
commit 66844a29b2
3 changed files with 37 additions and 12 deletions

View File

@ -11,7 +11,17 @@ https://fonts.google.com/specimen/Fleur+De+Leah?preview.text=Vernissage%20for&pr
### **There are some issues in bookmarks/favourites endpoints**
It seems like paging is not working in that endpoints (I've tried with page and max_id).
Github issue: https://github.com/pixelfed/pixelfed/issues/4182
Github issue: [https://github.com/pixelfed/pixelfed/issues/4182](https://github.com/pixelfed/pixelfed/issues/4182)
### **Update media attachment endpoint returns array instead of sinle entity**
On the https://pixelfed.social server, updating a single media attachment via the API (changing the description)
returns a list of media attachments in the response instead of the updated media attachment (it looks like there
are attachments of another user in the response).
Github issue: [https://github.com/pixelfed/pixelfed/issues/4196](https://github.com/pixelfed/pixelfed/issues/4196)
### **Follow/unfollow hashtags is not available through the API**
@ -40,10 +50,6 @@ Even if we save bookmark on the web, we don't have reflected that information in
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.
### **Place is not available in the API**
In the status response there is no information about place.
That information is visible when using Pixelfed web app.
### **Status doesn't contains information about bookmark status**
@ -53,6 +59,25 @@ In the status JSON we don't have information about bookmark status.
API in Pixelfed (`/api/v1/instance`) returns JSON with diefferent structure then API specify.
### **API always returns in the response `web` as an application**
In pixelfed source code there is hardcoded application name. API always retruns `web`.
```php
'application' => [
'name' => 'web',
'website' => null
],
```
### ** (fixed) Place is not available in the API**
In the status response there is no information about place.
That information is visible when using Pixelfed web app.
There is `place_id` field in status create endpoint.
For search there is an endpoint: `https://{{host}}/api/v1.1/compose/search/location?q=wroc`.
### **(fixed) Trends are not availabe through the API**
Pixelfed uses endpoint (GET): https://pixelfed.social/api/pixelfed/v2/discover/posts/trending?range=daily

View File

@ -967,7 +967,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 6;
CURRENT_PROJECT_VERSION = 7;
DEVELOPMENT_ASSET_PATHS = "\"Vernissage/Preview Content\"";
DEVELOPMENT_TEAM = B2U9FEKYP8;
ENABLE_PREVIEWS = YES;
@ -1004,7 +1004,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 6;
CURRENT_PROJECT_VERSION = 7;
DEVELOPMENT_ASSET_PATHS = "\"Vernissage/Preview Content\"";
DEVELOPMENT_TEAM = B2U9FEKYP8;
ENABLE_PREVIEWS = YES;

View File

@ -152,11 +152,11 @@ struct HomeFeedView: View {
return
}
// View is scrolled up (loader is visible).
self.opacity = 1.0 - min((offset / 50.0), 1.0)
// View is scrolled so high that we can hide view.
if offset > 170 {
if offset < 170 {
// View is scrolled up (loader is visible).
self.opacity = 1.0 - min((offset / 50.0), 1.0)
} else {
// View is scrolled so high that we can hide amount of new statuses.
self.applicationState.amountOfNewStatuses = 0
self.hideNewStatusesView()
}