Pulling in Bootstrap of Create Plan changes (#89)
* DMPRoadmap/roadmap#issue567

- 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.

* 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

* Boostrapped the create plan page
dev
1 parent 465f07e commit 4222098209def9cf37a3dabb89c0e13520994d97
@Brian Riley Brian Riley authored on 12 Sep 2017
GitHub committed on 12 Sep 2017
Showing 16 changed files
View
app/views/layouts/_es5_scripts.html.erb
View
app/views/plans/_share.html.erb 100644 → 0
View
app/views/plans/_share_form.html.erb
View
app/views/plans/new.html.erb
View
app/views/shared/_accessible_combobox.html.erb
View
lib/assets/javascripts/application.js
View
lib/assets/javascripts/constants.js
View
lib/assets/javascripts/spec/autoCompleteSpec.js 0 → 100644
View
lib/assets/javascripts/spec/expandCollapseAllSpec.js 0 → 100644
View
lib/assets/javascripts/spec/fixtures/accordion.html 0 → 100644
View
lib/assets/javascripts/spec/fixtures/autoComplete.html 0 → 100644
View
lib/assets/javascripts/utils/ariatiseForm.js
View
lib/assets/javascripts/utils/autoComplete.js 0 → 100644
View
lib/assets/javascripts/views/plans/new.js
View
lib/assets/package-lock.json
View
lib/assets/webpack.config.js