Skip to content

Commit

Permalink
feat: dapps flow (#23)
Browse files Browse the repository at this point in the history
- dApp details screen UI
- show more text reusable component
- UI issues fixes related to dApps flow
  • Loading branch information
ice-hector authored Mar 6, 2024
1 parent 3207ec5 commit b28dd77
Show file tree
Hide file tree
Showing 103 changed files with 1,487 additions and 795 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ on:
workflow_dispatch:
inputs:
environment:
description: 'Environment'
description: "Environment"
required: true
default: 'staging'
default: "staging"
type: choice
options:
- staging
- production
- staging
- production
deployment:
description: 'Deployment target'
description: "Deployment target"
required: true
default: 'firebase'
default: "firebase"
type: choice
options:
- firebase
- store
- firebase
- store
version:
description: 'App version'
default: '9.9.9'
description: "App version"
default: "9.9.9"
required: true

jobs:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
id: set-flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
channel: "stable"
cache: true
- run: flutter --version
- name: Install dependencies
Expand Down Expand Up @@ -136,13 +136,13 @@ jobs:
uses: ruby/setup-ruby@v1
with:
working-directory: main-repo
ruby-version: '3.2.2'
ruby-version: "3.2.2"
bundler-cache: true
- name: Set Flutter
id: set-flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
channel: "stable"
cache: true
- run: flutter --version
- name: Install dependencies
Expand Down Expand Up @@ -219,21 +219,21 @@ jobs:
id: setup-java
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '17'
distribution: "adopt"
java-version: "17"
check-latest: true
- name: Setup Ruby version
id: setup-ruby
uses: ruby/setup-ruby@v1
with:
working-directory: main-repo
ruby-version: '3.2.2'
ruby-version: "3.2.2"
bundler-cache: true
- name: Set Flutter
id: set-flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
channel: "stable"
cache: true
- run: flutter --version
- name: Install dependencies
Expand Down
8 changes: 8 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Provide required visibility configuration for API level 30 and above -->
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
</queries>

<application
android:label="${appName}"
android:name="${applicationName}"
Expand Down
4 changes: 4 additions & 0 deletions app_es.arb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"button_create_account",
"button_login",
"button_paste",
"common_show_more",
"common_show_less",
"intro_title",
"intro_description",
"auth_privacy",
Expand Down Expand Up @@ -54,6 +56,8 @@
"dapps_category_utilities",
"dapps_category_other",
"dapps_favourites_added",
"dapps_favourites_empty_title",
"dapp_details_launch_dapp_button_title",
"search_placeholder",
"secured_by",
"secured_by_ice",
Expand Down
Binary file added assets/images/bg/1.5x/bg_wallet_opensea.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/bg/2.0x/bg_wallet_opensea.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/bg/3.0x/bg_wallet_opensea.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/bg/4.0x/bg_wallet_opensea.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/bg/bg_wallet_opensea.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/1.5x/icon_channel_moderator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/1.5x/icon_channel_owner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/1.5x/icon_dapp_check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/1.5x/icon_dapp_games.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/2.0x/icon_channel_moderator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/2.0x/icon_channel_owner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/2.0x/icon_dapp_check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/2.0x/icon_dapp_games.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/3.0x/icon_channel_owner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/3.0x/icon_dapp_check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/3.0x/icon_dapp_games.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/4.0x/icon_dapp_check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/4.0x/icon_dapp_games.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/icon_channel_moderator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/icon_channel_owner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/icon_dapp_check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/icons/icon_dapp_games.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/misc/1.5x/dapps_empty.png
Binary file added assets/images/misc/2.0x/dapps_empty.png
Binary file added assets/images/misc/3.0x/dapps_empty.png
Binary file added assets/images/misc/4.0x/dapps_empty.png
Binary file added assets/images/misc/dapps_empty.png
6 changes: 6 additions & 0 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ PODS:
- Flutter
- FlutterMacOS
- TOCropViewController (2.6.1)
- url_launcher_ios (0.0.1):
- Flutter

DEPENDENCIES:
- Flutter (from `Flutter`)
Expand All @@ -22,6 +24,7 @@ DEPENDENCIES:
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- sqflite (from `.symlinks/plugins/sqflite/darwin`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)

SPEC REPOS:
trunk:
Expand All @@ -40,6 +43,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/path_provider_foundation/darwin"
sqflite:
:path: ".symlinks/plugins/sqflite/darwin"
url_launcher_ios:
:path: ".symlinks/plugins/url_launcher_ios/ios"

SPEC CHECKSUMS:
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
Expand All @@ -49,6 +54,7 @@ SPEC CHECKSUMS:
path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c
sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
url_launcher_ios: bbd758c6e7f9fd7b5b1d4cde34d2b95fcce5e812

PODFILE CHECKSUM: 4e8f8b2be68aeea4c0d5beb6ff1e79fface1d048

Expand Down
4 changes: 4 additions & 0 deletions ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,9 @@
<string>This app requires access to the photo library.</string>
<key>NSCameraUsageDescription</key>
<string>This app requires access to the camera.</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>https</string>
</array>
</dict>
</plist>
33 changes: 33 additions & 0 deletions lib/app/components/empty_list/empty_list.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import 'package:flutter/material.dart';
import 'package:ice/app/extensions/build_context.dart';
import 'package:ice/app/extensions/num.dart';
import 'package:ice/app/extensions/theme_data.dart';

class EmptyList extends StatelessWidget {
const EmptyList({
super.key,
required this.icon,
required this.title,
});
final Widget icon;
final String title;

@override
Widget build(BuildContext context) {
return Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
icon,
SizedBox(height: 8.0.s),
Text(
title,
style: context.theme.appTextThemes.caption2.copyWith(
color: context.theme.appColors.tertararyText,
),
),
],
),
);
}
}
59 changes: 0 additions & 59 deletions lib/app/components/navigation_header/navigation_header.dart

This file was deleted.

Loading

0 comments on commit b28dd77

Please sign in to comment.