Skip to content

Commit

Permalink
Release/0.20.0 (#883)
Browse files Browse the repository at this point in the history
- Added new contact book screen with core functionalities
- Added Contact Details screen. User now will be able to check and edit contact details
- Created ExternalContactsManager to handle actions related with external (system) contacts
- Created ContactsManager to handle both internal (FFI) and external (system) contacts
- Integrated external contacts with contact book screen. Now, external contacts are visible on the list and user is able to check contact's details.
- Integrated external contacts with contact details screen. From that point user is able to edit and remove the external contact.
- Adjusted contact book UI to align with designs
- Added Link/Unlink functionality to contact book. User is now able to link internal with external contact
- Yat Integration - User will now be able to attach Yat to his external and linked contacts
- Attaching Yat allows using the user's BTC, ETC, and XMR addresses stored contacted to Yat to open the 3rd party wallet apps.
- Added placeholders on contact book screen
- Added UI Elememnt that indicates the contact's type.
- Created SettingsProfileCell, ui component that allows user to move to the profile screen
- Moved profile screen to the settings menu
- Implemented "Add Contact" feature avaiable from the Contact Book Screen
- Added Add/Remove to/from Favorites funtionality. Now user can tag internal contacts as favorite.
- Removed part of unused code and assets.
- Updated SwiftLint rules to be a step closer to our targets
- Removed few opt-out rules from swiftlint config
- Added few files to excluded list and mark them as "scheduled for refactor"
- Fixed linter issues.
- Updated FFI version to v0.49.0-pre.4
- Updated MigrationManager logic. Now, it will using data directly from FFI.
- Updated update_dependencies.sh script. Constants.plist generated by this script will be no longer needed.
- Removed unused code
- Added additional unit test to cover scenarios when FFI version have PRE or RC component in version number.
- Updated App Version to v0.20.0
  • Loading branch information
TruszczynskiA authored Mar 31, 2023
1 parent dcabe72 commit 8a86d70
Show file tree
Hide file tree
Showing 207 changed files with 7,801 additions and 4,430 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fastlane/screenshots/*.html*
fastlane/test_output
.DS_Store
fastlane/Appfile
MobileWallet/TariLib/libtari_wallet_ffi.a
MobileWallet/TariLib/libtari_wallet_ffi_ios.xcframework
MobileWallet/Constants.plist
.idea/
fastlane/.env*
Expand Down
24 changes: 14 additions & 10 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
line_length: # Target: 120/200
- 245
- 325
- 230
- 250

type_body_length: # Target: 250/350
- 380
- 400
- 500

function_body_length: # Target: 50/100
- 105
- 120
- 220

file_length: # Target: 400/1000
- 910
- 1510
- 675
- 1000

disabled_rules:
- identifier_name
- cyclomatic_complexity
- multiple_closures_with_trailing_closure
- function_parameter_count
- todo
- nesting
- type_name

excluded:
- Pods
- UnitTests
- UnitTests
# Files scheduled for refactor
- ./**/TariSettings.swift
- ./**/SettingsViewController.swift
- ./**/AddAmountViewController.swift
- ./**/EmojiIdView.swift
- ./**/AnimatedBalanceLabel.swift
- ./**/TxsListViewController.swift
362 changes: 319 additions & 43 deletions MobileWallet.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions MobileWallet/Assets.xcassets/Assets-Icons/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "ico-cb-nopadding.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "ico-tari-nopadding.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "ico-link-nopadding.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
3 changes: 3 additions & 0 deletions MobileWallet/Assets.xcassets/Icons/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}
16 changes: 16 additions & 0 deletions MobileWallet/Assets.xcassets/Icons/Link.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "ico-link.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
16 changes: 16 additions & 0 deletions MobileWallet/Assets.xcassets/Icons/Profile.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "ico-profile.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
16 changes: 16 additions & 0 deletions MobileWallet/Assets.xcassets/Icons/Send.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "ico-send-receive.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "ico-star.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
9 changes: 9 additions & 0 deletions MobileWallet/Assets.xcassets/Icons/Star/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "ico-star-filled.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "ico-contact-book.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Binary file not shown.
9 changes: 9 additions & 0 deletions MobileWallet/Assets.xcassets/Icons/TabBar/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}
16 changes: 16 additions & 0 deletions MobileWallet/Assets.xcassets/Icons/Unlink.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "ico-unlink.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "add_contact.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "ico-placeholder2.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"images" : [
{
"filename" : "ico-placeholder1.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true,
"template-rendering-intent" : "template"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"provides-namespace" : true
}
}
21 changes: 0 additions & 21 deletions MobileWallet/Assets.xcassets/background 1.imageset/Contents.json

This file was deleted.

Binary file not shown.
Loading

0 comments on commit 8a86d70

Please sign in to comment.