[UI] Remove tick mark referring to third-party agreement #4584
[UI] Remove tick mark referring to third-party agreement #4584mergify[bot] merged 5 commits intohedyorg:mainfrom ghubrakesh:main
Conversation
|
Thanks @ghubrakesh!! Did you by any chance also do a search of the repo if it is used elsewhere? |
never mind, I did a full search and removed a few more, I think we are now good to go! Thanks again for your first Hedy PR!! |
Oh, I am sorry @Felienne, I did not get the notification for your comment. I hope the issue has been resolved completely by now. |
jpelay
left a comment
There was a problem hiding this comment.
Thank you very much for this PR @ghubrakesh! I left a couple of comments because you accidentaly removed code that is still in use and not the tick mark we wanted! I also attached which lines you have to delete; if you need any further help don't hesitate in contacting us!
| <div class="flex flex-row gap-4 items-center border-gray-400 border p-4 rounded-lg"> | ||
| <input type="checkbox" name="agree_terms" id="agree_terms" required class="" {% if public_settings %}checked{% endif %}> | ||
| <label for="agree_terms" class="cursor-pointer w-full">{{_('public_profile_info')}}</label> | ||
| </div> |
There was a problem hiding this comment.
Can you revert this change, please? This tick mark is used if a user wants their profile to be public, and we don't want to remove this one!
There was a problem hiding this comment.
The lines we want to remove are these ones:
Lines 145 to 148 in f7823ac
Can you please restore the lines you deleted and delete these ones instead? I can also do this if you want, but I don't have permissions to commit to your branch :c Thank you very much for your help @ghubrakesh!!
There was a problem hiding this comment.
See how we're looking to remove the ones that have the string agree_third_party. Wich are present in the lines I attached in 3 ways: the id of the input, the for in the label, and also in this weird string {{_('agree_third_party')}}, which is a label that will later be replaced with the appropriate translation in whichever language the user has set.
The one you removed only has the string: agree_terms which is for agreeing to have a public profile! It's perfectly reasonable to get confused, more so being your first time working with our codebase!
There was a problem hiding this comment.
Yes! The changes made by Felienne are correct, and you shouldn't revert them; just the ones I told you about.
jpelay
left a comment
There was a problem hiding this comment.
Perfect! Thank you very much, again, @ghubrakesh! This looks great!
|
The error we are getting now is unrelated, and hopefully will be fixed soon! |
|
Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork). |
|
Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork). |
Fixes #4583: [UI] remove tickmark from profile