-
Notifications
You must be signed in to change notification settings - Fork 6
Add an organizers page #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
Comments
This page should link to meetup profiles of the organizers (eg. https://www.meetup.com/pythonsd/members/?op=leaders but maybe just the ones still active) and it should link to the organizer email address [email protected]. It could be database driven (organizers stored in a model with an active flag) so that we could easily add optional fields like a LinkedIn profile, but that's not a strict requirement and possibly overkill. The page should appear in the top navigation next to Code of Conduct. |
Regarding images, they would probably need to be saved as static files, I'm assuming the Meetup image URLs would break if anyone changed their profile picture. It might be good to wait on this if the switch to TailwindCSS is happening, but the CSS would look something like this:
Note: this would be after wrapping the image, name, and links in a div during the template's loop. |
If we save them as uploaded media files, we need a place to store media which we don't currently have. Setting up S3 and django-storages is straight-forward but something that I'd like to not do if we don't need it. I'm going to look to see if we can link directly to meetup but media files might be the answer.
I'm not too worried about waiting as fixing little things like that should be quick. I have an initial branch/exploration about switching but I'm not ready for a PR yet. |
Media files are probably the answer. Meetup doesn't seem to even support the API we're using and wants us to upgrade (the PSF is already paying them!) to use the new API. The user images don't seem to have a deterministic filename based on the user ID. |
Assuming the pictures won't change that often, we could add an image_file CharField to the Organizer model and add them all as static files (similar to static/img/sponsors is now). image_file would be something like "first-last.png' . Then they could be called with string concatenation:
This is a bit more work up front but eliminates the need for storing uploaded media files. There could also be a generic image that is the default for image_file, to prevent breaking the layout if a new organizer is added without an image. |
If we make it static, doesn't that defeat the purpose of having it be database-driven? I am exploring some easy options for uploading them so I'll report back tonight or tomorrow. |
We should have a page that identifies the organizers of the group by name and things like Twitter accounts or LinkedIn accounts. I wouldn't share emails except for our general organizer email.
The text was updated successfully, but these errors were encountered: