roadmap
roadmap copied to clipboard
Integration of question identifier, and Research output DOI search features
Integration of
- question identifier, and
- Research output DOI search
For the research-output-doi-search feature, these are the comprising files:
1. roadmap/app/controllers/open_aire_service_controller.rb
2. roadmap/app/views/research_outputs - roadmap/app/views/research_outputs/_form.html.erb
3. roadmap/config/initializers/external_apis/open_aire.rb
4. roadmap/app/javascript/src/researchOutputs/form.js
5. roadmap/db/migrate/20240126163845_add_doi_url_to_research_outputs.rb
6. roadmap/app/controllers/research_outputs_controller.rb
7. roadmap/app/policies/research_output_policy.rb
8. roadmap/app/presenters/research_output_presenter.rb
9. roadmap/app/views/shared/export/_plan_outputs.erb
10. roadmap/app/views/shared/export/_plan_txt.erb
11. roadmap/app/views/shared/export/_plan.erb
For the question-identifiers feature, these are the compriding files:
1. app/controllers/org_admin/question_identifiers_controller.rb
2. app/controllers/org_admin/questions_controller.rb
3. app/controllers/orgs_controller.rb
4. app/models/org.rb
5. app/models/question.rb
6. app/models/question_identifier.rb
7. app/models/template.rb
8. app/models/question_option.rb
9. app/policies/question_identifier_policy.rb
10. app/helpers/question_identifiers_helper.rb
11. app/javascript/application.js
12. app/javascript/src/orgAdmin/questionIdentifiers/index.js
13. app/javascript/src/orgAdmin/questionIdentifiers/list.js
14. app/javascript/src/orgAdmin/questionOptions/index.js
15. app/javascript/src/orgAdmin/phases/newEdit.js
16. app/views/org_admin/question_identifiers/_question_identifier_block.html.erb
17. app/views/org_admin/question_identifiers/_question_identifiers_list.html.erb
18. app/views/org_admin/questions/_form.html.erb
19. app/views/org_admin/questions/_show.html.erb
20. app/views/orgs/_profile_form.html.erb
21. app/views/orgs/_external_identifiers.html.erb
22. app/views/api/v0/plans/index.json.jbuilder
23. config/routes.rb
24. db/migrate/20240118094956_add_new_column_to_orgs.rb
I have added the RO-DOI feature to the branch issue/3552.
I have also tested this feature in the branch (using the doi "10.5281/zenodo.7635478") and it is working to spec.
I have added the question-identifier feature to the branch issue/3552.
The feature is generally working to spec, but I have encountered the following issues:
- When, as an org-admin, I am in a template in edit mode, there is a button called "Question Identifiers List", which, upon clicking, should display the list of question-identifiers for that question in a modal. The modal does pop up, but it shows as empty, i.e. does not list the question-identifiers.
- Also in edit mode in a template, there is an "Add new Question Identifier" button/link. However, instead of creating a new row for receiving a new question-identifier, clicking the link just takes you up to the top of the page.
- Also in edit mode in a template, on selecting a multi-option question type, e.g. "Radio buttons", the "Answer Identifier" fields are not showing.