Hi! I encountered a small issue that I think could use some attending to. In the privacy section of the profile page, the save button is initially disabled. Then if you click one of the options to change something from public to private or vice versa, the save button is enabled to click. But if you revert back to the user’s original privacy setting state, the save button remains enabled, even if there is no new information to save. It is a very minor thing, but something that I think would be fairly easy to fix, and that I’d be happy to attend to. Let me know if you would like me to create an issue for this, fix it and create a pull request, or if it is in its intended state as is. Thank you!
Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.
Hi! I came across this bug and I think I’ve found the fix. The issue is in client/src/components/settings/privacy.tsx where the save button tracks whether the user clicked anything rather than whether the current state actually differs from the saved state. I’ve made the fix locally and will be opening a PR shortly.