Repository navigation
feat(webapp): upload and crop a profile picture from the account page #4802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kathiekiwi
wants to merge
25
commits into
main
Choose a base branch
from
feat/profile-photo-upload
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
62060b8
feat(webapp): add a profile photo editor modal with circular crop and…
kathiekiwi 01619a9
feat(webapp): store profile photos in S3 and serve them presigned
kathiekiwi 8068b39
feat(webapp): change your profile picture from the account page
kathiekiwi 9245092
feat(webapp): delete the previous profile photo after a new one is st…
kathiekiwi 41dbfad
feat(webapp): verify profile photo bytes and return fetchable avatar …
kathiekiwi 569c46c
fix(webapp): size the avatar image to its container
kathiekiwi c25c7b0
fix(webapp): allow the avatar object store origin in the image policy
kathiekiwi cefdc34
fix(webapp): reject unsafe hosts when deriving an image policy origin
kathiekiwi b4cf0ae
feat(webapp): remove your profile photo from the account page
kathiekiwi 5aca646
feat(webapp): show, remove and drag-drop the profile picture in the p…
kathiekiwi 4516205
feat(webapp): show and remove the current profile picture from the ac…
kathiekiwi 8128436
fix(webapp): hide the remove button once a new profile picture is picked
kathiekiwi 89421bc
feat(webapp): serve avatar bytes from our own origin for re-cropping
kathiekiwi a651d06
feat(webapp): load the existing profile picture straight into the cro…
kathiekiwi fea2e6c
feat(webapp): show a tooltip on the account page profile picture
kathiekiwi 820a2a7
feat(webapp): show the saved profile picture statically in the photo …
kathiekiwi a614903
fix(webapp): move the remove button to the footer's right slot
kathiekiwi 3eac9a3
fix(webapp): drop refused uploads and block avatar writes while imper…
kathiekiwi 237e84d
fix(webapp): fall back to the picker when the saved photo fails to load
kathiekiwi 1a083d3
refactor(webapp): build the avatar routes with the dashboard route bu…
kathiekiwi 529bfe6
feat(webapp): give profile pictures their own object store
kathiekiwi 11afe1a
fix(webapp): only show uploaded photos in the profile picture editor
kathiekiwi 64e24f4
fix(webapp): hide profile picture uploads when no avatar store is con…
kathiekiwi 11af3dc
fix(webapp): reject protocol-relative avatar urls in the photo editor
kathiekiwi c4b7ae4
fix(webapp): sign avatar store requests as s3 and ignore blank config
kathiekiwi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(webapp): only show uploaded photos in the profile picture editor
- Loading branch information
commit 11afe1abdee56dbf262dc4cd3c9bf78dc852f6f1
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.