refactor(profile): migrate edit profile modal to SolidJS (@AzureNightlock, @fehmer)#7900
refactor(profile): migrate edit profile modal to SolidJS (@AzureNightlock, @fehmer)#7900AzureNightlock wants to merge 21 commits into
Conversation
|
Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes. |
|
Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes. |
|
Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes. |
0ebe1a9 to
c623967
Compare
|
Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes. |
|
Hey @fehmer I have made the changes as you have requested. Please take a look and tell me what you think! |
|
Changes Made:
|
|
I have created a fresh pr with the merged changes |
|
Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes. |
|
hi @AzureNightlock, i pushed the fixes. I think it looks good enough.
|
|
Hey @fehmer sorry I took a while. I noticed that the ui doesn't refresh for me after submitting. The page remains the same with the old values. Also is it okay to add a false property to balloon and based on whether balloon is false or not we add different independant styles? It's very tedious but gets the job done ig, I can't find any other alternatives |
|
tbh i don't mind the balloon on the badge. The update issue should be fixed. |
|
I have found a way to make the badge more appealing by using a tailwind override please take a look and let me know what you think. The Change: Uses p-1.5 and overrides text-em-xs in UserBadge |
|
hi @AzureNightlock, looks good |
|
Hey @fehmer the snapshot still isn't refreshing from me. Only after I refresh the page does it refresh. snapshot-not-refreshing.mp4I tried it with DB.setSnapshot aswell and got the same result (makes no difference but yeah) |
|
Hi @AzureNightlock , i was testing with the bio, not the selected badge. Should be fixed now 😊 |
|
Hey @fehmer Just tested it and everything works great! There is a very small CSS issue where the none button has a completely different hover effect compared to the other badges. I have tried to fix this but it seems like the button uses a
Other than that everything looks great |
|
hi @AzureNightlock , good catch, should be fixed now |
|
Hey @fehmer I noticed that the User Profile schema: uses optional and was also a future plan to use instead of -1. I updated the badgeId flow such that when the user chooses None, It uses null instead of -1 and if the badgeId is null selectedBadgeId doesn't exist else it sets it to badgeId. This lets us:
Please let me know what you think of this idea. |
|
Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes. |
|
Hi @AzureNightlock , this would be a breaking change in the API. We could do it but not in this PR. |





Description
This PR: Migrates the Edit Profile modal to a SolidJS component
Changes Made:
Additional Changes Made:
Checks
Closes #7683