2176 Commits

Author SHA1 Message Date
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
leigh-mil
0abe27eb36 Remove form mixin from toggler component 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
f76af8f646 Remove edit links and menus for users with view only access 2019-11-15 15:48:09 -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
e8f21acf5b PR fixes 2019-11-12 16:59:22 -05:00
leigh-mil
b653546768 Styling 2019-11-12 16:56:55 -05:00
leigh-mil
f928b776a6 Properly set deleted data for UpdateMemberForm and display suspended env access text
Styling for env name and role in update app member perms form
2019-11-12 16:54:46 -05:00
leigh-mil
3a1a996469 Create macro for environment role field and update route so the correct data is passed to Environments.update_env_role to update or delete roles 2019-11-12 16:54:46 -05:00
leigh-mil
54f3c2f8ba Update text and icon in modal
Update env_role status when it is deleted
2019-11-12 16:54:46 -05:00
leigh-mil
cfd73fec78 Use translations file 2019-11-12 12:01:33 -05:00
leigh-mil
98298db5f2 Add toggle drop down menu for app member edit 2019-11-12 11:44:38 -05:00
leigh-mil
865613935d Remove optional tag from edit env name form 2019-11-07 11:53:37 -05:00
leigh-mil
da516554c2 Add env role to the app members table and truncate long env names 2019-11-05 11:46:33 -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
27df678aaf
Merge pull request #1138 from dod-ccpo/remove-scroll-revoke-button
App settings bugfixes
2019-10-28 12:52:16 -04:00
graham-dds
8d267a2a45 Remove required title and avatar icon from modal 2019-10-25 13:18:14 -04:00
graham-dds
c534dd10f2 Change text on step 2 of adding a member to an app 2019-10-25 13:17:21 -04:00
leigh-mil
a41c2edca3 add revoke invite link back 2019-10-25 13:16:12 -04:00