Commit Graph

501 Commits

Author SHA1 Message Date
leigh-mil
589646fd90 Allow commas and quotes in portfolio and application names. Create input validator for application names. 2020-02-06 19:07:11 -05:00
leigh-mil
6cf39ca1e4 Set max width on new portfolio form 2020-02-04 16:13:07 -05:00
leigh-mil
881bf3220c fix formatting 2020-01-31 11:57:15 -05:00
leigh-mil
8d30fd4cfb Remove extra </div> 2020-01-31 11:52:15 -05:00
Hannah Brinkman
18aa60b871 Merge branch 'staging' into grid-styling 2020-01-27 13:49:32 -05:00
hmbrink
15ac65752f New portfolio header adjustments 2020-01-27 13:46:56 -05:00
leigh-mil
e6291ad850 Refactor EmptyState macro and update styling for view only empty state based on new designs 2020-01-24 11:02:03 -05:00
Hannah Brinkman
70faa4c42e Merge branch 'staging' into grid-styling 2020-01-22 15:55:12 -05:00
Hannah Brinkman
674f6363d5 Merge branch 'staging' into grid-styling 2020-01-22 15:23:39 -05:00
graham-dds
3cf9fdac76 Add frontend validation for TextInput()s
- Add input validation regexes to input_validations.js
- Add those validators to text fields without validaiton
2020-01-22 15:20:18 -05:00
leigh-mil
88d57a414b Update copy in new application form. 2020-01-21 11:57:10 -05:00
leigh-mil
7c78e59624 Update copy on new portfolio form. Style cancel link as a button. 2020-01-21 11:57:09 -05:00
leigh-mil
4ed75caf2a Replace Lorem on Reports page 2020-01-21 11:57:09 -05:00
hmbrink
4dcd49269f Topbar testing 2020-01-21 10:45:40 -05:00
hmbrink
8c0e88c5c4 Topbar, Portfolio Header, & Content alignment 2020-01-20 17:03:18 -05:00
leigh-mil
9806571001 Refactoring:
- Set dict values directly instead of creating a variable
- Comment out unused route function entirely
- Use f-strings for string interpolation
- Move div inside if statement so empty divs are not printed
2020-01-17 10:49:05 -05:00
leigh-mil
0c733dd365 Update display of PPoC and remove option to edit PPoC perms 2020-01-17 10:49:05 -05:00
leigh-mil
81680c4ba4 Add remove manager modal 2020-01-17 10:49:05 -05:00
leigh-mil
78321825a1 Add revoke invite modal 2020-01-17 10:49:05 -05:00
leigh-mil
4f345b462f Add resend invite form/modal, update routes and tests as necessary. 2020-01-17 10:49:05 -05:00
leigh-mil
56c213285f Add route to update portfolio manager perms, add modal form to update in the UI 2020-01-17 10:49:05 -05:00
leigh-mil
df285eaa7f Add toggle menu to portfolio managers table.
Stub out menu items.
2020-01-17 10:49:05 -05:00
leigh-mil
a5194d6f70 Remove PPoC files 2020-01-17 10:49:05 -05:00
graham-dds
ffd3dd2d9d use v-text instead of v-html
v-html interprets the string passed to it as raw html, without escaping.
We should use v-text wherever possible.
2020-01-14 16:19:27 -05:00
leigh-mil
70462eee0c Display portfolio managers alphabetically instead of always having PPoC in the first table row 2020-01-10 10:25:55 -05:00
leigh-mil
17642cda4e Rename file to better reflect contents 2020-01-10 10:25:55 -05:00
leigh-mil
ffa4a1370c Set width of Name column in portfolio managers table.
Delete unused table styles.
2020-01-10 10:25:55 -05:00
leigh-mil
da398bf1ff Add status labels to portfolio managers table.
Update PortfolioRole.display_status() to return same type of data as
ApplicationRole.display_status().
2020-01-10 10:25:55 -05:00
leigh-mil
a6fcd0c76f Fix styling on member forms.
Include flash message when portfolio manager is added.
Fix submit button text
2020-01-10 10:25:55 -05:00
leigh-mil
abfe8663a1 Update copy in perms form 2020-01-10 10:25:55 -05:00
leigh-mil
89035c815b Update styling for Manager name and add 'You' tag 2020-01-10 10:25:55 -05:00
leigh-mil
c9d0c64c1f Fix and generalize styling for member form macro
Only display permissions with 'Edit' value
Delete unused files and rename MemberForm macro file
2020-01-10 10:25:55 -05:00
leigh-mil
79b2773852 Portfolio manager invite updates:
- Update the form to use BooleanFields for the permissions and make the
form more similar to the Application Members form
- Use MemberFormTemplate macro in the portfolio settings template
- fix tests affected by the form changes
2020-01-10 10:25:55 -05:00
leigh-mil
ff3e585dfe Initial formatting and styling of portfolio managers table. Deleted unused css 2020-01-10 10:25:55 -05:00
leigh-mil
667554dba4 Update styling on portfolio admin page, update portfolio form to include description 2020-01-06 15:55:07 -05:00
leigh-mil
8710028256 Fix factories and seed sample script
Update display of defense component on portfolio settings page
2020-01-06 13:08:57 -05:00
leigh-mil
dad54ec139 Create new migration to convert column type of defense_component from
string to array
2020-01-06 13:08:56 -05:00
graham-dds
490d778743 Better incorporate fixture data into reporting
Before this commit, if a portfolio wasn't present in the spending fixture
data, the reporting screen would be empty -- even if the portfolio had
applications and environments associated with it on the database. Now,
0s appear if an application and / or environment isn't present in the
fixture data.
2020-01-06 12:01:13 -05:00
leigh-mil
ee2aa4bda9 Generalize class name to better reflect its use. 2020-01-02 12:57:21 -05:00
leigh-mil
cbcac2b142 Rename review route and template to view because it better reflects the purpose of the route and template 2020-01-02 12:45:52 -05:00
leigh-mil
a6382eacf8 Return to home page when canceling out of the portfolio builder 2019-12-26 15:50:58 -05:00
leigh-mil
217a29b0dc Adjust margins on home page, globally fix hr elements to default to having margins, and add class for hr elements to span full width of their container 2019-12-18 16:55:25 -05:00
leigh-mil
ff0abe7dce Merge branch 'staging' into remove-delete-functionality 2019-12-18 15:20:41 -05:00
leigh-mil
2b884f2c85 Remove route, tests, and template code for deleting a portfolio 2019-12-18 12:22:14 -05:00
graham-dds
b270d0e4b0 Update new portfolio layout
- Move CTA buttons to floating footer
- separated -> bordered
2019-12-17 17:01:41 -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
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