Use self-background image on someone's profile #1861

Closed
edijs wants to merge 3 commits from gitlab-mr-iid-591 into develop
Member

Closes #366

Closes #366
Author
Member

code refactoring

code refactoring
Member

I think we need to check first if user is viewing the profile page before using this.$route.params.

I think we need to check first if user is viewing the profile page before using `this.$route.params`.
Author
Member

True, isExternal & isLocal methods do it

True, `isExternal` & `isLocal` methods do it
Member

Looks good to me 👍

Looks good to me :thumbsup:
Owner

This wouldn't be enough to close that issue which is about entire themes (not in backend yet so not possible to do yet)

This wouldn't be enough to close that issue which is about entire themes (not in backend yet so not possible to do yet)
Owner

This doesn't do the instance theme but it does the background image which is a huge improvement for some users. Does it make merge this part while we figure out how or if it's appropriate to do entire theme changes for a user profile?

This doesn't do the instance theme but it does the background image which is a huge improvement for some users. Does it make merge this part while we figure out how or if it's appropriate to do entire theme changes for a user profile?
Author
Member

@shpuld entire theme settings are being saved in user's browser localstorage, not backend.

@shpuld entire theme settings are being saved in user's browser localstorage, not backend.
Member

Wait, this MR is only about displaying the background-image of a remote-user, not theme. Will that still come?

Wait, this MR is only about displaying the background-image of a remote-user, not theme. Will that still come?
Author
Member

Right, Pleroma-FE can't fetch the theme of remote-user from backend because theme configs are stored in web browser localstorage.

Right, Pleroma-FE can't fetch the theme of remote-user from backend because theme configs are stored in web browser localstorage.
Owner

there's still no setting to expose or not your background image, we need that first

there's still no setting to expose or not your background image, we need that first
Owner

Is that something we want to be user configurable? I wouldn't consider it a privacy issue, and as a user I would already expect a background customization to be viewable by all users who visit my profile much like how they can see my banner image.

Just want to make sure we don't go too far down the path of a thousand configuration knobs that only make users more confused when they look at the settings panels.

Is that something we want to be user configurable? I wouldn't consider it a privacy issue, and as a user I would already expect a background customization to be viewable by all users who visit my profile much like how they can see my banner image. Just want to make sure we don't go too far down the path of a thousand configuration knobs that only make users more confused when they look at the settings panels.
Owner

yes. I tune my instance (well, tuned it at some point, it's a bit broken now) to have a certain style and aesthetic to it. But I myself use a bit more easy-on-eyes theme and whatever not-really-matching wallpaper. I'd still want people to see instance's default theme/wallpaper when they visit my profile.

Ideally I'd love to see separate themes/background "what people see my profile as" and "how I see interface".

yes. I tune my instance (well, tuned it at some point, it's a bit broken now) to have a certain style and aesthetic to it. But I myself use a bit more easy-on-eyes theme and whatever not-really-matching wallpaper. I'd still want people to see instance's default theme/wallpaper when they visit my profile. Ideally I'd love to see separate themes/background "what people see my profile as" and "how I see interface".
Owner

Understood. Thanks for sharing. I am just being cautious to make sure we are mindful of the boundary between configurability and overkill.

We can tackle that as well if you open an issue and describe how you'd like that done.

Understood. Thanks for sharing. I am just being cautious to make sure we are mindful of the boundary between configurability and overkill. We can tackle that as well if you open an issue and describe how you'd like that done.
Owner

the boundary between configurability and overkill.

t. made themes v2

:DDDDDDDDDD

>the boundary between configurability and overkill. t. made themes v2 :DDDDDDDDDD
Owner

I don't think having wallpapers show up without "permission" is that bad, considering qvitter and twitter already displayed them to visitors so it's kinda to be expected, it's set together with 2 other images that are also public, and the url to the wallpaper is already sent over so it's not "private" in any real way. It would still be better if it was a part of a bigger "feature" that is worth announcing and caring about, so people can form their opinions about it before it happens, it's not a thing we'd want to "sneak in" silently.

I know I'd be super interested in seeing how others configure their own stuff and I think having user profiles automatically use the theme of that user would be a killer feature. it can't be done right now but it could be done if we want it. I'd really hate it if a big feature would be disabled by default as well, we already hide so many features.

I don't think having wallpapers show up without "permission" is that bad, considering qvitter and twitter already displayed them to visitors so it's kinda to be expected, it's set together with 2 other images that are also public, and the url to the wallpaper is already sent over so it's not "private" in any real way. It would still be better if it was a part of a bigger "feature" that is worth announcing and caring about, so people can form their opinions about it before it happens, it's not a thing we'd want to "sneak in" silently. I know I'd be super interested in seeing how others configure their own stuff and I think having user profiles automatically use the theme of that user would be a killer feature. it can't be done right now but it could be done if we want it. I'd really hate it if a big feature would be disabled by default as well, we already hide so many features.
Author
Member

can we make this feature as optional? add this option as user settings.

can we make this feature as optional? add this option as user settings.
Member

Why has this MR been closed?

Why has this MR been closed?

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
6 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!1861
No description provided.