2786 Commits

Author SHA1 Message Date
Patrick Smith
880d40d5ec Use hidden input to track environment names
Since we're using ally.js for modals, when the modal is open, other
elements are disabled. Since the form is submitted when the "Create"
button is clicked and browsers do not submit disabled form fields, the
form was not submitting environment names when creating a project.

This workaround creates hidden inputs to track the environment names.
Since they're hidden, they are not disabled by ally.js, so the fields
are properly submitted.

This should be the only form affected, since this is the only form
submitted via a modal button.
2018-10-24 16:39:21 -04:00
leigh-mil
778c029877
Merge pull request #399 from dod-ccpo/hyphenate-names-#161325890
Update Alphabet validator to accept hyphens
2018-10-24 10:34:59 -04:00
leigh-mil
6ad4f4c077 Fix name of test 2018-10-24 10:08:49 -04:00
leigh-mil
6fdc883a8c Formatting 2018-10-23 17:21:46 -04:00
leigh-mil
d474091f5e Add more invalid test cases 2018-10-23 17:15:50 -04:00
leigh-mil
f93c487e80 Update error message 2018-10-23 17:15:16 -04:00
leigh-mil
d3cb7e3dd1
Merge pull request #398 from dod-ccpo/rename-project-#158473663
Rename project #158473663
2018-10-23 16:59:11 -04:00
leigh-mil
ae2c1f8918 Fix from merge conflict 2018-10-23 13:45:04 -04:00
leigh-mil
0dd9ab9684 Move Enviroment error message div to New Project form 2018-10-23 13:43:13 -04:00
leigh-mil
4bd42a7bc0 Remove v-on:submit attribute since form is no longer hooked into Vue 2018-10-23 13:43:13 -04:00
leigh-mil
253d0e9793 Add styling to read-only input fields 2018-10-23 13:43:13 -04:00
leigh-mil
86cf568e5b Formatting 2018-10-23 13:43:13 -04:00
leigh-mil
2455618268 Remove unused imports 2018-10-23 13:43:13 -04:00
leigh-mil
92fc5e6e76 Add in environment section to Edit Project Page 2018-10-23 13:43:13 -04:00
leigh-mil
ff88c5c34a Update edit_project route to use ProjectForm and removed environments from being passed to form 2018-10-23 13:43:13 -04:00
leigh-mil
3eea3f5454 Refactor tests to use WorkspaceFactory create 2018-10-23 13:43:13 -04:00
leigh-mil
c5bc10d8c3 Refactory Edit Project Form to simplify and use Edit Project fragment 2018-10-23 13:43:13 -04:00
leigh-mil
6de48837fa Refactor New Project Form to remove conditional logic and include fields relevant to new project 2018-10-23 13:43:13 -04:00
leigh-mil
8fe9c464bd Refactor Edit Project Form fragment to only include form fields that are shared in new and edit forms 2018-10-23 13:43:04 -04:00
leigh-mil
3040115162 Remove WIP alert 2018-10-23 13:41:20 -04:00
leigh-mil
424bacbf1e Add test for update Projects method 2018-10-23 13:41:20 -04:00
leigh-mil
d62b7e883e Add tests for update project route 2018-10-23 13:41:20 -04:00
leigh-mil
b9a2d667f6 Only show environment fields in form when a new project is created 2018-10-23 13:41:20 -04:00
leigh-mil
25b84a4df6 Add ProjectForm class that does not include environments for edit project form 2018-10-23 13:41:20 -04:00
leigh-mil
bc76ef633e Add route and function to update Project details 2018-10-23 13:41:20 -04:00
leigh-mil
aad62853bc Update test name 2018-10-23 13:18:01 -04:00
leigh-mil
13763d8750 Change name of validator to Name because it is more descriptive 2018-10-23 11:22:16 -04:00
dandds
562b201eb1
Merge pull request #401 from dod-ccpo/autofill-user-details-#161022161
prepopulate remaining user data on request form
2018-10-23 10:31:53 -04:00
dandds
93bf0dcb8a prepopulate remaining user data on request form 2018-10-23 09:23:59 -04:00
andrewdds
9fe7d877ba
Merge pull request #395 from dod-ccpo/dropdown-keyboard-access
Dropdown selector keyboard accessibility
2018-10-23 08:08:21 -04:00
patricksmithdds
ec8589fdbd
Merge pull request #400 from dod-ccpo/readme-updates
update readme for onboarding new devs
2018-10-19 13:51:53 -04:00
Andrew Croce
3c61b2b927 layout fix for ie10 2018-10-19 13:07:53 -04:00
andrewdds
304159cad0
Merge pull request #397 from dod-ccpo/modal-accessibility
Modal accessibility
2018-10-19 11:03:29 -04:00
Andrew Croce
29ec31d8d8 Add up-arrow key to open
Add escape key to revert
Remove automatic-closing behavior
2018-10-19 10:55:53 -04:00
leigh-mil
6a15a6ca7b Update tests to reflect new Alphabet validators 2018-10-18 16:35:28 -04:00
dandds
7095c9ab0a update readme for onboarding new devs 2018-10-18 16:25:23 -04:00
leigh-mil
9db981203d Add all alpha characters to Alphabet validator 2018-10-18 15:52:53 -04:00
leigh-mil
7693aa0374 Add apostrophe to Alphabet validator 2018-10-18 15:38:22 -04:00
leigh-mil
e9ad610a6f Update Alphabet validator to accept hyphens 2018-10-18 15:22:57 -04:00
dandds
8bd9eedcbd
Merge pull request #396 from dod-ccpo/parse-clin-data
Parse clin data
2018-10-18 13:47:05 -04:00
dandds
d6ec4a5123 catch type errors for non-floats in CLIN amount field 2018-10-18 10:48:03 -04:00
Andrew Croce
c0719ce85f maintain focus on open modals 2018-10-18 10:01:07 -04:00
Andrew Croce
8da22f5941 Use buttons rather than links for js-clickable elements
Add some missing attributes for correct behavior/accessibility
2018-10-18 10:00:38 -04:00
Andrew Croce
c531680b44 add ID to modal 2018-10-18 09:59:31 -04:00
Andrew Croce
bfe32fa926 add ally.js 2018-10-18 09:59:15 -04:00
Andrew Croce
d633c69630 unset default disabled button styles 2018-10-18 09:59:07 -04:00
patricksmithdds
dbb22698d5
Merge pull request #393 from dod-ccpo/show-uncovered-lines
Use `term-missing` to show uncovered lines in coverage report
2018-10-18 09:42:28 -04:00
montana-mil
63c26f14bb
Merge pull request #392 from dod-ccpo/ccpo-submit-finver
Allow CCPO users to submit financial verification
2018-10-18 09:29:10 -04:00
Andrew Croce
17d2331322 fix styles 2018-10-18 08:48:00 -04:00
dandds
af81cd1da7 small refactor for eda xml parser 2018-10-17 16:31:44 -04:00