diff options
| author | 2025-04-26 15:03:05 +0200 | |
|---|---|---|
| committer | 2025-04-26 15:03:05 +0200 | |
| commit | f7323c065a086533ce8c7f0f0cb3f69a80539992 (patch) | |
| tree | ba1451f4d1c1841bcc0867599673d9527c31f2bf /internal/typeutils/internaltofrontend_test.go | |
| parent | [performance] rewrite timelines to rely on new timeline cache type (#3941) (diff) | |
| download | gotosocial-f7323c065a086533ce8c7f0f0cb3f69a80539992.tar.xz | |
[feature] Update attachment format, receive + send `focalPoint` prop + use it on the frontend (#4052)
* [feature] Update attachment format, receive + send `focalPoint` prop + use it on the frontend
* whoops
* boop
* restore function signature of ExtractAttachments
Diffstat (limited to 'internal/typeutils/internaltofrontend_test.go')
| -rw-r--r-- | internal/typeutils/internaltofrontend_test.go | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/internal/typeutils/internaltofrontend_test.go b/internal/typeutils/internaltofrontend_test.go index da83e4e55..cd0ffb1f6 100644 --- a/internal/typeutils/internaltofrontend_test.go +++ b/internal/typeutils/internaltofrontend_test.go @@ -553,8 +553,8 @@ func (suite *InternalToFrontendTestSuite) TestStatusToFrontend() { "aspect": 1.9104477 }, "focus": { - "x": 0, - "y": 0 + "x": -0.5, + "y": 0.5 } }, "description": "Black and white image of some 50's style text saying: Welcome On Board", @@ -701,8 +701,8 @@ func (suite *InternalToFrontendTestSuite) TestStatusToFrontendHTMLContentWarning "aspect": 1.9104477 }, "focus": { - "x": 0, - "y": 0 + "x": -0.5, + "y": 0.5 } }, "description": "Black and white image of some 50's style text saying: Welcome On Board", @@ -851,8 +851,8 @@ func (suite *InternalToFrontendTestSuite) TestStatusToFrontendApplicationDeleted "aspect": 1.9104477 }, "focus": { - "x": 0, - "y": 0 + "x": -0.5, + "y": 0.5 } }, "description": "Black and white image of some 50's style text saying: Welcome On Board", @@ -1032,8 +1032,8 @@ func (suite *InternalToFrontendTestSuite) TestWarnFilteredStatusToFrontend() { "aspect": 1.9104477 }, "focus": { - "x": 0, - "y": 0 + "x": -0.5, + "y": 0.5 } }, "description": "Black and white image of some 50's style text saying: Welcome On Board", @@ -1218,8 +1218,8 @@ func (suite *InternalToFrontendTestSuite) TestWarnFilteredBoostToFrontend() { "aspect": 1.9104477 }, "focus": { - "x": 0, - "y": 0 + "x": -0.5, + "y": 0.5 } }, "description": "Black and white image of some 50's style text saying: Welcome On Board", @@ -1955,8 +1955,8 @@ func (suite *InternalToFrontendTestSuite) TestStatusToFrontendUnknownLanguage() "aspect": 1.9104477 }, "focus": { - "x": 0, - "y": 0 + "x": -0.5, + "y": 0.5 } }, "description": "Black and white image of some 50's style text saying: Welcome On Board", |
