Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.3.0 #259

Merged
merged 24 commits into from
Jun 9, 2024
Merged

1.3.0 #259

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
abe1697
Translated using Weblate (German)
May 27, 2024
c408438
Translated using Weblate (Romanian)
sandakersmann May 27, 2024
8fe6551
Translated using Weblate (Norwegian Bokmål)
sandakersmann May 27, 2024
355ef13
Translated using Weblate (Swedish)
sandakersmann May 27, 2024
d4124ae
Translated using Weblate (Danish)
sandakersmann May 27, 2024
bd6004c
Translated using Weblate (Icelandic)
sandakersmann May 27, 2024
d5c5690
version bump
willyfromtheblock May 30, 2024
7cf65db
Merge branch 'main' of https://weblate.ppc.lol/git/peercoin-flutter/t…
willyfromtheblock May 30, 2024
74140b9
feat: Add scrollIntoView for 'Broadcast' button in key_new.dart
willyfromtheblock May 30, 2024
40bbe44
Translated using Weblate (Norwegian Bokmål)
sandakersmann May 30, 2024
f0b2fba
Translated using Weblate (Swedish)
sandakersmann May 30, 2024
6880640
Translated using Weblate (Danish)
sandakersmann May 30, 2024
87d8bc5
Translated using Weblate (Icelandic)
sandakersmann May 30, 2024
678bf10
sign transaction confirmation: fix bug for double entries of the same…
willyfromtheblock Jun 8, 2024
7a589a2
chore: Update CHANGELOG.md with correct release date for version 1.3.0
willyfromtheblock Jun 8, 2024
a20b97c
Merge branch 'main' of https://weblate.ppc.lol/git/peercoin-flutter/t…
willyfromtheblock Jun 8, 2024
b4dfdd0
feat: Add hidden property to CoinWallet model
willyfromtheblock Jun 8, 2024
c1c81ec
feat: Add 'Hide Wallet' option to wallet menu
willyfromtheblock Jun 8, 2024
dc5231e
feat: Update import paths for wallet_home_qr.dart in multiple files, …
willyfromtheblock Jun 9, 2024
75e8294
feat: Add hide and show options for hidden wallets
willyfromtheblock Jun 9, 2024
92a3981
feat: Add visibility toggle for hidden wallets
willyfromtheblock Jun 9, 2024
a5b53f2
feat: Add delete wallet functionality and bottom sheet for watch-only…
willyfromtheblock Jun 9, 2024
0feef5c
changelog
willyfromtheblock Jun 9, 2024
aaf66be
feat: Add e2e tests for watch only wallet creation and deletion, and …
willyfromtheblock Jun 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### **1.3.0** (2024-06-09)

- Show transaction confirmation: fix bug where some outputs were not displayed correctly
- Allow hiding of wallets in wallet list
- Allow watch-only wallets to be deleted

### **1.2.9** (2024-05-30)

- Show transaction id for finalized transactions in transaction signing flow
Expand Down
12 changes: 9 additions & 3 deletions assets/translations/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
"sign_step_1_button_alt": "Lave om",
"sign_step_2": "Indtast Besked",
"sign_step_3": "Underskriv Besked",
"sign_step_3_description": "Dette er din signatur. Du kan trykke to gange for at kopiere den til udklipsholderen.",
"sign_step_3_description": "Dette er din signatur.",
"sign_step_3_button": "Underskriv",
"sign_step_3_button_alt": "Kopier signatur til udklipsholder",
"sign_snack_text": "$address valgt",
Expand Down Expand Up @@ -507,12 +507,18 @@
"wallet_pop_menu_signing_transactions": "Underskriv Transaktion",
"sign_transaction_step_1_description": "Vælg den adresse, der skal underskrive transaktionen",
"sign_transaction_step_3": "Underskriv Transaktion",
"sign_transaction_step_3_description": "Dette er din underskrevne transaktionshex. Du kan trykke to gange for at kopiere det til udklipsholderen.",
"sign_transaction_step_3_description": "Underskrevet transaktionshex",
"sign_transaction_input_selector_title": "Vælg hvilke input der skal signeres",
"sign_transaction_signing_failed": "Transaktionssignering mislykkedes.",
"sign_transaction_step_1_copy_pubkey": "Kopier den offentlige nøgle til udklipsholderen",
"sign_transaction_confirmation_input_signed": "Underskrevet",
"sign_transaction_inputs": "Input",
"sign_transaction_confirmation_title": "Gennemgå transaktionen",
"sign_transaction_confirmation_input_unsigned": "Ikke underskrevet"
"sign_transaction_confirmation_input_unsigned": "Ikke underskrevet",
"sign_transaction_confirmation_dialog_title": "Udsende Transaktion",
"sign_transaction_confirmation_dialog_content": "Bekræft venligst, at du ønsker at udsende denne transaktion.",
"sign_transaction_confirmation_broadcast": "Udsende",
"sign_transaction_confirmation_broadcast_snack": "Udsendelse af transaktion forsøgt",
"sign_transaction_confirmation_transaction_id": "Transaktions ID",
"double_tap_to_copy": "Du kan trykke to gange for at kopiere teksten."
}
17 changes: 16 additions & 1 deletion assets/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -346,5 +346,20 @@
"verify_input_label_address": "Zu überprüfende Adresse",
"verify_input_label_signature": "Unterschrift zur Überprüfung",
"verify_success": "Nachricht bestätigt.",
"verify_fail": "Die Nachricht konnte nicht überprüft werden."
"verify_fail": "Die Nachricht konnte nicht überprüft werden.",
"sign_transaction_confirmation_input_signed": "signiert",
"sign_transaction_confirmation_input_unsigned": "nicht signiert",
"search_address": "Adresse suchen",
"wallet_scan_notice_new": "Dies könnte eine Weile dauern.\nDieses Fenster schliesst sich automatisch!",
"app_settings_experimental_features": "Experimentelle Funktionen",
"app_settings_experimental_feature_watchOnlyWallets": "Nur beobachtbare Wallets",
"watch_only": "nur beobachten",
"addresses_none": "keine Adressen gefunden",
"currency_AED": "Vereinigte Arabische Emirate Dirham",
"currency_AFN": "Afghanischer Afghani",
"currency_CHF": "Schweizer Franken",
"app_settings_language_search": "Suche Sprache",
"app_settings_wallet_order": "Wallet Reihenfolge",
"app_settings_price_feed_search": "Sprachcode suchen",
"wallet_pop_menu_signing_transactions": "Transaktion signieren"
}
12 changes: 11 additions & 1 deletion assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -520,5 +520,15 @@
"sign_transaction_confirmation_dialog_title": "Broadcast Transaction",
"sign_transaction_confirmation_dialog_content": "Please confirm that you want to broadcast this transaction.",
"sign_transaction_confirmation_transaction_id": "Transaction id",
"double_tap_to_copy": "You may double tap to copy the text."
"double_tap_to_copy": "You may double tap to copy the text.",
"hide_wallet": "Hide Wallet",
"hide_wallet_action": "Hide",
"unhide_wallet": "Unhide Wallet",
"unhide_wallet_action": "Unhide",
"hide_wallet_description": "This will hide the wallet from the wallet list. Hidden wallets available on the bottom of the list. You can unhide it anytime.",
"unhide_wallet_description": "This will unhide the wallet and show it in the wallet list again.",
"hide_hidden_wallets_list": "Hide $nOfHiddenWallets Hidden Wallets",
"show_hidden_wallets_list": "Show $nOfHiddenWallets Hidden Wallets",
"delete_wallet": "Delete Wallet",
"delte_wallet_description": "This will delete the wallet and all its data. You can't undo this action."
}
12 changes: 9 additions & 3 deletions assets/translations/is.json
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
"sign_step_1_button_alt": "Breyta",
"sign_step_2": "Sláðu inn skilaboð",
"sign_step_3": "Undirrita skilaboð",
"sign_step_3_description": "Þetta er undirskriftin þín. Þú getur tvöfalt ýtt til að afrita hana í skyndiminnið.",
"sign_step_3_description": "Þetta er undirskriftin þín.",
"sign_step_3_button": "Undirrita",
"verify_step_3_button": "Staðfesta",
"sign_step_3_button_alt": "Afrita undirskrift í skyndiminnið",
Expand Down Expand Up @@ -509,10 +509,16 @@
"sign_transaction_step_3": "Skrifaðu Undir Viðskipti",
"wallet_pop_menu_signing_transactions": "Skrifaðu Undir Viðskipti",
"sign_transaction_step_1_description": "Veldu heimilisfangið sem mun skrifa undir viðskiptin",
"sign_transaction_step_3_description": "Þetta er undirritaður viðskipta hex. Þú getur tvípikkað til að afrita það á klemmuspjaldið.",
"sign_transaction_step_3_description": "Undirritaður viðskiptasex",
"sign_transaction_step_1_copy_pubkey": "Afritaðu opinberan lykil á klemmuspjald",
"sign_transaction_confirmation_input_signed": "Undirritaður",
"sign_transaction_confirmation_input_unsigned": "Ekki undirritaður",
"sign_transaction_inputs": "Inntak",
"sign_transaction_confirmation_title": "Vinsamlegast skoðaðu viðskiptin"
"sign_transaction_confirmation_title": "Vinsamlegast skoðaðu viðskiptin",
"sign_transaction_confirmation_dialog_title": "Útvarpsviðskipti",
"sign_transaction_confirmation_dialog_content": "Vinsamlegast staðfestu að þú viljir senda þessa færslu.",
"sign_transaction_confirmation_broadcast": "Útsending",
"sign_transaction_confirmation_broadcast_snack": "Reynt var að senda útsendingu",
"sign_transaction_confirmation_transaction_id": "Auðkenni viðskipta",
"double_tap_to_copy": "Þú getur tvípikkað til að afrita textann."
}
12 changes: 9 additions & 3 deletions assets/translations/nb_NO.json
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
"sign_step_1_button_alt": "Endre",
"sign_step_2": "Skriv Inn Melding",
"sign_step_3": "Signer Melding",
"sign_step_3_description": "Dette er din signatur. Du kan dobbelttrykke for å kopiere den til utklippstavlen.",
"sign_step_3_description": "Dette er din signatur.",
"sign_step_3_button": "Signer",
"sign_step_3_button_alt": "Kopier signaturen til utklippstavlen",
"sign_snack_text": "$address valgt",
Expand Down Expand Up @@ -509,10 +509,16 @@
"sign_transaction_input_selector_title": "Velg hvilke inputs som skal signeres",
"wallet_pop_menu_signing_transactions": "Signer Transaksjon",
"sign_transaction_step_1_description": "Velg adressen som skal signere transaksjonen",
"sign_transaction_step_3_description": "Dette er din signerte transaksjonshex. Du kan dobbelttrykke for å kopiere den til utklippstavlen.",
"sign_transaction_step_3_description": "Signert transaksjonshex",
"sign_transaction_step_1_copy_pubkey": "Kopier offentlig nøkkel til utklippstavlen",
"sign_transaction_confirmation_input_signed": "Signert",
"sign_transaction_confirmation_input_unsigned": "Ikke signert",
"sign_transaction_inputs": "Inputs",
"sign_transaction_confirmation_title": "Se gjennom transaksjonen"
"sign_transaction_confirmation_title": "Se gjennom transaksjonen",
"sign_transaction_confirmation_broadcast_snack": "Kringkasting av transaksjon forsøkt",
"sign_transaction_confirmation_dialog_title": "Kringkast Transaksjon",
"sign_transaction_confirmation_broadcast": "Kringkast",
"sign_transaction_confirmation_dialog_content": "Vennligst bekreft at du ønsker å kringkaste denne transaksjonen.",
"double_tap_to_copy": "Du kan dobbelttrykke for å kopiere teksten.",
"sign_transaction_confirmation_transaction_id": "Transaksjons-ID"
}
9 changes: 8 additions & 1 deletion assets/translations/ro.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,5 +473,12 @@
"currency_UZS": "Som Uzbec",
"currency_VUV": "Ni-Vanuatu Vatu",
"currency_WST": "Tala Samoaneză",
"currency_XAF": "Franc din Africa Centrală"
"currency_XAF": "Franc din Africa Centrală",
"currency_XPF": "Franc CFP",
"currency_XCD": "Dolarul din Caraibe de Est",
"currency_XOF": "Franc CFA din Africa de Vest",
"currency_YER": "Rial Yemenit",
"currency_ZAR": "Rand Sud-African",
"currency_ZMW": "Kwacha din Zambia",
"currency_ZWL": "Dolarul din Zimbabwe"
}
12 changes: 9 additions & 3 deletions assets/translations/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
"sign_step_1_button_alt": "Förändra",
"sign_step_2": "Ange Meddelande",
"sign_step_3": "Signera Meddelande",
"sign_step_3_description": "Det här är din signatur. Du kan dubbelklicka för att kopiera den till urklipp.",
"sign_step_3_description": "Det här är din signatur.",
"sign_step_3_button": "Signera",
"sign_step_3_button_alt": "Kopiera signatur till urklipp",
"sign_snack_text": "$address vald",
Expand Down Expand Up @@ -509,10 +509,16 @@
"wallet_pop_menu_signing_transactions": "Signera Transaktion",
"sign_transaction_step_1_description": "Välj adressen som ska signera transaktionen",
"sign_transaction_step_2": "Ange Transaktionshex",
"sign_transaction_step_3_description": "Detta är din undertecknade transaktionshex. Du kan dubbeltrycka för att kopiera den till urklipp.",
"sign_transaction_step_3_description": "Undertecknad transaktionshex",
"sign_transaction_step_1_copy_pubkey": "Kopiera den offentliga nyckeln till urklipp",
"sign_transaction_inputs": "Ingångar",
"sign_transaction_confirmation_input_signed": "Signerad",
"sign_transaction_confirmation_input_unsigned": "Ej signerad",
"sign_transaction_confirmation_title": "Se över transaktionen"
"sign_transaction_confirmation_title": "Se över transaktionen",
"sign_transaction_confirmation_dialog_title": "Utsänd Transaktion",
"sign_transaction_confirmation_broadcast": "Utsända",
"sign_transaction_confirmation_broadcast_snack": "Utsändning av transaktion försöktes",
"sign_transaction_confirmation_dialog_content": "Vänligen bekräfta att du vill utsända denna transaktion.",
"sign_transaction_confirmation_transaction_id": "Transaktions ID",
"double_tap_to_copy": "Du kan dubbelklicka för att kopiera texten."
}
1 change: 0 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -248,5 +248,4 @@ class PeercoinApp extends StatelessWidget {
),
);
}
//TODO add e2e tests for watch only wallet
}
12 changes: 12 additions & 0 deletions lib/models/hive/coin_wallet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ class CoinWallet extends HiveObject {
@HiveField(11, defaultValue: false)
bool _watchOnly = false;

@HiveField(12, defaultValue: false)
bool _hidden = false;

CoinWallet(
this._name,
this._title,
Expand Down Expand Up @@ -202,4 +205,13 @@ class CoinWallet extends HiveObject {
.removeWhere((element) => element.address == walletAddress.address);
save();
}

bool get hidden {
return _hidden;
}

set hidden(bool value) {
_hidden = value;
save();
}
}
9 changes: 6 additions & 3 deletions lib/models/hive/coin_wallet.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading