-
Notifications
You must be signed in to change notification settings - Fork 178
Add mobile number and means of transportation to user profile #552
Comments
This touches data privacy. Users should be aware that they will share this information with other group members. See #428 for a related issue |
which can be covered by the data privacy poilcy which should describe what data is stored and who has access to it and why. #607 |
At the moment it's hard to understand much about a user, unless you already know them personally. Some ideas:
|
|
Mobile phone number should be ready for implementation:
While "means of transportation" needs a bit more thought in my eyes. It could be nice to show symbols next to the user who signed up for a pickup (bike, trailer, car...) and optionally also a text comment. Right now, we only show the user photo. |
Hey, can me and my teammate @DevipriyaSarkar pick it up for getting started with RGSoC? |
Yes! Don't hesitate to ask if you have questions! |
Hey @tiltec @nicksellen , can I use django-phonenumber-field as the model field for the phone number field? |
Hi @DevipriyaSarkar, yes please try it out. From what I read, it takes care of proper formatting. I have two questions to it:
|
Hey @tiltec , so I tested the following on a sample Django application:
Link to give you an idea of the underlying Anyway, I just wanted to confirm whether our use case needs the validation overhead. What do you think? |
Thanks for the writeup! I'd be happy if you go without validation, I guess we don't need the overhead (yet). A |
Cool. :) I had a few questions:
|
I'll try to answer your questions, @DevipriyaSarkar:
|
Ah thanks @djahnie, although I have some additions:
|
@DevipriyaSarkar, I think Django sets the default implicitly to |
Backend has been added by @DevipriyaSarkar, now the frontend needs to be done. Would you @DevipriyaSarkar be interested in it as well? |
Yes, we are working on it now. |
@tiltec we are new to vue.js, so it's taking a bit of time to figure it out. We are on it :) |
Great! Please ask questions if you have any, we try to come up with answers. https://github.com/vuejs/vue-devtools are quite helpful for local frontend development, they let you analyze the website quite much :) |
Phone number field is merged to master and should be visible on dev.karrot.world soon. That doesn't yet fulfill the original requirement: "In storeview and groupview not only the names of foodsavers who signed up for a pick-up should be displayed but also additional info like mobile numbers and means of transportation." I wonder how it could be managed from a design perspective. The alternative would be to have a separate page for each pickup with the details. A modal could also make sense. Related is also #677 |
So, shall we use a modal? |
I'm not sure. I don't like modals very much, because can't be easily routed to and the user can't interact with other elements on the website while a modal is open. |
Hey! Can you update us on how shall we proceed? :) |
I'd love to :) I guess it's a bit design-heavy though.. would you feel comfortable trying out different designs as mock-ups (doesn't need to functional) and post the pictures here? |
Sorry, forgot to answer earlier. I like the idea of @tiltec to be able to collapse the pickup and expand it by default if you are one of the people who signed up for it - This is especially nicer for the desktop version and shouldn't be too hard to implement since we already have the animation set up (in sidenav boxes or the empty pickups on the group wall). If you run into trouble design wise, let me know. |
Hey, Thanks! We'd work on the collapsible design then? Also we might work a little slow because we are having internal exams this coming week and gets over by 15. Is that fine? |
Sure, no worries. All the best for your exams! |
The means_of_transport field should be added to groups model or pickups model? A little confusion here. We have this doubt because user can go for different pickups using different vehicles right? So it didn't seem like a field to be added to user model. |
I'm also not sure about the means of transportation field. As you said, it can be different for each pickup, therefore it would be wrong to make it a field on the user model. On the other hand, if it's a field on the pickup collector relation, then the user would have to enter it every time when they join a pickup (and probably need to make it editable too without leaving the pickup again). As variation to the latter idea, we could have some values predefined (e.g. show icons with "walking", "trolley", "bike", "bike+trailer", "car", "van") that the user can simply select instead of typing words. Seems a bit more complex design-wise, but could offer much better user experience. If we go for this, we should also decide if we want to still allow custom text. Slightly related: the idea of adding conversations to individual pickups #677 All in all, I think we should discuss the idea a bit more... By the way, are you still up for working on the collapsible pickup design to show phone numbers of the participants? Related to that, I had the idea of adding a "profile preview" function, similar to the one in Slack. It would help to get the most important information about another user without leaving the page. |
Yes, we are up for the collapsible design, thought mean_of_transport was to be done first but since it requires more discussion, we'll do the collapsible thing first. |
Yes, having a profile preview feature seems more useful to me than having collapsible pickups. A simple preview could show these things:
In future, it can be extended with more actions, e.g. "message this user". Maybe the popover component is suitable for this? http://v0-14.quasar-framework.org/components/popover.html |
This seems kind of stuck. Does anybody have more input, thoughts and ideas for this? Would be nice to see it progressing further! 🙂 (I will also add some more thoughts to this, promise!) |
We now have pickup conversations and user conversations which are presented in a "detail" sidebar. This issue seems to be lower priority because people can talk about this in a pickup conversation. At some point, it could be good to add more information to the pickup detail sidebar, e.g. the means of transport. It should be stored per pickup per user, perhaps with some predefined choices. |
We should probably open a new issue summarizing the things that should be worked on, and then close this one. |
The mobile number field is implemented and the number of comments on this issue is pretty intimidating. If there is still a need for the means of transportation field, a new issue should be opened. |
Feedback from Fürth:
In storeview and groupview not only the names of foodsavers who signed up for a pick-up should be displayed but also additional info like mobile numbers and means of transportation.
This would require the possibility for users to enter these kinds of information on their profiles, so that it can be displayed in a dropdown menu (for example) in every pick-up they signed up for.
The text was updated successfully, but these errors were encountered: