2196 Commits

Author SHA1 Message Date
leigh-mil
f0505ee122 Remove unused imports
Use remove_empty_string filter for TaskOrderForm.number instead of declaring the data property
Update display of TOs without a number
2019-12-13 14:53:58 -05:00
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
graham-dds
f4f3e3dee3 Add horizontal breaks to form 2019-12-13 13:17:30 -05:00
graham-dds
a097a0ce61 Refactor New Portfolio page according to designs.
New designs call for a streamlined New Portfolio page, with far
fewer input options. This commit refactors that page according to those
designs.

Some of the route functions in this commit refer to a "step 1" of creating
a new Portfolio. Though there is no "step 2" right now, the designs call
for a multistep flow for Portfolio creation process, so this commit sets
the stage for that.
2019-12-13 13:17:30 -05:00
leigh-mil
2552d4c700 Styling for empty status accordion and update Not signed to Unsigned 2019-12-13 11:49:50 -05:00
leigh-mil
2c2b69affe Fix TO index blank states and number type issue 2019-12-13 11:26:58 -05:00
leigh-mil
4d7af1bab4 Remove extra details from expired TO display, small refactors in TO methods 2019-12-12 16:05:47 -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
ac8dd662d1 Fake task order's expended funds, default task order start and end date to None, fix how task orders are sorted by status 2019-12-12 09:40:18 -05:00
leigh-mil
3fdde78531 Set default text for TOs without a number 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
e32bad0d30 Display TOs grouped by status 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
02efa33e49 Display users env role if they have environment access 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
0166e2fbc7 Move move css to accordion file so it is more generalized 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
d994365460 Styling updates for Task Order index page:
- Removed unused styling from _accordions css.
- Removed references to accordion classes from applications index page
since this will be restyled later.
- Added Accordion macro to the Task Order index page and created
temporary initial
toggle list of All Task Orders.
2019-12-11 10:07:09 -05:00
graham-dds
6332315f71 Remove unecessary template vars 2019-12-10 11:23:53 -05:00
graham-dds
3b265b0eb6 Flash message for insufficient funding 2019-12-10 11:23:53 -05:00
graham-dds
dc9a21a501 Refactor mock reporting data and class methods
All mock reporting data was moved to a JSON file. The concept of
what JEDI CLIN a particular environment drew money from was added to the
data.

This change had a cascade effect to the reporting class methods,
templates, and Vue components that ingested that reporting data. Many of
these files were modified to adapt to these changes. This also included
modifying the obligated funding bar graphs to reflect new design
changes.
2019-12-10 11:23:53 -05:00
leigh-mil
6dabd0bf35 Move copy into translations file 2019-12-03 15:43:06 -05:00
leigh-mil
31d9f34615 Add in check for edit perms before showing add/create button in empty state macro 2019-12-03 15:43:06 -05:00
leigh-mil
5ebcaa3950 Add sticky CTA to applications index page and update copy in TO index sticky CTA 2019-12-03 15:43:06 -05:00
leigh-mil
8e25adb1c3 Update EmptyState macro to align with new designs 2019-12-03 15:43:06 -05:00
leigh-mil
74ff581570 Remove route for /portfolios 2019-12-03 15:43:06 -05:00
graham-dds
00b79e2c7b Modify styling for app / env spend table 2019-11-27 15:52:52 -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
leigh-mil
060108071e
Merge pull request #1208 from dod-ccpo/app-members-edit-menu-fixes
App members edit menu fixes
2019-11-27 10:54:44 -05:00
leigh-mil
05bdfde059 Add v-cloack to toggle-menu component and add hover style to drop down menu items 2019-11-27 09:47:15 -05:00
leigh-mil
f4922f0db2 Create new toggle menu component 2019-11-27 09:30:21 -05:00
graham-dds
33711c9605 Styling for portfolio summary section of reporting 2019-11-26 16:56:33 -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
fa9986f9bf Styling for Obligated Funding section of reports 2019-11-26 16:16:32 -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
6de93d7181
Merge pull request #1203 from dod-ccpo/new-portfolio-validation
Bugfixes
2019-11-25 09:46:27 -05:00
dandds
5cc032b655
Merge pull request #1183 from dod-ccpo/cdn
Set up a CDN
2019-11-22 11:26:39 -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
richard-dds
7ace430dee Use url_for for all static paths 2019-11-21 16:42:42 -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
516a01840e Remove csp alert 2019-11-19 16:48:43 -05:00
graham-dds
fea8c9bce9 Remove developer styleguide from project
Since we're actively moving our styles toward a pure of a USWDS
implementation as possible, this styleguide page is becoming
increasingly outdated.
2019-11-19 13:34:14 -05:00
leigh-mil
3576551f42
Merge pull request #1191 from dod-ccpo/vue-emitters-fix_part-3
Vue emitters fix part 3 - Portfolio Settings page
2019-11-19 10:21:41 -05:00
leigh-mil
05210d434b
Merge pull request #1188 from dod-ccpo/new-app-form-step-3-bug
Edit member perms in new app form bugfix
2019-11-19 10:20:53 -05:00
leigh-mil
d4facd1e36 Update emitters for vue components on portfolio settings page 2019-11-18 14:14:31 -05:00
leigh-mil
f9fd9cac13 When editing member perms through the new app form, return to new app form step 3 after update member form is submitted 2019-11-15 17:37:32 -05:00