Closed christalee closed 2 years ago
Can you please rebase this onto main
, @christalee? I see a merge commit, and suspect that might be complicating matters.
If that turns out to be a red herring, can you please look into why there are 20k lines changed in package-lock.json
? For example, it appears that eslint is being downgraded from 7.29.0 to 4.10.0, which is probably not what we want!
I rebased onto main but then there was a merge conflict in AdminNicety.js so now there's a new one. I'm not sure what's going on with package-lock.json but I did notice that it previously included a dependency on "eslint-plugin-react": "^7.22.0",
which has been removed / was probably an error. One option is to revert to the version of package-lock.json from 75a757 and downgrade my local npm to v.6.x to match yours. (I'm currently on 7.10.0) What do you think?
I'm not clear on why this PR is making any changes to package-lock.json
, as there are no corresponding changes to package.json
. I don't think you need to downgrade to npm 6 and revert ac8b248063c4eecd6030cf3b4c30776516e88915, though!
The merge conflict appears to be with a change made in #83. You'll need to resolve the merge conflict while rebasing, but using the take-mine strategy should work fine; that is, I think you can just delete the conflict markers and the #83-version, without needing to modify your proposed changes.
I discarded all the changes to package-lock.json and rebased and all should be well now. Thanks for talking me through it @jasonaowen !
This PR includes a migration of AdminNicety from a class to a functional component, and a simplification of the props passed into it in Admin. I realized this was possible once I removed code related to editing and reviewing niceties, since we've been informed that's not really a use-case for admins.
I also added the user's full name as a title (hover-text) for each photo, in case there are two Sams in your batch and you can't quite recall which is which.