diff options
| author | 2025-03-26 16:59:39 +0100 | |
|---|---|---|
| committer | 2025-03-26 15:59:39 +0000 | |
| commit | b6e481d63eec15191f2717957682c13ee8a68308 (patch) | |
| tree | 03cb9fc8bcb5f9eefddee754ad64b9de10c44c39 /docs | |
| parent | [chore] bumps our spf13/viper version (#3943) (diff) | |
| download | gotosocial-b6e481d63eec15191f2717957682c13ee8a68308.tar.xz | |
[feature] Allow user to choose "gallery" style layout for web view of profile (#3917)
* [feature] Allow user to choose "gallery" style web layout
* find a bug and squish it up and all day long you'll have good luck
* just a sec
* [performance] reindex public timeline + tinker with query a bit
* fiddling
* should be good now
* last bit of finagling, i'm done now i prommy
* panic normally
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api/swagger.yaml | 14 | ||||
| -rw-r--r-- | docs/overrides/public/user-settings-layout-gallery.png | bin | 0 -> 969869 bytes | |||
| -rw-r--r-- | docs/overrides/public/user-settings-layout-microblog.png | bin | 0 -> 811730 bytes | |||
| -rw-r--r-- | docs/user_guide/settings.md | 24 |
4 files changed, 38 insertions, 0 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index ce415784a..1a96b0f65 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -179,6 +179,13 @@ definitions: description: The default posting content type for new statuses. type: string x-go-name: StatusContentType + web_layout: + description: |- + Layout to use for the web view of the account. + "microblog": default, classic microblog layout. + "gallery": gallery layout with media only. + type: string + x-go-name: WebLayout web_visibility: description: |- Visibility level(s) of posts to show for this account via the web api. @@ -4902,6 +4909,13 @@ paths: in: formData name: web_visibility type: string + - description: |- + Layout to use for the web view of the account. + "microblog": default, classic microblog layout. + "gallery": gallery layout with media only. + in: formData + name: web_layout + type: string - description: Name of 1st profile field to be added to this account's profile. (The index may be any string; add more indexes to send more fields.) in: formData name: fields_attributes[0][name] diff --git a/docs/overrides/public/user-settings-layout-gallery.png b/docs/overrides/public/user-settings-layout-gallery.png Binary files differnew file mode 100644 index 000000000..75a57f8e5 --- /dev/null +++ b/docs/overrides/public/user-settings-layout-gallery.png diff --git a/docs/overrides/public/user-settings-layout-microblog.png b/docs/overrides/public/user-settings-layout-microblog.png Binary files differnew file mode 100644 index 000000000..a573e327b --- /dev/null +++ b/docs/overrides/public/user-settings-layout-microblog.png diff --git a/docs/user_guide/settings.md b/docs/user_guide/settings.md index 590b04b42..3d7bd811c 100644 --- a/docs/user_guide/settings.md +++ b/docs/user_guide/settings.md @@ -31,6 +31,30 @@ To choose a theme, just select it from the profile settings page, and click/tap !!! tip "Adding more themes" Instance admins can add more themes by dropping css files into the `web/assets/themes` folder. See the [themes](../admin/themes.md) part of the admin docs for more information. +### Select Layout + +GoToSocial lets you choose from two different layouts for the web view of your profile. + +The setting does not affect how the API behaves or how client applications look or work, it's purely a cosmetic change for the web view. + +In both cases, only top-level posts (or media from top-level posts) is shown, not replies or boosts, and the [Visibility Level of Posts to Show on Your Profile](#visibility-level-of-posts-to-show-on-your-profile) setting is respected. + +#### Microblog + +The GtS classic microblog layout. Your profile is split into two columns with your bio and recent/pinned posts. + +This is a good choice if you primarily post text, or a mixture of text and media. + + + +#### Gallery + +'Gram-style layout. Posts are not shown directly on your profile. Instead, your recent/pinned media is shown in a gallery grid view. Posts (with their replies) can still be accessed via link. + +This is a good choice if you primarily post media. + + + ### Basic Information #### Display Name |
