Skip to content
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

CSV Upload: Add route, controller,policy, nav link, and UI for upload #868

Closed
kasugaijin opened this issue Jul 10, 2024 · 11 comments
Closed
Assignees

Comments

@kasugaijin
Copy link
Collaborator

kasugaijin commented Jul 10, 2024

This work is part of a feature that will enable staff to upload questionnaires from third party form services to the app so the adopter data is all in once place.

Scoping should be Organizations::Staff

Add a route external_form_submission
Add controller ExternalFormSubmissionsController
Add policy class with check for the index action.
Add link to staff navbar External Form Upload
When I click on the navbar link, I am redirected to a new page within the dashboard layout that has a file attachment input. You can use the index action.

Above the input is a section with the following information:

'If you use a third party form service, like Google Forms, to provide questionnaires to potential adopters, and receive their answers, you can upload the CSV of data here to import the questions and responses to this application. This means the questionnaire data will live in one place, and you will be able to view it for a given adoption application at any time. Note that the adopter must have an account in this application using the same email address they used in the third party form.'

@kasugaijin kasugaijin added the Ready Make a comment to get assigned. label Jul 10, 2024
@kasugaijin kasugaijin changed the title CSV Upload: Add route, controller, nav link, and UI for upload CSV Upload: Add route, controller,policy, nav link, and UI for upload Jul 10, 2024
@Naraveni
Copy link
Contributor

hwy Can I work on this

@kasugaijin
Copy link
Collaborator Author

For sure @Naraveni let me know if you have any questions!

@kasugaijin kasugaijin removed the Ready Make a comment to get assigned. label Jul 22, 2024
@Naraveni
Copy link
Contributor

@kasugaijin could you please mention should I completely create new models or use existing models. If I have to use existing models, could you please mention what models I need to look at.
Thank You

@kasugaijin
Copy link
Collaborator Author

@Naraveni I don't think we will need a new model for this. For now let's just focus on the new routes, controllers, policy, to get the UI working. Then in an issue later we can hook things up. This will use an import service that will persist to existing models.

@kasugaijin
Copy link
Collaborator Author

@Naraveni how's this going? let me know if you have questions

@Naraveni
Copy link
Contributor

@kasugaijin Haven't started during the weekdays. I got some time during the weekend, I will try to complete it now

Copy link

This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned.

Copy link

github-actions bot commented Sep 4, 2024

Automatically unassigned after 7 days of inactivity.

@github-actions github-actions bot removed the Stale label Sep 4, 2024
@kasugaijin kasugaijin added the Ready Make a comment to get assigned. label Sep 21, 2024
@kasugaijin
Copy link
Collaborator Author

@Naraveni this has been unassigned. Let me know if you want to tackle it.

@wandergithub
Copy link
Contributor

I'm interested in this task.

@kasugaijin
Copy link
Collaborator Author

@wandergithub all yours!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants