Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradpath Prototype #8407

Merged
merged 95 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
6ff9725
GradPath - Initial Prototype
mistergone Apr 29, 2024
c4ff33c
-Fix first four pages
mistergone May 10, 2024
4ef7e8f
- Add program selection
mistergone May 17, 2024
1206cee
Add stepper to prototype
wpears May 17, 2024
897cfa2
- Add three additional pages
mistergone May 17, 2024
aac4f52
- add missing files
mistergone May 17, 2024
a7a2296
- Add new templates for school-costs and estimate-debt pages
mistergone May 21, 2024
93ba70d
- Adjust templates and content
mistergone May 21, 2024
bbbccca
- Fix various styles
mistergone Jun 10, 2024
e6314d7
Initial tooltip implementation
wpears Jun 14, 2024
18fe185
fixup linter
wpears Jun 14, 2024
6aebe26
Include additional tooltips
wpears Jun 14, 2024
bc26d88
- Fix style issue on customize estimate page
mistergone Jun 14, 2024
480a618
- Change various updates to occur on page change
mistergone Jun 14, 2024
9f15049
- Change annual costs line on school-costs page
mistergone Jun 14, 2024
2c87c4b
- Fix bug with program info not updating
mistergone Jun 17, 2024
cb3fc5d
- Update some content
mistergone Jun 17, 2024
77ecf71
- Content updates
mistergone Jun 18, 2024
4fd997b
- Content updates
mistergone Jun 20, 2024
7509c3d
- Fix content issues
mistergone Jun 21, 2024
857f80e
-Fix bug in debt total display:
mistergone Jun 24, 2024
cd00123
-Fix out of state default issue
mistergone Jun 24, 2024
67d7252
-Fix incorrect number on cost-of-borrowing page
mistergone Jun 24, 2024
bb37925
- Fix costs not covered visibility
mistergone Jun 24, 2024
3390fcb
- Fix bugs in content
mistergone Jun 24, 2024
69ec353
a11y and template fixes
wpears Jun 26, 2024
a9219df
- Add netprice slices to school data
mistergone Jun 26, 2024
0bffd33
- Fix template error
mistergone Jun 26, 2024
262a046
- Rename templates, remove old templates
mistergone Jun 26, 2024
2399d17
Rename/disable old grad-path cypress tests
wpears Jun 26, 2024
9f5953e
Re-add 0-intro template
wpears Jun 26, 2024
8e48c7f
Do expensive updates in next tick
wpears Jun 26, 2024
4b9665c
Toggle classes on CostsGroup header via flyout events
wpears Jun 27, 2024
f2c09a8
Contrast error
wpears Jun 27, 2024
0beded2
Prevent odd hover events
wpears Jun 27, 2024
7a23a92
Remove dup ids and fix gauge listener bug
wpears Jul 1, 2024
a136eaa
Manage program-select visibility directly
wpears Jul 1, 2024
db35b87
Fixup empty table header
wpears Jul 1, 2024
d24c4a1
- Content updates
mistergone Jun 18, 2024
5cd82e5
fixup conflicts
wpears Jul 2, 2024
f05348d
Add fieldset
wpears Jul 2, 2024
b44060f
add missing select label
wpears Jul 2, 2024
168b62e
Don't use label for non-form
wpears Jul 2, 2024
bbbb95b
Fix logic error introduced in merge
wpears Jul 2, 2024
e42ae82
Fix graduate sorting and implement undergrad filtering based on progr…
wpears Jul 2, 2024
1d198ea
- Rename templates, remove old templates
mistergone Jun 26, 2024
badee05
Re-add 0-intro template
wpears Jun 26, 2024
09dd19a
- Add netPrice handling
mistergone Jun 27, 2024
6624091
Fix flyout header alignment
wpears Jul 2, 2024
5a320ce
Fixup affording payments
wpears Jul 2, 2024
1469ede
Add fieldset and correct action plan heights
wpears Jul 3, 2024
7306362
Add missing select label
wpears Jul 3, 2024
80b05bc
remove bad link with missing anchor
wpears Jul 3, 2024
7a878a2
Add fieldsets to school info page
wpears Jul 3, 2024
ed466b1
Title in hidden heading
wpears Jul 3, 2024
6afb3e4
Tooltip button labels and stepper hierachy
wpears Jul 3, 2024
fd7aa0a
Don't skip heading level
wpears Jul 3, 2024
2499b13
-Update content to latest
mistergone Jul 5, 2024
5ed4019
fixup template
wpears Jul 8, 2024
75ec973
describedby
wpears Jul 8, 2024
6e71a28
Simpler describedby
wpears Jul 8, 2024
7cbaf5c
fix weird space that broke html header
wpears Jul 8, 2024
e6e8b9a
fixup affording loans financial-text-item
wpears Jul 8, 2024
40760e8
Move compare school nav out of undergrad block
wpears Jul 9, 2024
a762cd9
Fix legend to radio spacing with legend margin instead of targeting t…
wpears Jul 9, 2024
513972b
Fix double period typo
wpears Jul 9, 2024
bcb369c
- Fix issue with focusing buttons on action plan page
mistergone Jul 9, 2024
3dd6595
Fix income tooltip
mistergone Jul 9, 2024
833e5a8
- Fix incorrect variable on Customize Estimate page
mistergone Jul 9, 2024
a928b2e
Remove =
wpears Jul 9, 2024
c71975b
Fixup customize your estimate tooltips
wpears Jul 9, 2024
e05e625
- First pass analytics fixes
mistergone Jul 10, 2024
f484c28
- Style and content fixes
mistergone Jul 10, 2024
0aae507
Add search indicator to school search
wpears Jul 10, 2024
be6cd9b
- Add check so that netprice is always used on early pages
mistergone Jul 10, 2024
7f92281
- Fix uncovered costs block visibility bug
mistergone Jul 10, 2024
a0fe4cf
Don't ask about too much debt if it's 0
wpears Jul 11, 2024
30b08c1
- Change flyout icons
mistergone Jul 11, 2024
a9b6bce
- Fix misappearing program notification
mistergone Jul 11, 2024
8a62a7a
- Change 'per year' styling
mistergone Jul 15, 2024
9c24942
- Fix scholarship fields
mistergone Jul 16, 2024
de11e7a
- Add content visibility change to debt total page
mistergone Jul 16, 2024
f93fe0f
Update cfgov/unprocessed/apps/paying-for-college/js/college-costs.jsx
wpears Jul 16, 2024
0bf8639
Re-add basic tests
wpears Jul 16, 2024
a1dd819
Re-add grad-path cypress
wpears Jul 17, 2024
4fcaff0
- Additional analytics handling
mistergone Jul 18, 2024
cf7808d
use test db data
wpears Jul 23, 2024
5eac93b
remove flaky disclosures test
wpears Jul 23, 2024
76ce831
- Update analytics code
mistergone Jul 24, 2024
477d116
-Change edit icons in flyouts
mistergone Jul 25, 2024
764fdc0
- Add note about living expenses
mistergone Jul 25, 2024
24ee722
- Content updates
mistergone Jul 29, 2024
447fa30
- Fix bug with state values (text versions)
mistergone Jul 29, 2024
3a4c451
- Content updates
mistergone Jul 29, 2024
5bcb2aa
- Capitalize Social Security
mistergone Jul 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="college-costs__intro-segment u-js-only">
{% if return_user %}
<div class="wrapper">
<div class="content__wrapper">
<div class="content__main">
<div class="m-notification
m-notification--visible">
Expand All @@ -17,7 +17,7 @@
{% include_block block %}
{% endif %}
{%- endfor %}
<div class="wrapper">
<div class="content__wrapper">
<div class="content__main">
{% for block in page.header -%}
{% if block.block_type != 'hero' %}
Expand Down

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<section class="college-costs__tool-section college-costs__tool-section--school-costs" data-tool-section="school-costs">
<h2><strong>Your estimated costs for <span data-state-item="programLengthText">X</span> at <span data-school-item="school"></span>: <span data-financial-item="total_costOfProgram"></strong></h2>
<p>This estimate includes tuition, books, housing and is based on the most recent data from the U.S. Department of Education.</p>
<ul>
<li>Estimated time frame: <span data-state-item="programLengthText">X years</span></li>
<li>Estimated yearly costs: <span data-number-display="currency" data-financial-item="total_costs">$X</span></li>
<li>This estimate is based on the net price paid by in-state students with family incomes <span data-state-item="programIncomeText">$X</span>.</li>
<li>Your actual expenses will depend on your situation—any financial aid you receive, your personal budgeting, rising costs, and other factors.{{tooltip.render('Net price is the school’s cost of attendance minus any grants and scholarships received. For public schools, this is only the average costs for in-state students. See <a href="https://collegescorecard.ed.gov/data/glossary/#avg-cost">College Score Card</a> for more information.')}}</li>
</ul>

<div class="block block--mid comparison-section comparison-section--grad-rate">
<h3 class="h4"><strong><span data-school-item="school"></span>'s graduation rate</strong></h3>
<div class="school-results__rank-display">
<div class="big-percentile"><span data-school-item="rateGraduation" data-number-display="percentage"></span></div>
<div><span data-school-item="school"></span>'s graduation rate is <strong><span data-school-item="rateGraduation" data-number-display="percentage"></span></strong>. Students who don’t graduate are less likely to see financial gains from education and may be unable to secure a job that requires a degree.</div>
</div>
<fieldset class="o-form__fieldset school-results__cohort-buttons">
<legend>
Compare <span data-school-item="school"></span>'s rate to other <span class="community-college">2</span><span class="four-year-college">4</span> year schools that are also:
</legend>
{{
radio.render({
'name': "graduation-rate-meter-selector--costs-page",
'label': 'In the U.S.',
'value': 'cohortRankByHighestDegree',
'id': 'graduation-rate_us',
'class': 'm-form-field--lg-target'
})
}}
{{
radio.render({
'name': "graduation-rate-meter-selector--costs-page",
'label': '<span>In <span data-school-item="stateName"></span></span>' | safe,
'value': 'cohortRankByState',
'id': 'graduation-rate_state',
'class': 'm-form-field--lg-target'
})
}}
{{
radio.render({
'name': "graduation-rate-meter-selector--costs-page",
'label': '<span data-school-item="control"></span>',
'value': 'cohortRankByControl',
'id': 'graduation-rate_school-type',
'class': 'm-form-field--lg-target'
})
}}
</fieldset>
<div data-chart_id="grad-meter" class="college-costs__meter-graph"></div>
<p><span data-school-item="school"></span>'s graduation rate falls in the <strong><span data-state-item="gradMeterThird"></span></strong> of all <span data-state-item="gradMeterCohortName"></span> schools granting <span class="community-college">2</span><span class="four-year-college">4</span>-year degrees.</p>
</div>

<div class="college-costs__tool-section-buttons block block--mid">
<h3 class="up-next"><strong>Up next:</strong> <span class="up-next--desc">Add any money you expect to contribute</span></h3>
<div class=nav-button-container>
<button class="a-btn a-btn--prev btn__nav" data-destination="school-info">Previous</button>
<button class="a-btn a-btn--next btn__nav" data-destination="estimate-debt">Next</button>
</div>
<p>
<button class="a-btn a-btn--link btn__nav" data-destination="save-finish">Save and get a URL for later</button>
</p>


</div>

</section>
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{% import "v1/includes/atoms/checkbox.html" as checkbox with context %}

<section class="college-costs__tool-section college-costs__tool-section--make-a-plan" data-tool-section="estimate-debt">
<h2 tabindex="-1">How much do you expect to contribute this year?</h2>

<div class="block block--mid financial-items">
{{
input.render({
'label': 'Personal funds' ~ tooltip.render('Money you and your family have on hand to put towards school per year of your program.'),
'id': 'estimate__savings',
'helper_text': '<strong>per year</strong> of your program',
'value': '0',
'data_attribute': 'data-financial-item="savings_personal"'
})
}}
{{
input.render({
'label': 'College savings plan (like 529 plans)' ~ tooltip.render('529 college savings plans are tax-advantaged savings plans that help families save for higher education so they can be less reliant on student loans. <a href="https://studentaid.gov/resources/tax-benefits#529-plans" target="_blank" rel="noreferrer noopener">Learn more here.</a>') | safe,
'id': 'estimate__collegeSavings',
'helper_text': '<strong>per year</strong> of your program',
'value': '0',
'data_attribute': 'data-financial-item="savings_collegeSavings"'
})
}}

{{
text_item.render({
'label': 'Total money you expect to contribute',
'value': '$0',
'type': 'total',
'helper_text': '',
'data_attribute': 'data-financial-item="total_initialEstimateContrib"'
})
}}
</div>
<div class="college-costs__tool-section-buttons block block--mid">
<h3 class="up-next"><strong>Up next:</strong> <span class="up-next--desc">Get a rough estimate of how much you'll owe at graduation</span></h3>
<div class=nav-button-container>
<button class="a-btn a-btn--prev btn__nav" data-destination="school-costs">Previous</button>
<button class="a-btn a-btn--next btn__nav" data-destination="debt-at-grad">Next</button>
</div>

<p>Do you have a complete financial aid offer? <button class="a-btn a-btn--link college-costs__buttons--next btn__nav" data-destination="customize-estimate">Skip to Step 3 to customize your estimate</button></p>
<p>
<button class="a-btn a-btn--link btn__nav" data-destination="save-finish">Save and get a URL for later</button>
</p>

</div>
</section>
Loading
Loading