-
Notifications
You must be signed in to change notification settings - Fork 34
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
Suggestion needed regarding manually editing the per-section motion mode prediction #616
Comments
Hi @xubowenhaoren which version of the phone app UI are you using? I've recently improved the structure to make it easier to add new labels. This should be trivial. Steps are:
Done! |
On the server, the |
This actually makes me happy because it indicates that the labeling UX design was at least somewhat correct :) |
Thanks for the contexts! We actually wanted to do the "motion mode editing" on the section/segment level. I've also adjusted this issue title. But it looks like e-mission has a similar feature already, which will give us a good start.
I confirm that our branch currently has the mode & purpose dropdown. But I don't think it has the October commit. I will pull the update, start working on the actual implementation soon and update this issue accordingly. |
That's fabulous! It's really hard to design an easy to use UI for that, so you might want to contribute your code back to e-mission when you have a chance. For the record, you would continue to store the data on the server as |
@xubowenhaoren while labeling sections is definitely useful, it assumes that the section segmentation is correct. That is not always the case, so you might want to allow users the ability to edit the section segmentation. @asiripanich plans to implement editing of trip segmentation (#593). If you do end up implementing section segmentation, I wonder if you could share that with @asiripanich? |
There is a prior PR on section editing based on the incident reporting that you could experiment with (e-mission/e-mission-phone#308, e-mission/e-mission-phone#469) |
This project is on a very tight timeline (only 10 weeks!). Therefore we won't implement segmentation editing for now. |
Copying from issue #623: We are working on a project with sub-tasks to improve the overall accessibility of the E-mission app UI. We've discovered that the Leaflet map cannot display the start & end location for each trip segment in an accessible manner. Since this is a very short 10-week project, we've decided to add the text display of the start & end location for each trip segment. A UI prototype below: To display the start & end location information for each trip segment, we've added the following in
in
These additions work pretty well with the unprocessed trips. However, we noticed that the UI was broken after the trips are segmented. After checking the
|
I don't understand this statement. What unformatted information are you looking for?
|
I was still unable to get the correct information.
Logcat:
|
Ah you are not looking at trips directly, you are looking at tripgj (geojson) The output is a standard geojson feature collection, to make it easier to represent in a map. I would connecting with the chrome debugger so you can inspect the resulting data structures more efficiently than using locgcat. |
In the same
Logcat:
So I am still not able to get the stops. Can you point me to a guide for setting up and using the Chrome debugger? |
If there are no stops, then this is a unimodal, not multi-modal trip, so there is only one section.
That should work |
Hello,
We are working on a project with sub-tasks to:
For sub-task 2, we wish to add the feature to allow users to edit their motion modes directly in the e-mission app. A prototype below:
I understand that the original motion mode is stored in the server-side MongoDB. To make sub-task 2 work, we need to add the ability to update motion modes to MongoDB. I have the following questions:
The text was updated successfully, but these errors were encountered: