Skip to content

feat: export transaction history and show xpub (NMA-1257) - #931

Merged
HashEngineering merged 7 commits into
masterfrom
feature-export-csv
Apr 22, 2022
Merged

HashEngineering merged 7 commits into
masterfrom
feature-export-csv

Conversation

@HashEngineering

Copy link
Copy Markdown
Collaborator

Issue being fixed or feature implemented

Related PR's and Dependencies

Screenshots / Videos

How Has This Been Tested?

  • QA (Mobile Team)

Checklist:

  • I have performed a self-review of my own code and added comments where necessary
  • I have added or updated relevant unit/integration/functional/e2e tests

@HashEngineering HashEngineering self-assigned this Apr 15, 2022
Comment on lines +59 to +62
public abstract class ExportTransactionHistoryDialogBuilder extends BaseAlertDialogBuilder {
private final Activity context;

private final EditText viewDescription;

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is copied from CrashReporterDialogBuilder. Some things are removed that are not needed.

Future designs will eliminate the need for this dialog, but the code that is related to sharing an attachment with the transaction history will still be needed.

I suggest that we can update, refactor or rewrite the code related to exporting files in the story will be adding the UI and associated features.

Comment on lines +103 to +106
private fun showExtendedPublicKeyDialog(xpubWithCreationDate: String, xpub: String) {
val view = LayoutInflater.from(this).inflate(R.layout.extended_public_key_dialog, null)
val bitmap = BitmapDrawable(
resources, Qr.bitmap(xpubWithCreationDate)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the old dialog from version 6 of Dash Wallet with one change to add the xpub text under the QR code.

@HashEngineering
HashEngineering requested a review from Syn-McJ April 20, 2022 16:01

@Syn-McJ Syn-McJ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

alertDialog = baseAlertDialogBuilder.buildAlertDialog()
alertDialog.show()

AdaptiveDialog

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You lost this :) Shouldn't affect anything I guess

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for finding this, I was considering how I might use an AdaptiveDialog here, but forgot to delete this line. I will delete it and get a build for QA.

@HashEngineering
HashEngineering merged commit e404b8c into master Apr 22, 2022
@HashEngineering
HashEngineering deleted the feature-export-csv branch May 19, 2022 14:22
bfoss765 added a commit that referenced this pull request Aug 11, 2026
…oled surface

dash-sdk-android 0.1.0-v41int18 -> v41int19 (platform#4329 pooled funding on
rust-dashcore 8f26456b: ALL_SPENDABLE account type through Rust/FFI/JNI/Kotlin,
sendToAddresses/buildSignedPayment defaults flipped; carries #931 dedup, #915,
#925 add_funding, #929 contact-account funding, #918 AddressState).

CoreSendAllNative migrates off the v1 split surface (#4323 deprecated
setFunding$sdk_release/buildSigned$sdk_release — the split is not
concurrency-safe): the drain now runs new -> addOutput ->
setSelectionStrategy(ALL) -> finalizeAtomic$sdk_release (atomic
select+reserve+sign under the wallet-manager lock) -> ManagedCoreWallet
.broadcastTransaction(FinalizedCoreTransaction).

The user-facing send-all now drains the pooled ALL_SPENDABLE set (BIP44 +
BIP32 + every DashPay receival account in ONE transaction); the CoinJoin
drain stays pinned to the COIN_JOIN account — de-mixing remains a separate,
explicit flow.

Co-Authored-By: Claude Fable 5 <[email protected]>
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