359 Commits

Author SHA1 Message Date
graham-dds
80f028540c Refactor multi_checkbox_input
This component was made when having an "other" value as a check option
also meant typing in a custom value into an input field. Since this is no
longer needed, we were able to remove the markup / vue code for that
feature.
2019-12-13 13:17:30 -05:00
leigh-mil
e772a4b84b Use AccordionList macro on applications index page, remove duped class on task order index page 2019-12-12 09:40:18 -05:00
leigh-mil
e79b1d1524 Create AccordionList macro and vue component to collapse multiple accordion components 2019-12-12 09:40:18 -05:00
leigh-mil
78e7b1efe8 Styling changes:
- move `usa-accordion` class to wrap all accordion elements
- remove background color form `accordion` class and move it to atat
specific class `accordion__header`
- create class names for styling elements instead of relying on element
type
2019-12-11 10:07:09 -05:00
leigh-mil
7671269b7f Use Accordion macro on applications index page 2019-12-11 10:07:09 -05:00
leigh-mil
1165b60fce Finalize styling for Task Order index page. 2019-12-11 10:07:09 -05:00
leigh-mil
8e25adb1c3 Update EmptyState macro to align with new designs 2019-12-03 15:43:06 -05:00
graham-dds
4e0af139cc Style and refactor components for expired funding
- modify Accordion component to be able to customize classes and tags
that it uses to build markup
- modify the shape of the object that the mock CSP returns for data that
builds this section.
 - Also ensures that the CLINs TOs and CLINS are sorted
- add appropriate css for styling
2019-11-27 15:52:48 -05:00
graham-dds
eac41d140c Add kwarg to tooltip macro to allow extra classes 2019-11-26 16:17:35 -05:00
graham-dds
51f1261db0 Order CLINs on reporting page and refactor labels
In order to more easily sort JEDI Clins for the obligated funds section,
the JEDI CLIN enum values were used in the output dict instead of their
verbose labels. And in order to bring the labels in line with designs,
the JEDI CLIN labels were DRYed up in the translations file, which
required making small changes in a few other places across the project.
2019-11-26 16:17:22 -05:00
graham-dds
0303434561 First pass at new reporting designs
This commit lays out the genral structure and provides necessary
data for the new reporting page designs.

Some of the data generated by the report domain classes (including
the mock CSP reporting class) was modified to fit new designs. This also
included removing data that was no longer necessary. Part of the newly
mocked data includes the idea of "expended" data per CLIN or task order.
This was was mocked simply by using a 75% of the obligated funds fo a
given object. Tests were also written for these new/ modifed reporting
functions.

As for the front end, this commit only focuses on the high-level markup
layout. This includes splitting the large reporting index page into
smaller component templates for each of the major sections of the report.
2019-11-25 13:12:35 -05:00
graham-dds
dc73963cb9 Add accordion macro 2019-11-25 13:12:34 -05:00
leigh-mil
20a2abd36b Update valid prop on MultiCheckboxInput to return true if the field is optional 2019-11-22 09:33:39 -05:00
leigh-mil
62cdcbe6dc Remove some leftover 'watch' attributes from Vue components 2019-11-22 09:22:47 -05:00
leigh-mil
8aa302357b Move label display logic into the Label macro 2019-11-20 12:09:46 -05:00
leigh-mil
9f90f5abbd Update app member status labels to accurately reflect member's current status 2019-11-20 11:59:48 -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
98298db5f2 Add toggle drop down menu for app member edit 2019-11-12 11:44:38 -05:00
leigh-mil
d142fa974a Update Form mixin so that you can enable the save button for a form on render 2019-10-31 16:21:32 -04:00
leigh-mil
f3dcca8368 use 'text=' in the SaveButton kwargs and add in a default for the save button text 2019-10-31 10:48:26 -04:00
graham-dds
5f5fbd2b91 Allow submit buttons to be valid on initial render 2019-10-28 15:25:18 -04:00
leigh-mil
83967e6ed9 Delete unused component and macro 2019-10-22 15:12:19 -04:00
leigh-mil
750ea6568b Add label macro 2019-10-22 14:33:06 -04:00
leigh-mil
ce9a551b2d More styling updates 2019-10-15 13:48:01 -04:00
leigh-mil
de28ff303c Reorder elements in env panel and initial styling 2019-10-15 13:48:01 -04:00
leigh-mil
a44e86f296
Merge pull request #1112 from dod-ccpo/app-settings-styling
App settings styling (part 1)
2019-10-14 16:33:59 -04:00
leigh-mil
c7889e13f8 Fix styling on app member info form 2019-10-14 14:57:42 -04:00
leigh-mil
14ea3cd973 Adjust the margin around usa-input elements globally, fix any styling side effects from the change 2019-10-14 14:05:03 -04:00
leigh-mil
5a98e6966e Styling for name and description section:
As part of this, the empty placeholder span was removed from the text input macro and the span will now be conditionall rendered if there is an error message
2019-10-14 14:03:45 -04:00
leigh-mil
e6254e6f64 Update text in portfolio header and application sticky CTA 2019-10-14 14:03:44 -04:00
graham-dds
33e82bfb83 Allow markup in
Alert title
2019-10-14 10:10:22 -04:00
leigh-mil
cf42bfbbda Remove text from dismiss modal button 2019-10-08 16:30:28 -04:00
leigh-mil
fe29b5d838 Low-fi update of multi-step modals to fix styling 2019-10-08 16:30:28 -04:00
leigh-mil
7a4c26419f Low-fi update of modals to fix styling 2019-10-08 16:30:28 -04:00
leigh-mil
52d16017c3 Update styling for modal macro and add notes about what classes to use to maintain styling 2019-10-08 16:28:25 -04:00
leigh-mil
bb6d656def
Merge pull request #1106 from dod-ccpo/clin-errors-contract-dates
PoP Range error message
2019-10-08 15:39:34 -04:00
graham-dds
9d34f11d84 Tweak multi-step header for app provisioning
- add "context" option to StickyCTA
 - tweak styles to better-include context
 - add header text to translations
2019-10-08 13:15:28 -04:00
leigh-mil
7f0a25ea17 Use translations 2019-10-08 10:32:02 -04:00
leigh-mil
07b3c68422 Add min and max range values to date selector so a more accurate error message can be displayed when a date is out of the range 2019-10-08 10:32:02 -04:00
leigh-mil
0c54b61579 Remove watch from date selector component 2019-09-26 16:27:10 -04:00
leigh-mil
92243965ec parse contract dates into datetime objects 2019-09-26 16:22:16 -04:00
leigh-mil
c03820e53a Emit event on input from date selector so parent element can respond 2019-09-26 16:22:15 -04:00
leigh-mil
ad86dc33fc Show validation icon only if the date is complete 2019-09-26 16:22:15 -04:00
leigh-mil
e41aeaee25 Fix end date in alert 2019-09-26 16:22:15 -04:00
leigh-mil
789e6662a2 Add tests for pop date range vue component 2019-09-26 16:22:15 -04:00
leigh-mil
5e1ce65662 Move html out of clin fields macro and fix initial values in pop date range when there is no form data 2019-09-26 16:22:15 -04:00
leigh-mil
53cef32af5 Use date-selector component to display errors related to date fields 2019-09-26 16:22:02 -04:00
leigh-mil
843501c00a Fix bug where name attribute of start date fields was not properly assigned
Fix bug in pop_date_range were startValid and endValid were not being properly updated
2019-09-26 16:22:02 -04:00
leigh-mil
d42cd1ff4f Dynamically update the max and min values for start and end date based on the date in the other field and contract dates 2019-09-26 16:22:02 -04:00
leigh-mil
0e641a9064 Create vue component to manage date range logic 2019-09-26 16:21:27 -04:00