generic-enhancements (#1886)

* Finishing updating docs and community links * Add missing images

tuxsudo committed Dec 16, 2024 at 18:08 UTC 6499aa2d6f8d86f547490845950ece0d2b1a70a0
6 files changed +97 -101
.github/ISSUE_TEMPLATE/config.yml
+1 -1
@@ -4,7 +4,7 @@ contact_links:
4 url: https://github.com/cake-tech/cake_wallet/discussions/new?category=feature-requests
5 about: Suggest an idea for Cake Wallet
6 - name: Not sure where to start?
7 - url: https://guides.cakewallet.com
7 + url: https://docs.cakewallet.com
8 about: Start by reading checking out the guides!
9 - name: Need help?
10 url: https://cakewallet.com/#contact
assets/images/discord.png
Binary files /dev/null and b/assets/images/discord.png differ
assets/images/discourse.png
Binary files /dev/null and b/assets/images/discourse.png differ
lib/src/screens/dashboard/pages/balance_page.dart
+1 -1
@@ -384,7 +384,7 @@ class CryptoBalanceWidget extends StatelessWidget {
384 behavior: HitTestBehavior.opaque,
385 onTap: () => launchUrl(
386 Uri.parse(
387 - "https://guides.cakewallet.com/docs/cryptos/litecoin/#mweb"),
387 + "https://docs.cakewallet.com/cryptos/litecoin/#mweb"),
388 mode: LaunchMode.externalApplication,
389 ),
390 child: Text(
lib/src/screens/welcome/welcome_page.dart
+1 -1
@@ -25,7 +25,7 @@ class WelcomePage extends BasePage {
25
26 @override
27 Widget trailing(BuildContext context) {
28 - final Uri _url = Uri.parse('https://guides.cakewallet.com/docs/basic-features/basic-features/');
28 + final Uri _url = Uri.parse('https://docs.cakewallet.com/get-started/setup/create-first-wallet/');
29 return IconButton(
30 icon: Icon(Icons.info_outline),
31 onPressed: () async {
lib/view_model/support_view_model.dart
+94 -98
@@ -11,102 +11,99 @@ class SupportViewModel = SupportViewModelBase with _$SupportViewModel;
11
12 abstract class SupportViewModelBase with Store {
13 SupportViewModelBase()
14 - : items = [
15 - LinkListItem(
16 - title: 'Email',
17 - icon: 'assets/images/support_icon.png',
18 - linkTitle: 'support@cakewallet.com',
19 - link: 'mailto:support@cakewallet.com'),
20 - if (!isMoneroOnly)
21 - LinkListItem(
22 - title: 'Website',
23 - icon: 'assets/images/global.png',
24 - linkTitle: 'cakewallet.com',
25 - link: 'https://cakewallet.com'),
26 - if (!isMoneroOnly)
27 - LinkListItem(
28 - title: 'GitHub',
29 - icon: 'assets/images/github.png',
30 - hasIconColor: true,
31 - linkTitle: S.current.apk_update,
32 - link: 'https://github.com/cake-tech/cake_wallet/releases'),
33 - LinkListItem(
34 - title: 'Discord',
35 - icon: 'assets/images/discord.png',
36 - linkTitle: 'discord.gg/pwmWa6aFpX',
37 - link: 'https://discord.gg/pwmWa6aFpX'),
38 - LinkListItem(
39 - title: 'Telegram',
40 - icon: 'assets/images/Telegram.png',
41 - linkTitle: 't.me/cakewallet',
42 - link: 'https://t.me/cakewalletannouncements'),
43 - LinkListItem(
44 - title: 'Telegram Support Bot',
45 - icon: 'assets/images/Telegram.png',
46 - linkTitle: '@cakewallet_bot',
47 - link: 'https://t.me/cakewallet_bot'),
48 - LinkListItem(
49 - title: 'ChangeNow',
50 - icon: 'assets/images/change_now.png',
51 - linkTitle: 'support@changenow.io',
52 - link: 'mailto:support@changenow.io'),
53 - LinkListItem(
54 - title: 'SideShift',
55 - icon: 'assets/images/sideshift.png',
56 - linkTitle: 'help.sideshift.ai',
57 - link: 'https://help.sideshift.ai/en/'),
58 - LinkListItem(
59 - title: 'SimpleSwap',
60 - icon: 'assets/images/simpleSwap.png',
61 - linkTitle: 'support@simpleswap.io',
62 - link: 'mailto:support@simpleswap.io'),
63 - LinkListItem(
64 - title: 'Exolix',
65 - icon: 'assets/images/exolix.png',
66 - linkTitle: 'support@exolix.com',
67 - link: 'mailto:support@exolix.com'),
68 - LinkListItem(
69 - title: 'Quantex',
70 - icon: 'assets/images/quantex.png',
71 - linkTitle: 'help.myquantex.com',
72 - link: 'mailto:support@exolix.com'),
73 - LinkListItem(
74 - title: 'Trocador',
75 - icon: 'assets/images/trocador.png',
76 - linkTitle: 'mail@trocador.app',
77 - link: 'mailto:mail@trocador.app'),
78 - LinkListItem(
79 - title: 'Onramper',
80 - icon: 'assets/images/onramper_dark.png',
81 - lightIcon: 'assets/images/onramper_light.png',
82 - linkTitle: 'View exchanges',
83 - link: 'https://docs.cakewallet.com/support/buy/#onramper'),
84 - LinkListItem(
85 - title: 'DFX',
86 - icon: 'assets/images/dfx_dark.png',
87 - lightIcon: 'assets/images/dfx_light.png',
88 - linkTitle: 'support@dfx.swiss',
89 - link: 'mailto:support@dfx.swiss'),
90 - if (!isMoneroOnly) ... [
91 - LinkListItem(
92 - title: 'MoonPay',
93 - icon: 'assets/images/moonpay.png',
94 - linkTitle: S.current.submit_request,
95 - link: 'https://support.moonpay.com/hc/en-gb/requests/new'),
96 - LinkListItem(
97 - title: 'Robinhood Connect',
98 - icon: 'assets/images/robinhood_dark.png',
99 - lightIcon: 'assets/images/robinhood_light.png',
100 - linkTitle: S.current.submit_request,
101 - link: 'https://robinhood.com/contact')
102 - ]
103 - //LinkListItem(
104 - // title: 'Yat',
105 - // icon: 'assets/images/yat_mini_logo.png',
106 - // hasIconColor: true,
107 - // linkTitle: 'support@y.at',
108 - // link: 'mailto:support@y.at')
109 - ];
14 + : items = [
15 + LinkListItem(
16 + title: 'Email',
17 + icon: 'assets/images/support_icon.png',
18 + linkTitle: 'support@cakewallet.com',
19 + link: 'mailto:support@cakewallet.com'),
20 + LinkListItem(
21 + title: 'Website',
22 + icon: 'assets/images/global.png',
23 + linkTitle: 'cakewallet.com',
24 + link: 'https://cakewallet.com'),
25 + LinkListItem(
26 + title: 'Forum',
27 + icon: 'assets/images/discourse.png',
28 + linkTitle: 'forum.cakewallet.com',
29 + link: 'https://forum.cakewallet.com'),
30 + LinkListItem(
31 + title: 'GitHub',
32 + icon: 'assets/images/github.png',
33 + hasIconColor: true,
34 + linkTitle: S.current.apk_update,
35 + link: 'https://github.com/cake-tech/cake_wallet/releases'),
36 + LinkListItem(
37 + title: 'Discord',
38 + icon: 'assets/images/discord.png',
39 + linkTitle: 'discord.gg/pwmWa6aFpX',
40 + link: 'https://discord.gg/pwmWa6aFpX'),
41 + LinkListItem(
42 + title: 'Telegram',
43 + icon: 'assets/images/Telegram.png',
44 + linkTitle: 't.me/cakewallet',
45 + link: 'https://t.me/cakewalletannouncements'),
46 + LinkListItem(
47 + title: 'Telegram Support Bot',
48 + icon: 'assets/images/Telegram.png',
49 + linkTitle: '@cakewallet_bot',
50 + link: 'https://t.me/cakewallet_bot'),
51 + LinkListItem(
52 + title: 'ChangeNow',
53 + icon: 'assets/images/change_now.png',
54 + linkTitle: 'support@changenow.io',
55 + link: 'mailto:support@changenow.io'),
56 + LinkListItem(
57 + title: 'SideShift',
58 + icon: 'assets/images/sideshift.png',
59 + linkTitle: 'help.sideshift.ai',
60 + link: 'https://help.sideshift.ai/en/'),
61 + LinkListItem(
62 + title: 'SimpleSwap',
63 + icon: 'assets/images/simpleSwap.png',
64 + linkTitle: 'support@simpleswap.io',
65 + link: 'mailto:support@simpleswap.io'),
66 + LinkListItem(
67 + title: 'Exolix',
68 + icon: 'assets/images/exolix.png',
69 + linkTitle: 'support@exolix.com',
70 + link: 'mailto:support@exolix.com'),
71 + LinkListItem(
72 + title: 'Quantex',
73 + icon: 'assets/images/quantex.png',
74 + linkTitle: 'help.myquantex.com',
75 + link: 'mailto:support@exolix.com'),
76 + LinkListItem(
77 + title: 'Trocador',
78 + icon: 'assets/images/trocador.png',
79 + linkTitle: 'mail@trocador.app',
80 + link: 'mailto:mail@trocador.app'),
81 + LinkListItem(
82 + title: 'Onramper',
83 + icon: 'assets/images/onramper_dark.png',
84 + lightIcon: 'assets/images/onramper_light.png',
85 + linkTitle: 'View exchanges',
86 + link: 'https://docs.cakewallet.com/support/buy/#onramper'),
87 + LinkListItem(
88 + title: 'DFX',
89 + icon: 'assets/images/dfx_dark.png',
90 + lightIcon: 'assets/images/dfx_light.png',
91 + linkTitle: 'support@dfx.swiss',
92 + link: 'mailto:support@dfx.swiss'),
93 + if (!isMoneroOnly) ...[
94 + LinkListItem(
95 + title: 'MoonPay',
96 + icon: 'assets/images/moonpay.png',
97 + linkTitle: S.current.submit_request,
98 + link: 'https://support.moonpay.com/hc/en-gb/requests/new'),
99 + LinkListItem(
100 + title: 'Robinhood Connect',
101 + icon: 'assets/images/robinhood_dark.png',
102 + lightIcon: 'assets/images/robinhood_light.png',
103 + linkTitle: S.current.submit_request,
104 + link: 'https://robinhood.com/contact')
105 + ]
106 + ];
107
108 final docsUrl = 'https://docs.cakewallet.com';
109
@@ -114,8 +111,7 @@ abstract class SupportViewModelBase with Store {
111 var supportUrl =
112 "https://app.chatwoot.com/widget?website_token=${secrets.chatwootWebsiteToken}&locale=${locale}";
113
117 - if (authToken.isNotEmpty)
118 - supportUrl += "&cw_conversation=$authToken";
114 + if (authToken.isNotEmpty) supportUrl += "&cw_conversation=$authToken";
115
116 return supportUrl;
117 }