From 7a557ad3fa54e5a9561ff1680828772fe1c67140 Mon Sep 17 00:00:00 2001 From: Nikolaus Heger Date: Fri, 20 Feb 2026 12:47:07 +0800 Subject: [PATCH 1/3] activity section added waiting for final design --- .../lib/v2/screens/home/activity_section.dart | 40 ++++++++++++++++--- 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/mobile-app/lib/v2/screens/home/activity_section.dart b/mobile-app/lib/v2/screens/home/activity_section.dart index 1be9c4aa..82ec1db1 100644 --- a/mobile-app/lib/v2/screens/home/activity_section.dart +++ b/mobile-app/lib/v2/screens/home/activity_section.dart @@ -12,6 +12,7 @@ import 'package:resonance_network_wallet/v2/screens/activity/transaction_detail_ import 'package:resonance_network_wallet/v2/screens/activity/tx_item.dart'; import 'package:resonance_network_wallet/v2/theme/app_colors.dart'; import 'package:resonance_network_wallet/v2/theme/app_text_styles.dart'; +import 'package:url_launcher/url_launcher.dart'; class ActivitySection extends ConsumerWidget { final AsyncValue txAsync; @@ -44,12 +45,8 @@ class ActivitySection extends ConsumerWidget { children: [ const SizedBox(height: 40), _header(colors, text, context), - const SizedBox(height: 48), - Icon(Icons.receipt_long_outlined, size: 48, color: colors.textTertiary), - const SizedBox(height: 16), - Text('No transactions yet', style: text.paragraph?.copyWith(color: colors.textSecondary)), - const SizedBox(height: 8), - Text('Your activity will appear here', style: text.detail?.copyWith(color: colors.textTertiary)), + const SizedBox(height: 24), + _getStartedLinks(text, colors), ], ); } @@ -123,6 +120,37 @@ class ActivitySection extends ConsumerWidget { ); } + Widget _getStartedLinks(AppTextTheme text, AppColorsV2 colors) { + final linkStyle = text.smallParagraph?.copyWith(color: colors.textPrimary); + final links = [ + ('Get Testnet Tokens →', AppConstants.faucetBotUrl), + ('Tutorials & Guides →', AppConstants.tutorialsAndGuidesUrl), + ('Community →', AppConstants.communityUrl), + ('Tech Support →', AppConstants.helpAndSupportUrl), + ]; + + return Container( + width: double.infinity, + padding: const EdgeInsets.all(20), + decoration: BoxDecoration( + color: const Color(0x3F000000), + borderRadius: BorderRadius.circular(5), + ), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + for (var i = 0; i < links.length; i++) ...[ + GestureDetector( + onTap: () => launchUrl(Uri.parse(links[i].$2)), + child: Text(links[i].$1, style: linkStyle), + ), + if (i < links.length - 1) const SizedBox(height: 25), + ], + ], + ), + ); + } + Widget _header(AppColorsV2 colors, AppTextTheme text, BuildContext context) { return Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, From b0b5f2d29e48b4f4b3a44d33a920bbce85794676 Mon Sep 17 00:00:00 2001 From: Nikolaus Heger Date: Fri, 20 Feb 2026 12:55:27 +0800 Subject: [PATCH 2/3] better tech support url --- mobile-app/lib/features/components/get_started.dart | 2 +- mobile-app/lib/features/main/screens/settings_screen.dart | 2 +- mobile-app/lib/v2/screens/home/activity_section.dart | 3 +-- mobile-app/lib/v2/screens/settings/settings_screen.dart | 2 +- quantus_sdk/lib/src/constants/app_constants.dart | 6 +++++- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/mobile-app/lib/features/components/get_started.dart b/mobile-app/lib/features/components/get_started.dart index a981323b..3b3b0161 100644 --- a/mobile-app/lib/features/components/get_started.dart +++ b/mobile-app/lib/features/components/get_started.dart @@ -52,7 +52,7 @@ class GetStarted extends StatelessWidget { const SizedBox(height: 25), GestureDetector( onTap: () { - final Uri url = Uri.parse(AppConstants.helpAndSupportUrl); + final Uri url = Uri.parse(AppConstants.techSupportUrl); launchUrl(url); }, child: Text('Tech Support →', style: context.themeText.smallParagraph), diff --git a/mobile-app/lib/features/main/screens/settings_screen.dart b/mobile-app/lib/features/main/screens/settings_screen.dart index d83680f2..624199cb 100644 --- a/mobile-app/lib/features/main/screens/settings_screen.dart +++ b/mobile-app/lib/features/main/screens/settings_screen.dart @@ -203,7 +203,7 @@ class _SettingsScreenState extends ConsumerState { ListItem( title: 'Help & Support', onTap: () { - final Uri url = Uri.parse(AppConstants.helpAndSupportUrl); + final Uri url = Uri.parse(AppConstants.techSupportUrl); launchUrl(url); }, trailing: const Icon(Icons.arrow_outward_sharp), diff --git a/mobile-app/lib/v2/screens/home/activity_section.dart b/mobile-app/lib/v2/screens/home/activity_section.dart index 82ec1db1..eaad0626 100644 --- a/mobile-app/lib/v2/screens/home/activity_section.dart +++ b/mobile-app/lib/v2/screens/home/activity_section.dart @@ -124,9 +124,8 @@ class ActivitySection extends ConsumerWidget { final linkStyle = text.smallParagraph?.copyWith(color: colors.textPrimary); final links = [ ('Get Testnet Tokens →', AppConstants.faucetBotUrl), - ('Tutorials & Guides →', AppConstants.tutorialsAndGuidesUrl), ('Community →', AppConstants.communityUrl), - ('Tech Support →', AppConstants.helpAndSupportUrl), + ('Tech Support →', AppConstants.techSupportUrl), ]; return Container( diff --git a/mobile-app/lib/v2/screens/settings/settings_screen.dart b/mobile-app/lib/v2/screens/settings/settings_screen.dart index 5ca3374f..ca5d463e 100644 --- a/mobile-app/lib/v2/screens/settings/settings_screen.dart +++ b/mobile-app/lib/v2/screens/settings/settings_screen.dart @@ -244,7 +244,7 @@ class _SettingsScreenV2State extends ConsumerState { null, colors, text, - onTap: () => launchUrl(Uri.parse(AppConstants.helpAndSupportUrl)), + onTap: () => launchUrl(Uri.parse(AppConstants.techSupportUrl)), ), _divider(colors), _externalItem( diff --git a/quantus_sdk/lib/src/constants/app_constants.dart b/quantus_sdk/lib/src/constants/app_constants.dart index 131d070e..12f31dfb 100644 --- a/quantus_sdk/lib/src/constants/app_constants.dart +++ b/quantus_sdk/lib/src/constants/app_constants.dart @@ -26,7 +26,11 @@ class AppConstants { static const String senotiEndpoint = 'http://localhost:3100/api'; static const String explorerEndpoint = 'https://explorer.quantus.com'; - static const String helpAndSupportUrl = 'https://t.me/c/quantusnetwork/2457'; + + // internal group URL is this (note the /c) + // https://t.me/c/quantusnetwork/2457 + // removing the c, we get a better preview page though so we use it without c... + static const String techSupportUrl = 'https://t.me/quantusnetwork/2457'; static const String termsOfServiceUrl = 'https://www.quantus.com/terms-and-privacy'; static const String tutorialsAndGuidesUrl = 'https://github.com/Quantus-Network/chain'; static const String shillQuestsPageUrl = 'https://www.quantus.com/quests/shill'; From b2efa323ac824812f8070b23b5af6b7e2326012d Mon Sep 17 00:00:00 2001 From: Nikolaus Heger Date: Fri, 20 Feb 2026 12:56:18 +0800 Subject: [PATCH 3/3] format --- mobile-app/lib/v2/screens/home/activity_section.dart | 5 +---- quantus_sdk/lib/src/constants/app_constants.dart | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/mobile-app/lib/v2/screens/home/activity_section.dart b/mobile-app/lib/v2/screens/home/activity_section.dart index eaad0626..72e6aef6 100644 --- a/mobile-app/lib/v2/screens/home/activity_section.dart +++ b/mobile-app/lib/v2/screens/home/activity_section.dart @@ -131,10 +131,7 @@ class ActivitySection extends ConsumerWidget { return Container( width: double.infinity, padding: const EdgeInsets.all(20), - decoration: BoxDecoration( - color: const Color(0x3F000000), - borderRadius: BorderRadius.circular(5), - ), + decoration: BoxDecoration(color: const Color(0x3F000000), borderRadius: BorderRadius.circular(5)), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ diff --git a/quantus_sdk/lib/src/constants/app_constants.dart b/quantus_sdk/lib/src/constants/app_constants.dart index 12f31dfb..b0bf8831 100644 --- a/quantus_sdk/lib/src/constants/app_constants.dart +++ b/quantus_sdk/lib/src/constants/app_constants.dart @@ -29,7 +29,7 @@ class AppConstants { // internal group URL is this (note the /c) // https://t.me/c/quantusnetwork/2457 - // removing the c, we get a better preview page though so we use it without c... + // removing the c, we get a better preview page though so we use it without c... static const String techSupportUrl = 'https://t.me/quantusnetwork/2457'; static const String termsOfServiceUrl = 'https://www.quantus.com/terms-and-privacy'; static const String tutorialsAndGuidesUrl = 'https://github.com/Quantus-Network/chain';