179 Commits

Author SHA1 Message Date
leigh-mil
4802880cdb Prevent double submitting in multi-step forms by updating the submitted property in handleSubmit 2020-02-13 10:44:38 -05:00
leigh-mil
4479c9737e Prevent double submitting in multi-step forms 2020-02-10 14:27:45 -05:00
leigh-mil
a6a908ae55 Remove other events emitted from root 2019-11-19 14:49:11 -05:00
leigh-mil
bc0382834b Remove old field-mount and field-change emitters and listeners.
Replace FormMixin with new functionality.
2019-11-19 14:49:11 -05:00
leigh-mil
622234bc51 Remove unused Vue component 2019-11-18 14:14:31 -05:00
leigh-mil
d4facd1e36 Update emitters for vue components on portfolio settings page 2019-11-18 14:14:31 -05:00
leigh-mil
1ecd786857 Update BaseForm and nested vue components to properly use emitters 2019-11-15 17:36:57 -05:00
leigh-mil
3e57579990 Use BaseForm instead of specialized Vue component for step 1 of the application form
Remove unnecessary event listener
2019-11-15 17:35:11 -05:00
leigh-mil
c94570f83e Update TO form and nested components to emit directly to parent components instead of emitting from the root component 2019-11-14 16:46:35 -05:00
leigh-mil
045e06abee When validating that envs have names, make sure that names containing only strings are not valid 2019-11-12 13:07:50 -05:00
leigh-mil
83967e6ed9 Delete unused component and macro 2019-10-22 15:12:19 -04:00
graham-dds
9faf55f2d6 new app step 1 form is submitable with initial data 2019-10-14 13:40:34 -04:00
dandds
6dc1e10e77 Delete unused Vue components and remove references to them. 2019-09-25 06:14:12 -04:00
graham-dds
1a11182eef Break new-application JS component into form steps 2019-09-24 10:16:48 -04:00
dandds
112f0e0ab2 Initial JS tests for the Vue TOForm component.
This adds BeautifulSoup to the Python dev dependencies so that we can
render an entire page and then extract the Vue component we need.
Ideally, we should refactor all the Vue components so that they live in
Jinja macros and we can render those macros directly.
2019-09-20 15:24:55 -04:00
leigh-mil
46345657c7 Remove unused code from the totals box functionality that has been since removed 2019-09-04 14:50:26 -04:00
leigh-mil
f5ce35187b Make sure form correctly validates after CLIN is removed 2019-09-04 14:50:26 -04:00
leigh-mil
27d3f46cc9 Make remove CLIN button work 2019-09-04 14:09:34 -04:00
leigh-mil
6f1f7f0d3d Use to-form Vue component instead of base-form in TO builder base template 2019-09-04 14:09:34 -04:00
leigh-mil
23b67ede15 Add remove CLIN button 2019-09-04 14:09:34 -04:00
leigh-mil
2742c4951a Update stickybits directive in the base-form 2019-08-30 15:18:29 -04:00
leigh-mil
5b208d9e8d Create TO builder base file and use it to simplify step templates 2019-07-18 10:31:45 -04:00
mk-dds
ba99e04767 fixes #167077646, clin 3 not added to obligated total 2019-07-16 13:57:43 -04:00
George Drummond
9bf06ad5e2
Delete RequiredLabel 2019-06-19 09:48:46 -04:00
dandds
0c58ad07fb Track CLIN type change
- emit a new event when CLIN type changes
- update totals based on new CLIN type
2019-06-17 11:26:58 -04:00
montana
23b7df2153 Keep track of children CLINS to update amount
- emit CLIN amount and type when amount changes
- totals are added correctly based on CLIN type
2019-06-17 11:26:18 -04:00
montana-mil
c775c7322c Add change handler to clin field components
- emit clin type and obligated amount
2019-06-17 11:25:03 -04:00
Montana
4074f11e25 New TotalsBox vue component
- update to_form data when CLIN amounts change
2019-06-17 10:42:30 -04:00
leigh-mil
5be4efb9d9 Reimplement SaveButton disabled until input change 2019-06-14 11:11:24 -04:00
leigh-mil
1e817c6755 Update copy, add totals box, style buttons 2019-06-12 15:29:47 -04:00
richard-dds
6835f149c3 Formatting 2019-06-12 14:31:44 -04:00
richard-dds
4fdbc5b4cb Only show first error message on application form 2019-06-12 12:28:00 -04:00
leigh-mil
e9c21b0d5e Update vue and template to add multiple LOAs 2019-06-10 19:46:05 -04:00
leigh-mil
f85af06297 Use number instead of array to add new CLIN fields 2019-06-10 14:34:10 -04:00
leigh-mil
46cd8f3762 Fix tests and formatting 2019-06-10 12:36:57 -04:00
leigh-mil
454643c3c9 Post rebase fixes 2019-06-10 12:29:54 -04:00
leigh-mil
e017cd12af Vue for adding multiple CLINs 2019-06-10 12:29:54 -04:00
leigh-mil
cca101b50c Add CLINs to Task Order 2019-06-10 12:29:54 -04:00
dandds
fb430e76e9 Basic frontend uploader component 2019-06-06 13:57:07 -04:00
Montana
67be7d99a4 Replace ko_review template with new task order review
- deletes ko_review vue component
2019-06-03 14:19:04 -04:00
dandds
43ea922218 Simplify environment role updates in app settings.
Use ApplicationRole.id instead of User.id in forms. This eliminates the
need for the function that checks whether a user is in a given
application, because looking up the application role will raise an error
if the user is not.
2019-05-24 13:35:00 -04:00
dandds
815632ed00 Handle setting no access for user environment roles:
- use constant for no access string
- update no access constant
- update language and permissions for rendering remove app member button
2019-05-17 14:00:45 -04:00
montana-mil
1c4725840c
Merge pull request #815 from dod-ccpo/add-new-env-app-settings
Add New Environment via app settings
2019-05-15 11:30:29 -04:00
Montana
ab874a06f8 Use new-environment component to toggle
- Moves the form to the innermost place it can go
2019-05-15 11:20:24 -04:00
George Drummond
b8ea1349b2
Merge pull request #817 from dod-ccpo/delete-user-from-application
Delete an application member
2019-05-14 15:45:32 -04:00
George Drummond
27a4ef12c6
Delete an application member 2019-05-14 11:07:08 -04:00
leigh-mil
4206aa8a59 Use member.role_name in template and JS
change name of data from roles to rolesCategory to make less confusing
2019-05-14 11:00:14 -04:00
leigh-mil
3a2e2aa878 Wip tests 2019-05-14 11:00:14 -04:00
leigh-mil
be178733cf Add note about future refactoring 2019-05-14 10:58:22 -04:00
leigh-mil
319cc17c1c Start vue component for edit-environment-role 2019-05-14 10:58:22 -04:00