Skip to content
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

Edit profile dialog ALF refresh #5633

Merged
merged 11 commits into from
Oct 15, 2024
Merged

Edit profile dialog ALF refresh #5633

merged 11 commits into from
Oct 15, 2024

Conversation

mozzius
Copy link
Member

@mozzius mozzius commented Oct 7, 2024

Based on #5648

ALF refresh of the edit profile screen. Now tracks if the form is in a dirty state, and shows a warning if you try and cancel.
There is also a character limit warning.

The actual processing/saving logic remains the same as before.

I have added a new reusable <Dialog.Header> component that you can pass to a new header prop

Test plan

Can edit bio, same as before. The "discard changes" warning should only show after starting to edit. Test character limit (64 and 256 respectively)

Keyboard should work on web, thanks to the PR this is based on

iOS iOS textinput focused iOS change image iOS discard warning
Simulator Screenshot - iPhone 16 - 2024-10-07 at 14 39 22 Simulator Screenshot - iPhone 16 - 2024-10-07 at 14 39 26 Simulator Screenshot - iPhone 16 - 2024-10-07 at 14 39 32 Simulator Screenshot - iPhone 16 - 2024-10-07 at 14 39 39
Web Web change image Web discard warning
Screenshot 2024-10-07 at 14 28 54 Screenshot 2024-10-07 at 14 41 19 Screenshot 2024-10-07 at 14 41 12

Copy link

github-actions bot commented Oct 7, 2024

Old size New size Diff
7.9 MB 7.9 MB -818 B (-0.01%)

@arcalinea arcalinea temporarily deployed to samuel/edit-profile-refresh - social-app PR #5633 October 8, 2024 10:23 — with Render Destroyed
@mozzius mozzius force-pushed the samuel/edit-profile-refresh branch from 3628b68 to 4cadd35 Compare October 8, 2024 10:23
@arcalinea arcalinea temporarily deployed to samuel/edit-profile-refresh - social-app PR #5633 October 8, 2024 11:17 — with Render Destroyed
@mozzius mozzius changed the title Edit profile dialog ALF refresh Edit profile dialog ALF refresh and dialog improvements Oct 8, 2024
@mozzius mozzius force-pushed the samuel/edit-profile-refresh branch from 62f074f to ea58c8c Compare October 8, 2024 11:58
@mozzius mozzius changed the title Edit profile dialog ALF refresh and dialog improvements Edit profile dialog ALF refresh Oct 8, 2024
@mozzius mozzius force-pushed the samuel/edit-profile-refresh branch from ea58c8c to 64fbc56 Compare October 8, 2024 17:02
@mozzius mozzius force-pushed the samuel/edit-profile-refresh branch from 484598a to 7a36141 Compare October 14, 2024 19:06
@haileyok
Copy link
Contributor

haileyok commented Oct 15, 2024

Hmm, I'm getting an error whenever I hover over the buttons.

Screen.Recording.2024-10-14.at.5.35.01.PM.mov

Fwiw I also removed the portal logic locally, though didnt push. Dont think it is related to that though.

@mozzius mozzius force-pushed the samuel/edit-profile-refresh branch from a0c44ad to 10d3042 Compare October 15, 2024 04:31
@arcalinea arcalinea temporarily deployed to samuel/edit-profile-refresh - social-app PR #5633 October 15, 2024 04:31 — with Render Destroyed
@arcalinea arcalinea temporarily deployed to samuel/edit-profile-refresh - social-app PR #5633 October 15, 2024 18:27 — with Render Destroyed
@haileyok
Copy link
Contributor

Nice, tested all three platforms. Found an android bug that I pushed a fix for as well.

Copy link

The Pull Request introduced fingerprint changes against the base commit:

Fingerprint diff
[{"type":"file","filePath":"package.json","reasons":["expoConfigPlugins"],"hash":"a35a7f003a5d5a3e9ce15d4f576d7885bc5ad177"},{"type":"dir","filePath":"modules/bottom-sheet/android","reasons":["expoAutolinkingAndroid"],"hash":"d70d1b87050be634fffaf40a4205abd0da78b102"}]

Generated by PR labeler 🤖

@mozzius mozzius merged commit c3d0cc5 into main Oct 15, 2024
6 checks passed
@mozzius mozzius deleted the samuel/edit-profile-refresh branch October 15, 2024 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants