Member Registration Form#700
Conversation
Theophile-Madet
left a comment
There was a problem hiding this comment.
Hey, thanks a lot for the PR!
I think it's a great start. I see you even did a bit of backend last week :)
I left small comments from a quick first look but nothing big.
Did you manage to get started fine? I see you updated and used the API clients, was it clear how to do that?
Do you want to keep working on this? If yes, would you be able to join the next IT meeting so that we can make a plan how to go forward? It's on Thursday, November 20th 18:30 to 19:30.
If not, we can maybe setup a dedicated meeting. It'd be nice to get feedback early from the member office and/or Vorstand, especially about the process on their side, confirmation, mails and all.
If we put the views behind a feature flag (see for example tapir.coop.views.membership_resignation.MembershipResignationList.get_context_data), we could merge this in master already and work with smaller PRs. That would make reviews easier and help avoid merge conflicts.
| #: dist/assets/member_registration-CVGcYZzC.js:6 | ||
| msgid "" | ||
| "\n" | ||
| "I accept the Data Processing Agreement listed below:\n" | ||
| msgstr "Ich nehme die Datenschutzerklärung zur Kenntnis:" |
There was a problem hiding this comment.
When running manage.py compilemessages (when building the container or when deploying), these lines cause this error message:
Execution of msgfmt failed: /app/tapir/translations/locale/de/LC_MESSAGES/djangojs.po:361: 'msgid' and 'msgstr' entries do not both begin with '\n'
msgfmt: found 2 fatal errors
CommandError: compilemessages generated one or more errors.
| misc_group.add_link( | ||
| display_name=_("Become a Member"), | ||
| material_icon="person_add", | ||
| url=reverse_lazy("coop:member_self_registration"), | ||
| ordering=8, | ||
| ) |
There was a problem hiding this comment.
Maybe we could show that link only if the person is not logged in?
The sidebar menu code is a bit rudimentary but it should be possible check for that, see tapir.core.utils.SidebarLinkGroups.is_link_shown
| declare let gettext: (english_text: string) => string; | ||
|
|
||
| enum RegistrationStage { | ||
| ONE, |
There was a problem hiding this comment.
Could we get more descriptive names? Something like "personal info" and "legal stuff"
| @@ -0,0 +1,45 @@ | |||
| import { COOP_NAME, COOP_STREET, COOP_PLACE } from "./constants"; | |||
There was a problem hiding this comment.
Ideally we'd get those from the backend, probably with an API call on page load.
|
Hey @Theophile-Madet - I'm sorry I'm just getting to this. Thanks for the code review, I appreciate the feedback! Unfortunately I'm really short on time so I don't know when I can continue, and it's a bit difficult to attend the IT AG meetings as I'm already doing my shifts as a fixed Team Lead. But if y'all don't have the capacity to pick this up, I'm hoping to find some time for it in December. |
#677
This PR adds the frontend for the New Member Registration Form, as designed and developed by @subetha and myself.
What's been done so far:
What needs to be done
DraftUserin the handler)