Skip to content

Commit

Permalink
1.3.0 (#259)
Browse files Browse the repository at this point in the history
* Translated using Weblate (German)

Currently translated at 69.6% (362 of 520 strings)

Translation: Peercoin Flutter/Translations
Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/de/

* Translated using Weblate (Romanian)

Currently translated at 92.6% (482 of 520 strings)

Translation: Peercoin Flutter/Translations
Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/ro/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (520 of 520 strings)

Translation: Peercoin Flutter/Translations
Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/nb_NO/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (520 of 520 strings)

Translation: Peercoin Flutter/Translations
Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/sv/

* Translated using Weblate (Danish)

Currently translated at 100.0% (520 of 520 strings)

Translation: Peercoin Flutter/Translations
Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/da/

* Translated using Weblate (Icelandic)

Currently translated at 100.0% (520 of 520 strings)

Translation: Peercoin Flutter/Translations
Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/is/

* version bump

* feat: Add scrollIntoView for 'Broadcast' button in key_new.dart

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (522 of 522 strings)

Translation: Peercoin Flutter/Translations
Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/nb_NO/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (522 of 522 strings)

Translation: Peercoin Flutter/Translations
Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/sv/

* Translated using Weblate (Danish)

Currently translated at 100.0% (522 of 522 strings)

Translation: Peercoin Flutter/Translations
Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/da/

* Translated using Weblate (Icelandic)

Currently translated at 100.0% (522 of 522 strings)

Translation: Peercoin Flutter/Translations
Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/is/

* sign transaction confirmation: fix bug for double entries of the same target address in outputs

* chore: Update CHANGELOG.md with correct release date for version 1.3.0

* feat: Add hidden property to CoinWallet model

* feat: Add 'Hide Wallet' option to wallet menu

* feat: Update import paths for wallet_home_qr.dart in multiple files, allow wallets to be hidden and unhidden

* feat: Add hide and show options for hidden wallets

* feat: Add visibility toggle for hidden wallets

* feat: Add delete wallet functionality and bottom sheet for watch-only wallets

* changelog

* feat: Add e2e tests for watch only wallet creation and deletion, and hide/unhide functionality

---------

Co-authored-by: Nathanael Rychen <[email protected]>
Co-authored-by: Marius Kjærstad <[email protected]>
  • Loading branch information
3 people authored Jun 9, 2024
1 parent eaeb540 commit 6e02627
Show file tree
Hide file tree
Showing 28 changed files with 1,697 additions and 1,232 deletions.
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

0 comments on commit 6e02627

Please sign in to comment.