Skip to content

charts - #3162

Draft
malik1004x wants to merge 52 commits into
devfrom
charts
Draft

charts#3162
malik1004x wants to merge 52 commits into
devfrom
charts

Conversation

@malik1004x

Copy link
Copy Markdown
Contributor

Issue Number (if Applicable): Fixes #

Description

Adds the Charts page to the app. Includes model and bloc for interacting with the prices API as well as cache in the local SQLite database.

Pull Request - Checklist

  • Initial Manual Tests Passed
  • Double check modified code and verify it with the feature/task requirements
  • Format code
  • Look for code duplication
  • Clear naming for variables and methods
  • Manual tests in accessibility mode (TalkBack on Android) passed

# Conflicts:
#	cw_core/lib/crypto_currency.dart
#	cw_core/lib/currency.dart
#	cw_core/lib/db/sqlite.dart
#	cw_core/lib/output_info.dart
#	lib/di.dart
#	lib/entities/default_settings_migration.dart
#	lib/entities/fiat_currency.dart
#	lib/main.dart
#	lib/src/screens/buy/buy_sell_page.dart
#	pubspec_base.yaml
#	res/values/strings_en.arb
#	res/values/strings_hi.arb
# Conflicts:
#	cw_core/lib/format_fixed.dart
#	cw_core/lib/lnurl.dart
#	cw_monero/lib/api/wallet.dart
#	cw_monero/lib/monero_wallet_service.dart
#	cw_solana/lib/solana_client.dart
#	lib/cake_pay/src/widgets/rounded_overlay_cards_widget.dart
#	lib/di.dart
#	lib/new-ui/pages/receive_page.dart
#	lib/new-ui/pages/send_page.dart
#	lib/new-ui/widgets/coins_page/assets_history/assets_history_section.dart
#	lib/new-ui/widgets/coins_page/assets_history/transaction_details_modal.dart
#	lib/new-ui/widgets/send_page/fiat_amount_bar.dart
#	lib/new-ui/widgets/send_page/send_amount_input.dart
#	lib/solana/cw_solana.dart
#	lib/src/screens/connect_device/connect_device_page.dart
#	lib/src/screens/dashboard/pages/balance/crypto_balance_widget.dart
#	lib/src/screens/settings/display_settings_page.dart
#	lib/src/screens/transaction_details/rbf_details_page.dart
#	lib/view_model/hardware_wallet/hardware_wallet_view_model.dart
#	lib/view_model/hardware_wallet/ledger_view_model.dart
#	lib/view_model/send/send_view_model.dart
#	lib/view_model/transaction_details_view_model.dart
#	lib/view_model/wallet_address_list/wallet_address_list_view_model.dart
#	lib/zcash/cw_zcash.dart
#	pubspec_base.yaml
# Conflicts:
#	lib/entities/default_settings_migration.dart
#	lib/main.dart
#	lib/new-ui/pages/send_page.dart
#	lib/new-ui/widgets/coins_page/action_row/coin_action_button.dart
#	lib/new-ui/widgets/coins_page/assets_history/transaction_details_modal.dart
#	lib/new-ui/widgets/send_page/send_amount_input.dart
#	res/values/strings_en.arb
Comment thread lib/new-ui/model/charts/util/price_change_data.dart Outdated
Comment thread lib/new-ui/model/charts/price_data.dart
@konstantinullrich

Copy link
Copy Markdown
Contributor

Also where are the tests?

# Conflicts:
#	lib/entities/default_settings_migration.dart
#	res/values/strings_ar.arb
#	res/values/strings_bg.arb
#	res/values/strings_cs.arb
#	res/values/strings_de.arb
#	res/values/strings_es.arb
#	res/values/strings_fa.arb
#	res/values/strings_fr.arb
#	res/values/strings_gn.arb
#	res/values/strings_ha.arb
#	res/values/strings_hi.arb
#	res/values/strings_hr.arb
#	res/values/strings_hy.arb
#	res/values/strings_id.arb
#	res/values/strings_it.arb
#	res/values/strings_ja.arb
#	res/values/strings_ko.arb
#	res/values/strings_my.arb
#	res/values/strings_nl.arb
#	res/values/strings_pl.arb
#	res/values/strings_pt.arb
#	res/values/strings_ru.arb
#	res/values/strings_th.arb
#	res/values/strings_tl.arb
#	res/values/strings_tr.arb
#	res/values/strings_uk.arb
#	res/values/strings_ur.arb
#	res/values/strings_vi.arb
#	res/values/strings_yo.arb
#	res/values/strings_zh.arb
# Conflicts:
#	cw_core/lib/db/sqlite.dart
#	lib/di.dart
#	pubspec_base.yaml
# Conflicts:
#	res/values/strings_de.arb
@github-actions

Copy link
Copy Markdown

changes in dependencies

changed git refs:
  breez_sdk_spark_flutter
    url   https://github.com/breez/breez-sdk-spark-flutter -> https://github.com/breez/breez-sdk-spark-flutter
    ref   5943a3e773203f21728f87f1c0779040db8f2c28 -> e18b6437daaf0572de6aea2439c2ec4d22658bbb
    path  - -> -
     android/build.gradle                               |    21 +-
     .../breez/spark/BreezSdkSparkPasskeyPlugin.kt      |   274 -
     .../spark/passkey/core/CredentialManagerPrfCore.kt |   955 -
     ios/Classes/BreezSdkSparkPasskeyPlugin.swift       |   217 -
     ios/Classes/PasskeyAssertionCore.swift             |   881 -
     ios/Classes/PasskeyPRFHelper.h                     |    52 -
     ios/Classes/PasskeyPRFHelper.m                     |    73 -
     ios/breez_sdk_spark_flutter.podspec                |     3 +-
     lib/breez_sdk_spark.dart                           |     4 +-
     lib/src/config_extensions.dart                     |    14 +-
     lib/src/passkey_client.dart                        |   109 -
     lib/src/passkey_prf_provider.dart                  |   245 -
     lib/src/rust/connection_manager.dart               |    18 +
     lib/src/rust/errors.dart                           |    36 +-
     lib/src/rust/errors.freezed.dart                   |   917 +-
     lib/src/rust/events.dart                           |    22 +-
     lib/src/rust/events.freezed.dart                   |   330 +-
     lib/src/rust/frb_generated.dart                    |  8141 ++------
     lib/src/rust/frb_generated.io.dart                 |  2063 +-
     lib/src/rust/models.dart                           |  2002 +-
     lib/src/rust/models.freezed.dart                   | 11935 +++--------
     lib/src/rust/passkey.dart                          |    88 +-
     lib/src/rust/sdk.dart                              |    85 +-
     lib/src/rust/sdk_builder.dart                      |    26 +-
     ...dk_context.dart => ssp_connection_manager.dart} |    11 +-
     macos/breez_sdk_spark_flutter.podspec              |     2 +-
     pubspec.yaml                                       |     5 +-
     rust/Cargo.lock                                    |  1966 +-
     rust/Cargo.toml                                    |     6 +-
     rust/src/connection_manager.rs                     |    28 +
     rust/src/errors.rs                                 |    35 +-
     rust/src/events.rs                                 |    11 +-
     rust/src/exit_signer.rs                            |    35 -
     rust/src/frb_generated.rs                          | 20388 ++++++-------------
     rust/src/lib.rs                                    |     7 +-
     rust/src/models.rs                                 |   861 +-
     rust/src/passkey.rs                                |   339 +-
     rust/src/sdk.rs                                    |   176 +-
     rust/src/sdk_builder.rs                            |    53 +-
     rust/src/sdk_context.rs                            |    30 -
     rust/src/session_manager.rs                        |    63 +
     rust/src/ssp_connection_manager.rs                 |    20 +
     42 files changed, 11219 insertions(+), 41328 deletions(-)

# Conflicts:
#	cw_core/lib/db/sqlite.dart
#	lib/entities/default_settings_migration.dart
#	lib/new-ui/new_dashboard.dart
#	lib/new-ui/page_open_listener.dart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants