-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Perceived failure to save profile picture #896
Comments
I'd be interested in looking into this one |
The library we use is react-image-crop, which we wrap with the component: |
@schaferyan Hi, I'm helping with development focus for DemocarcyLab. We've created a DemocracyLab Dashboard and would like to update the status of this issue. There is an unresoved comment in the PR #911
Are you still working on this? If so, what are the next steps, or what challenges are there to moving forward? Thanks. |
Hi David,
Thanks for reaching out! I''m sorry, I haven't had time to work on
Democracy Lab stuff recently.
I can't recall the details of that issue and I unfortunately don't have an
environment set up to check.
Best,
Ryan
…On Thu, May 2, 2024, 11:17 AM David ***@***.***> wrote:
@schaferyan <https://github.com/schaferyan> Hi, I'm helping with
development focus for DemocarcyLab. We've created a DemocracyLab Dashboard
<https://github.com/orgs/DemocracyLab/projects/1/views/1?layout=board>
and would like to update the status of this issue.
There is an unresoved comment in the PR #911
<#911>
Changing project thumbnails fails with the following console error:
ImageCropUploadButton.jsx:123 Uncaught TypeError:
this.props._onIsCroppingChanged is not a function at
ImageCropUploadButton._handleFileSelection
(ImageCropUploadButton.jsx:123:16) at FileReader.
(FileSelectButton.jsx:71:18)
Are you still working on this? If so, what are the next steps, or what
challenges are there to moving forward?
Or is this still an issue/should we close it?
Or, if you just aren't available to work on it anymore, please let me
know, and/or unassign yourself
Or something else?
Thanks.
—
Reply to this email directly, view it on GitHub
<#896 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHL3V2GJWZ5T7SCIAJAPSI3ZAJ7K3AVCNFSM56BNBZ72U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGEZDCMBXGM2Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@ddfridley Happy to take this if its still available, which it seems to be. |
@Nostromos please consider that we need to make the QA testing as simple as possible - meaning change the least files and lines of code as possible. Also I am working on adding storybook, an environment for running and testing react components. Maybe we can be a good candidate for that. Lets talk more about that when I get back from vacation. |
Understood. I think the simplest approach is:
Simpler still might be autosaving crop after a short delay and not requiring the "Done Cropping" button to be clicked but I need to look into the cropping library to see if that's possible. The bigger problem is that I never learned class-based react and vscode seems to hate flow, despite an entirely new profile with TS parsing turned off, flow extension installed, etc. Anyway I'll get that figured out and will put in a PR once I've got something. |
@marlonkeating @ddfridley Hey I think I've got it figured out. Can I get perms to push my branch up so I can draft a PR? There's still some testing left to do and a little clean up but should be good to go by EOD today or Monday. |
Found a small UX thing when updating my profile pic. It would not work if I clicked Save before I clicked Done Cropping. I tried & failed to update my photo the other day.
For a quick fix, perhaps the save button could be hidden or disabled until the required cropping has happened. Etc. Thanks!
The text was updated successfully, but these errors were encountered: