From f201f16a3b4eec6760b8295701225bc25601cb26 Mon Sep 17 00:00:00 2001 From: Yasien Mac Mini Date: Mon, 11 Aug 2025 11:07:17 +0200 Subject: [PATCH] fix spaces with messages --- .../package_tools/mih_access_requests.dart | 2 +- .../calendar/package_tools/appointments.dart | 4 ++-- .../package_tools/mih_business_home.dart | 3 +-- .../mzansi_ai/package_tools/ai_chat.dart | 4 ++-- .../mih_favourite_businesses.dart | 11 ++++++----- .../package_tools/mih_search_mzansi.dart | 18 +++++++++--------- .../mih_business_user_search.dart | 8 ++++---- .../builder/build_loyalty_card_list.dart | 12 ++++++------ .../package_tools/mih_patient_search.dart | 6 +++--- .../package_tools/my_patient_list.dart | 4 ++-- .../package_tools/waiting_room.dart | 2 +- .../build_claim_statement_files_list.dart | 2 +- .../list_builders/build_files_list.dart | 2 +- .../list_builders/build_notes_list.dart | 2 +- Frontend/pubspec.lock | 16 ++++++++++++++++ 15 files changed, 56 insertions(+), 40 deletions(-) diff --git a/Frontend/lib/mih_packages/access_review/package_tools/mih_access_requests.dart b/Frontend/lib/mih_packages/access_review/package_tools/mih_access_requests.dart index 97d0bf67..a3b80b05 100644 --- a/Frontend/lib/mih_packages/access_review/package_tools/mih_access_requests.dart +++ b/Frontend/lib/mih_packages/access_review/package_tools/mih_access_requests.dart @@ -203,7 +203,7 @@ class _MihAccessRequestState extends State { ), const SizedBox(height: 10), Text( - "No Access has been granted to your MIH Profile", + "No access has been granted to your MIH Profile", textAlign: TextAlign.center, overflow: TextOverflow.visible, style: TextStyle( diff --git a/Frontend/lib/mih_packages/calendar/package_tools/appointments.dart b/Frontend/lib/mih_packages/calendar/package_tools/appointments.dart index 5077edce..407d278d 100644 --- a/Frontend/lib/mih_packages/calendar/package_tools/appointments.dart +++ b/Frontend/lib/mih_packages/calendar/package_tools/appointments.dart @@ -97,7 +97,7 @@ class _PatientAccessRequestState extends State { ), const SizedBox(height: 10), Text( - "No Appointments for $selectedDay", + "No appointments for $selectedDay", textAlign: TextAlign.center, overflow: TextOverflow.visible, style: TextStyle( @@ -106,7 +106,7 @@ class _PatientAccessRequestState extends State { color: MzansiInnovationHub.of(context)!.theme.secondaryColor(), ), ), - const SizedBox(height: 10), + const SizedBox(height: 25), Center( child: RichText( textAlign: TextAlign.center, diff --git a/Frontend/lib/mih_packages/mih_home/package_tools/mih_business_home.dart b/Frontend/lib/mih_packages/mih_home/package_tools/mih_business_home.dart index 7db01937..8f03a917 100644 --- a/Frontend/lib/mih_packages/mih_home/package_tools/mih_business_home.dart +++ b/Frontend/lib/mih_packages/mih_home/package_tools/mih_business_home.dart @@ -1,4 +1,3 @@ -import 'package:flutter/services.dart'; import 'package:mzansi_innovation_hub/main.dart'; import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih_single_child_scroll.dart'; import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih_icons.dart'; @@ -259,7 +258,7 @@ class _MihBusinessHomeState extends State ), ), ), - const SizedBox(height: 10), + const SizedBox(height: 20), ValueListenableBuilder( valueListenable: searchPackageName, builder: (context, value, child) { diff --git a/Frontend/lib/mih_packages/mzansi_ai/package_tools/ai_chat.dart b/Frontend/lib/mih_packages/mzansi_ai/package_tools/ai_chat.dart index a453116c..b3bb8aec 100644 --- a/Frontend/lib/mih_packages/mzansi_ai/package_tools/ai_chat.dart +++ b/Frontend/lib/mih_packages/mzansi_ai/package_tools/ai_chat.dart @@ -804,7 +804,7 @@ class _AiChatState extends State { mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ - const SizedBox(height: 50), + // const SizedBox(height: 50), Icon( MihIcons.mzansiAi, size: 165, @@ -821,7 +821,7 @@ class _AiChatState extends State { color: MzansiInnovationHub.of(context)!.theme.secondaryColor(), ), ), - const SizedBox(height: 10), + const SizedBox(height: 25), Center( child: RichText( textAlign: TextAlign.center, diff --git a/Frontend/lib/mih_packages/mzansi_directory/package_tools/mih_favourite_businesses.dart b/Frontend/lib/mih_packages/mzansi_directory/package_tools/mih_favourite_businesses.dart index 9f71b4ae..a71b6872 100644 --- a/Frontend/lib/mih_packages/mzansi_directory/package_tools/mih_favourite_businesses.dart +++ b/Frontend/lib/mih_packages/mzansi_directory/package_tools/mih_favourite_businesses.dart @@ -152,7 +152,7 @@ class _MihFavouriteBusinessesState extends State { ), const SizedBox(height: 10), Text( - "Let's Try Refining Your Search", + "Let's try refining your search", textAlign: TextAlign.center, overflow: TextOverflow.visible, style: TextStyle( @@ -192,7 +192,7 @@ class _MihFavouriteBusinessesState extends State { ), const SizedBox(height: 10), Text( - "No Businesses added to your Favourites", + "No favourite businesses added to your mzansi directory", textAlign: TextAlign.center, overflow: TextOverflow.visible, style: TextStyle( @@ -203,7 +203,7 @@ class _MihFavouriteBusinessesState extends State { .secondaryColor(), ), ), - const SizedBox(height: 10), + const SizedBox(height: 25), Center( child: RichText( textAlign: TextAlign.center, @@ -216,7 +216,7 @@ class _MihFavouriteBusinessesState extends State { .secondaryColor(), ), children: [ - TextSpan(text: "Use the Mzansi Search"), + TextSpan(text: "Use the mzansi search"), // WidgetSpan( // alignment: // PlaceholderAlignment.middle, @@ -230,7 +230,8 @@ class _MihFavouriteBusinessesState extends State { // ), // ), TextSpan( - text: " to find Businesses of Mzansi"), + text: + " to find your favourite businesses of mzansi"), ], ), ), diff --git a/Frontend/lib/mih_packages/mzansi_directory/package_tools/mih_search_mzansi.dart b/Frontend/lib/mih_packages/mzansi_directory/package_tools/mih_search_mzansi.dart index 81a1fde9..550e9ea2 100644 --- a/Frontend/lib/mih_packages/mzansi_directory/package_tools/mih_search_mzansi.dart +++ b/Frontend/lib/mih_packages/mzansi_directory/package_tools/mih_search_mzansi.dart @@ -297,7 +297,7 @@ class _MihSearchMzansiState extends State { ), const SizedBox(height: 10), Text( - "Search for People Of Mzansi!", + "Search for people of Mzansi!", textAlign: TextAlign.center, overflow: TextOverflow.visible, style: TextStyle( @@ -308,7 +308,7 @@ class _MihSearchMzansiState extends State { .secondaryColor(), ), ), - const SizedBox(height: 10), + const SizedBox(height: 25), Center( child: RichText( textAlign: TextAlign.center, @@ -332,7 +332,7 @@ class _MihSearchMzansiState extends State { .secondaryColor(), ), ), - TextSpan(text: " to search for Businesses of Mzansi"), + TextSpan(text: " to search for businesses of Mzansi"), ], ), ), @@ -380,7 +380,7 @@ class _MihSearchMzansiState extends State { ), const SizedBox(height: 10), Text( - "Let's Try Refining Your Search", + "Let's try refining your search", textAlign: TextAlign.center, overflow: TextOverflow.visible, style: TextStyle( @@ -443,9 +443,9 @@ class _MihSearchMzansiState extends State { color: MzansiInnovationHub.of(context)!.theme.secondaryColor(), ), - const SizedBox(height: 10), + const SizedBox(height: 25), Text( - "Let's Try Refining Your Search", + "Let's try refining your search", textAlign: TextAlign.center, overflow: TextOverflow.visible, style: TextStyle( @@ -473,7 +473,7 @@ class _MihSearchMzansiState extends State { ), const SizedBox(height: 10), Text( - "Search for Business Of Mzansi!", + "Search for businesses of Mzansi!", textAlign: TextAlign.center, overflow: TextOverflow.visible, style: TextStyle( @@ -484,7 +484,7 @@ class _MihSearchMzansiState extends State { .secondaryColor(), ), ), - const SizedBox(height: 10), + const SizedBox(height: 25), Center( child: RichText( textAlign: TextAlign.center, @@ -508,7 +508,7 @@ class _MihSearchMzansiState extends State { .secondaryColor(), ), ), - TextSpan(text: " to search for People of Mzansi"), + TextSpan(text: " to search for people of Mzansi"), ], ), ), diff --git a/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_user_search.dart b/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_user_search.dart index 04a46c1e..289ba0dc 100644 --- a/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_user_search.dart +++ b/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_user_search.dart @@ -74,7 +74,7 @@ class _MihBusinessUserSearchState extends State { ), const SizedBox(height: 10), Text( - "Let's Try Refining Your Search", + "Let's try refining your search", textAlign: TextAlign.center, overflow: TextOverflow.visible, style: TextStyle( @@ -100,7 +100,7 @@ class _MihBusinessUserSearchState extends State { ), const SizedBox(height: 10), Text( - "Search for a Member of Mzansi to add to your team", + "Search for a member of Mzansi to add to your team", textAlign: TextAlign.center, overflow: TextOverflow.visible, style: TextStyle( @@ -109,7 +109,7 @@ class _MihBusinessUserSearchState extends State { color: MzansiInnovationHub.of(context)!.theme.secondaryColor(), ), ), - const SizedBox(height: 10), + const SizedBox(height: 25), Center( child: RichText( textAlign: TextAlign.center, @@ -122,7 +122,7 @@ class _MihBusinessUserSearchState extends State { ), children: [ TextSpan( - text: "You can search using their Username or Email"), + text: "You can search using their username or email"), // WidgetSpan( // alignment: PlaceholderAlignment.middle, // child: Icon( diff --git a/Frontend/lib/mih_packages/mzansi_wallet/builder/build_loyalty_card_list.dart b/Frontend/lib/mih_packages/mzansi_wallet/builder/build_loyalty_card_list.dart index f0e62836..9447cf4f 100644 --- a/Frontend/lib/mih_packages/mzansi_wallet/builder/build_loyalty_card_list.dart +++ b/Frontend/lib/mih_packages/mzansi_wallet/builder/build_loyalty_card_list.dart @@ -540,7 +540,7 @@ class _BuildLoyaltyCardListState extends State { ), const SizedBox(height: 10), Text( - "Let's Try Refining Your Search", + "Let's try refining your search", textAlign: TextAlign.center, overflow: TextOverflow.visible, style: TextStyle( @@ -567,7 +567,7 @@ class _BuildLoyaltyCardListState extends State { ), const SizedBox(height: 10), Text( - "No Cards added to your Mzansi Wallet", + "No cards added to your Mzansi Wallet", textAlign: TextAlign.center, overflow: TextOverflow.visible, style: TextStyle( @@ -577,7 +577,7 @@ class _BuildLoyaltyCardListState extends State { MzansiInnovationHub.of(context)!.theme.secondaryColor(), ), ), - const SizedBox(height: 10), + const SizedBox(height: 25), Center( child: RichText( textAlign: TextAlign.center, @@ -624,7 +624,7 @@ class _BuildLoyaltyCardListState extends State { ), const SizedBox(height: 10), Text( - "No Favourite Cards in your Mzansi Wallet", + "No favourite cards in your Mzansi Wallet", textAlign: TextAlign.center, overflow: TextOverflow.visible, style: TextStyle( @@ -634,7 +634,7 @@ class _BuildLoyaltyCardListState extends State { MzansiInnovationHub.of(context)!.theme.secondaryColor(), ), ), - const SizedBox(height: 10), + const SizedBox(height: 25), Center( child: RichText( textAlign: TextAlign.center, @@ -660,7 +660,7 @@ class _BuildLoyaltyCardListState extends State { ), TextSpan( text: - " when viewing loyalty card to add it to your favorites"), + " when viewing a loyalty card to add it to your favorites"), ], ), ), diff --git a/Frontend/lib/mih_packages/patient_profile/pat_manager/package_tools/mih_patient_search.dart b/Frontend/lib/mih_packages/patient_profile/pat_manager/package_tools/mih_patient_search.dart index fa5f9ff3..ac367f65 100644 --- a/Frontend/lib/mih_packages/patient_profile/pat_manager/package_tools/mih_patient_search.dart +++ b/Frontend/lib/mih_packages/patient_profile/pat_manager/package_tools/mih_patient_search.dart @@ -137,7 +137,7 @@ class _MihPatientSearchState extends State { ), const SizedBox(height: 10), Text( - "Let's Try Refining Your Search", + "Let's try refining your search", textAlign: TextAlign.center, overflow: TextOverflow.visible, style: TextStyle( @@ -172,7 +172,7 @@ class _MihPatientSearchState extends State { color: MzansiInnovationHub.of(context)!.theme.secondaryColor(), ), ), - const SizedBox(height: 10), + const SizedBox(height: 25), Center( child: RichText( textAlign: TextAlign.center, @@ -186,7 +186,7 @@ class _MihPatientSearchState extends State { children: [ TextSpan( text: - "You can search using their teamtient ID or Medical Aid No."), + "You can search using their ID Number or Medical Aid No."), // WidgetSpan( // alignment: PlaceholderAlignment.middle, // child: Icon( diff --git a/Frontend/lib/mih_packages/patient_profile/pat_manager/package_tools/my_patient_list.dart b/Frontend/lib/mih_packages/patient_profile/pat_manager/package_tools/my_patient_list.dart index a908e555..56f7685e 100644 --- a/Frontend/lib/mih_packages/patient_profile/pat_manager/package_tools/my_patient_list.dart +++ b/Frontend/lib/mih_packages/patient_profile/pat_manager/package_tools/my_patient_list.dart @@ -126,7 +126,7 @@ class _MyPatientListState extends State { ), const SizedBox(height: 10), Text( - "Let's Try Refining Your Search", + "Let's try refining your search", textAlign: TextAlign.center, overflow: TextOverflow.visible, style: TextStyle( @@ -161,7 +161,7 @@ class _MyPatientListState extends State { color: MzansiInnovationHub.of(context)!.theme.secondaryColor(), ), ), - const SizedBox(height: 10), + const SizedBox(height: 25), Center( child: RichText( textAlign: TextAlign.center, diff --git a/Frontend/lib/mih_packages/patient_profile/pat_manager/package_tools/waiting_room.dart b/Frontend/lib/mih_packages/patient_profile/pat_manager/package_tools/waiting_room.dart index 4e931554..07a3c6c8 100644 --- a/Frontend/lib/mih_packages/patient_profile/pat_manager/package_tools/waiting_room.dart +++ b/Frontend/lib/mih_packages/patient_profile/pat_manager/package_tools/waiting_room.dart @@ -193,7 +193,7 @@ class _WaitingRoomState extends State { color: MzansiInnovationHub.of(context)!.theme.secondaryColor(), ), ), - const SizedBox(height: 10), + const SizedBox(height: 25), Center( child: RichText( textAlign: TextAlign.center, diff --git a/Frontend/lib/mih_packages/patient_profile/pat_profile/list_builders/build_claim_statement_files_list.dart b/Frontend/lib/mih_packages/patient_profile/pat_profile/list_builders/build_claim_statement_files_list.dart index b5a1dfdb..c3f1ce6c 100644 --- a/Frontend/lib/mih_packages/patient_profile/pat_profile/list_builders/build_claim_statement_files_list.dart +++ b/Frontend/lib/mih_packages/patient_profile/pat_profile/list_builders/build_claim_statement_files_list.dart @@ -385,7 +385,7 @@ class _BuildClaimStatementFileListState color: MzansiInnovationHub.of(context)!.theme.secondaryColor(), ), ), - const SizedBox(height: 10), + const SizedBox(height: 25), Visibility( visible: widget.business != null, child: Center( diff --git a/Frontend/lib/mih_packages/patient_profile/pat_profile/list_builders/build_files_list.dart b/Frontend/lib/mih_packages/patient_profile/pat_profile/list_builders/build_files_list.dart index 89c76db8..9c6be4b7 100644 --- a/Frontend/lib/mih_packages/patient_profile/pat_profile/list_builders/build_files_list.dart +++ b/Frontend/lib/mih_packages/patient_profile/pat_profile/list_builders/build_files_list.dart @@ -436,7 +436,7 @@ class _BuildFilesListState extends State { color: MzansiInnovationHub.of(context)!.theme.secondaryColor(), ), ), - const SizedBox(height: 10), + const SizedBox(height: 25), Center( child: RichText( textAlign: TextAlign.center, diff --git a/Frontend/lib/mih_packages/patient_profile/pat_profile/list_builders/build_notes_list.dart b/Frontend/lib/mih_packages/patient_profile/pat_profile/list_builders/build_notes_list.dart index 6a131386..bf6bad4a 100644 --- a/Frontend/lib/mih_packages/patient_profile/pat_profile/list_builders/build_notes_list.dart +++ b/Frontend/lib/mih_packages/patient_profile/pat_profile/list_builders/build_notes_list.dart @@ -317,7 +317,7 @@ class _BuildNotesListState extends State { color: MzansiInnovationHub.of(context)!.theme.secondaryColor(), ), ), - const SizedBox(height: 10), + const SizedBox(height: 25), Visibility( visible: widget.business != null, child: Center( diff --git a/Frontend/pubspec.lock b/Frontend/pubspec.lock index 74f9c57b..080192d4 100644 --- a/Frontend/pubspec.lock +++ b/Frontend/pubspec.lock @@ -241,6 +241,14 @@ packages: url: "https://pub.dev" source: hosted version: "3.1.2" + country_code_picker: + dependency: "direct main" + description: + name: country_code_picker + sha256: ee216486da1db8e3c5688f9650c99472ab6a4025ed1ea0c5a54ae6063143d90d + url: "https://pub.dev" + source: hosted + version: "3.3.0" cross_file: dependency: transitive description: @@ -297,6 +305,14 @@ packages: url: "https://pub.dev" source: hosted version: "7.0.2" + diacritic: + dependency: transitive + description: + name: diacritic + sha256: "12981945ec38931748836cd76f2b38773118d0baef3c68404bdfde9566147876" + url: "https://pub.dev" + source: hosted + version: "0.1.6" diffutil_dart: dependency: transitive description: