|
Boostrapped the create plan page. DMPRoadmap/roadmap#632
- Converted JS for page over to ES6 - Added stub test and fixture - Converted jquery autocomplete combobox to Bootstrap and ES6 TODO: - Add in AJAX calls to retrieve template options based on org/funder selections - Fix issue with the hidden id field being updated when combobox item is selected - Finish tests for the autoComplete.js Bootstrapped Plan Writing and Download pages (#88) * DMPRoadmap/roadmap#issue567 * DMPRoadmap/roadmap#issue561 - Bootstrapped the Write Plan page accordions - Rebased with latest from CDL-MVP bootstrapped the phases accordion DMPRoadmap/roadmap#567 added es6 function to provide expand/collapse all functionality. bootstrapped several accordions DMPRoadmap/roadmap#567 finished Bootstrapping write plan accordions DMPRoadmap/roadmap#567 fixed linter issue DMPRoadmap/roadmap#issue567 fixed linter issue * Bootstrapping and ES6 of the Plan Download page DMPRoadmap/roadmap#561. - Renamed show_export.html.erb to download.html.erb (updated controller, policy, links and route) - Renamed export_settings.js to download.js and dropped unused auto-save JS (no longer a part of wireframes) - Bootstrapped page html changed name of show_export to download to match UI terminology. Bootstrapped download page Added ES6 JS for download page and made tweaks to the format * DMPRoadmap/roadmap#562 edit phases using plan navigation layout bootstrap plan progress. bootstrap sections header. added togglable section icons for expand/collapse answers_controller returning a JSON with partial views rendered. Split question types in different partials. Started new answers/status.js Rename view to edit_plan_answers.html.erb. Load tinymce through ES6 for question answers. Delete old status.js ES5. Added timeago to vendor fixed broken test regarding answers_controller * fixed linter issue with CRLF * fixed tests broken by name change from show_export to download. added JS tests for expandCollapseAll accordion functionality fixed linter complaint about double vs single quotes in test removed a few empty and unused views. removed old es5 js for create plan page. bootstrapped the create plan page boostrapped the create plan page. converted jquery autocomplete to ES6 and bootstrap. started adding JS tests removed unfinished tests for autocomplete, will finihs after demo. added comments to autoComplete.js |
|---|
|
|
| app/controllers/answers_controller.rb |
|---|
| app/controllers/plans_controller.rb |
|---|
| app/controllers/settings/plans_controller.rb |
|---|
| app/policies/plan_policy.rb |
|---|
| app/views/answers/_new_edit.html.erb |
|---|
| app/views/answers/_status.html.erb |
|---|
| app/views/answers/update.js.erb 100644 → 0 |
|---|
| app/views/layouts/_es5_scripts.html.erb |
|---|
| app/views/phases/_edit_plan_answers.html.erb 0 → 100644 |
|---|
| app/views/phases/edit.html.erb |
|---|
| app/views/plans/_download.html.erb 100644 → 0 |
|---|
| app/views/plans/_download_form.html.erb 0 → 100644 |
|---|
| app/views/plans/_progress.html.erb |
|---|
| app/views/plans/_share.html.erb 100644 → 0 |
|---|
| app/views/plans/_share_form.html.erb |
|---|
| app/views/plans/download.html.erb 0 → 100644 |
|---|
| app/views/plans/index.html.erb |
|---|
| app/views/plans/new.html.erb |
|---|
| app/views/plans/show_export.html.erb 100644 → 0 |
|---|
| app/views/questions/_new_edit_question_option_based.html.erb 0 → 100644 |
|---|
| app/views/questions/_new_edit_question_textarea.html.erb 0 → 100644 |
|---|
| app/views/questions/_new_edit_question_textfield.html.erb 0 → 100644 |
|---|
| app/views/sections/_progress.html.erb |
|---|
| app/views/shared/_accessible_combobox.html.erb |
|---|
| app/views/shared/_plan_navigation.html.erb |
|---|
| config/routes.rb |
|---|
| lib/assets/javascripts/application.js |
|---|
| lib/assets/javascripts/constants.js |
|---|
| lib/assets/javascripts/spec/autoCompleteSpec.js 0 → 100644 |
|---|
| lib/assets/javascripts/spec/expandCollapseAllSpec.js 0 → 100644 |
|---|
| lib/assets/javascripts/spec/fixtures/accordion.html 0 → 100644 |
|---|
| lib/assets/javascripts/spec/fixtures/autoComplete.html 0 → 100644 |
|---|
| lib/assets/javascripts/utils/ariatiseForm.js |
|---|
| lib/assets/javascripts/utils/autoComplete.js 0 → 100644 |
|---|
| lib/assets/javascripts/views/answers/status.js |
|---|
| lib/assets/javascripts/views/phases/edit.js |
|---|
| lib/assets/javascripts/views/plans/download.js 0 → 100644 |
|---|
| lib/assets/javascripts/views/plans/export_configure.js 100644 → 0 |
|---|
| lib/assets/javascripts/views/plans/new.js |
|---|
| lib/assets/javascripts/views/plans/share.js |
|---|
| lib/assets/package-lock.json |
|---|
| lib/assets/stylesheets/application.scss |
|---|
| lib/assets/webpack.config.js |
|---|
| test/functional/answers_controller_test.rb |
|---|
| test/functional/plans_controller_test.rb |
|---|
| test/integration/answer_locking_test.rb |
|---|