SolidOS / SolidOS/profile-pane

User can upload photo without saving changes/old profile photo erased

Open
#376 6 comments 0 reactions 1 assignee View on GitHub

@SharonStrats is already working on this.

Since May 24, 2026.

  • #381 by @SharonStrats — closed without merging
  • #385 by @SharonStrats — merged
bug
Dominant language
TypeScript
Stars
8
Forks
11
Avg merge
4h 19m
Merged PRs (30d)
11

Description

When a user chooses a new profile picture in the "Edit Heading" prompt, they can remove the file or upload a new file. You will be given a file picker do choose any file. Once you upload the profile picture. This is stored in pod's /profile/ folder before the user even saves or accepts changes and are still in the "Edit Heading" state/session screen. Once a new profile picture is chosen and the user hit's save while still in "Edit Heading" session, then It erases the old profile picture from the pod's /profile/ folder. Unusual behavior because the user only wants to change their profile picture, it should be up to them to remove it from the pod completely.

Array/Index order of arranging the image issue?

Typically, your photo would not be completely erased unless you wanted it to on your own time on platforms. It just gets moved over.

${Image(imageSrc, name)}
src\sections\heading\HeadingSection.ts
console.log points to this

${console.log(Image(imageSrc, name))}

developer console
HeadingSection.ts:31
{_$litType$: 1, strings: Array(3), values: Array(2)}
strings
:
(3) ['\n <img\n class="profile__hero"\n src=', '\n alt="', '"\n width="140"\n height="140"\n loading="eager"\n />\n ', raw: Array(3)]
values
:
(2) ['https://chunt.solidcommunity.net/profile/microsoft-clippy.jpg', 'Chase']
_$litType$
:
1
[[Prototype]]
:
Object

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.