From 105e6b3e55331b3735c09d01513044fbcc3dc7be Mon Sep 17 00:00:00 2001 From: Lucas Vas Date: Tue, 6 Jan 2026 14:48:20 -0500 Subject: [PATCH 01/15] feat: touch up comparisons --- src/pages/api/comparisons.rs | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/pages/api/comparisons.rs b/src/pages/api/comparisons.rs index 6691efb..682c38d 100644 --- a/src/pages/api/comparisons.rs +++ b/src/pages/api/comparisons.rs @@ -186,6 +186,15 @@ fn create_sports_comparisons() -> Vec { #[allow(unused)] fn make_comp_list() -> Vec { + let gpa_3 = ComparisonData::new( + "gpa_3", + "weighted_gpa", + ComparisonType::Number(NumberComparison::GreaterThanOrEqual), + ValueType::Number(Some(3.0.to_string())), + "GPA Limits", + "GPA >= 3.0", + ); + let test_comp = ComparisonData::new( "math_sat_comp", "math_sat", @@ -205,7 +214,7 @@ fn make_comp_list() -> Vec { ))), )), ValueType::Number(Some(25.to_string())), - "Community Involvement", + "Community Service", "25 service hours", ); @@ -219,7 +228,7 @@ fn make_comp_list() -> Vec { ))), )), ValueType::Number(Some(20.to_string())), - "Community Involvement", + "Community Service", "20 service hours", ); @@ -233,8 +242,8 @@ fn make_comp_list() -> Vec { ))), )), ValueType::Number(Some(30.to_string())), - "Community Involvement", - "30 service hours", + "Community Service", + "30+ service hours", ); let residency_southbury = ComparisonData::new( From 8d9faf126db5d37b8768d8dd313621284d697da9 Mon Sep 17 00:00:00 2001 From: Lucas Vas Date: Wed, 7 Jan 2026 00:22:46 -0500 Subject: [PATCH 02/15] feat: reorganize and add single selection to chip lists --- src/components/action_button.rs | 4 +- src/components/lists/multi/chips.rs | 83 +++++++++++-------- src/components/lists/single/select.rs | 2 +- src/pages/api/comparisons.rs | 48 ++++++++++- src/pages/home_page.rs | 25 +++++- src/pages/scholarship_info.rs | 113 +++++++++++++++++++++----- 6 files changed, 214 insertions(+), 61 deletions(-) diff --git a/src/components/action_button.rs b/src/components/action_button.rs index 9207d84..cafd0b3 100644 --- a/src/components/action_button.rs +++ b/src/components/action_button.rs @@ -8,8 +8,8 @@ pub fn ActionButton( ) -> impl IntoView { view! {