-
Notifications
You must be signed in to change notification settings - Fork 506
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
Data sources - "tweets" is always used to describe the content for the "Import to survey" field #3531
Data sources - "tweets" is always used to describe the content for the "Import to survey" field #3531
Comments
Hi, @rowasc I saw this and I am interested in it. |
Hi @rowasc, Nevertheless, I still need help with finding the datasources,html file. Thanks |
@Jenniline Second change requires editing in this file. |
@Jenniline Thank you for looking into this. @ritesh-pandey is right (thanks for helping out!), the files related to datasources are found here: https://github.com/ushahidi/platform-client/tree/develop/app/settings/datasources |
Thanks @Angamanga and @ritesh-pandey. I have viewed the file and I have made the necessary changes. Please review it. |
Thanks @Jenniline . We'll review it and get back to you 🎉 thank you ! |
@Jenniline Thank you! Could you start with updating your fork with the newest changes in Ushahidis Platform-client-repo (a guide on how to do that can be found here: https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/merging-an-upstream-repository-into-your-fork) and then make a pull-request into this repo rather than into your own (a guide about that is found here: https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork)? Thank you :) |
Hi @Angamanga I have updated my fork and made the pull Request please review and let me know thanks |
@Jenniline I don't find the pull-request, can you please try to open it again? Thank you 🎉 |
Hi Anna, here is the link to the branch |
@Obadha2 Can you QA in Steve buscemi please? 🙏
|
Hi @Obadha2 |
Ah, I missed this! So @Jenniline there is a few things that needs to be done:
|
Alright @Angamanga I will do them. |
@Obadha2 Could you recheck in Steve Buscemi please 🙏 ? |
Hi Anna, In the en.json file, the issue there is that, the sentence does not make sense what I mean is it looks like this on line #316 "Each of the survey's fields are listed below. "Choose the data from {{datasource_type}} that you'd like to use to populate each of those fields." But it is displayed on the Platform-client this way: "Each of the survey's fields are listed below. "Choose the data from that you'd like to use to populate each of those fields." There is an omission between from and that because the code ({{datasource_type}}) cannot be displayed. So then in the pull requests I have just made, I removed the {{datasource_type}} and replaced it with data source type. more of the description is in the pull request. Here is the link Jenniline/platform-client#7. Please review and let me know Thanks |
This passes QA. 👍 |
Describe the bug
When setting up data sources, the data source type is hardcoded and is always "tweets" instead of the correct data source type.
Where was the bug observed
Personal test deployment: https://lgbthistoryswuk.ushahidi.io/views/map
To Reproduce
Steps to reproduce the behavior:
Each of the survey's fields are listed below. Choose the data from your tweets that you'd like to use to populate each of those fields.'
Expected behavior
The data source type shown in the description should match the one the user is looking at.
It should read
.. etc ...
Is there a workaround? What is it.
No
Screenshots
URL / Environment where this happened
Any ushahidi.io or testing environment with Ushahidi V3 or V4
Desktop Hardware Details (please complete the following information):
Working on this issue
Implementation notes
Fix in https://github.com/ushahidi/platform-client repo
Hint 💡 The file with all the language keys can be found here: https://github.com/ushahidi/platform-client/tree/develop/app/common/locales/en.json
When you are done, 🔀 Start a Pull Request. There are two ways how you can start a pull request:
If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.
You can also edit files directly in your browser and open a pull request from there.
🏁 When done Ask in comments for a review :)
Changes required (first timers only)
with
Ping @rowasc if you need help with this issue!
The text was updated successfully, but these errors were encountered: