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
Format transactions row and details #582
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AboutIcon, DebugIcon, VerifyMessageIcon, LocationPinIcon, AlertGray, ArrowDownIcon, | ||
WatchOnlyWalletIcon, CurrencySwapIcon, SyncingIcon, ProposalIconActive, ProposalIconInactive, | ||
Restore, DocumentationIcon, DownloadIcon, TimerIcon, TicketIcon, TicketIconInactive, StakeyIcon, | ||
List, ListGridIcon, DecredSymbolIcon *widget.Image | ||
List, ListGridIcon, DecredSymbolIcon, DecredSymbol2 *widget.Image |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename DecredSymbol2
to DecredSymbolIconTwo
ImportedAccountIcon, AccountIcon, EditIcon, expandIcon, CopyIcon, mixer, MixerSmall, | ||
ArrowForwardIcon, TransactionFingerPrintIcon, SettingsIcon, SecurityIcon, HelpIcon, | ||
ImportedAccountIcon, AccountIcon, EditIcon, expandIcon, CopyIcon, MixedTx, mixer, MixerSmall, | ||
ArrowForwardIcon, Next, TransactionFingerPrintIcon, SettingsIcon, SecurityIcon, HelpIcon, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Next
to NextIcon
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's redundant to have Icon
in the variable since the struct name already contains that.
@@ -40,14 +40,14 @@ type Icons struct { | |||
ImageBrightness1, ContentClear, DropDownIcon, Cached, ContentRemove *widget.Icon | |||
|
|||
OverviewIcon, OverviewIconInactive, WalletIcon, WalletIconInactive, | |||
ReceiveIcon, TransactionIcon, TransactionIconInactive, SendIcon, MoreIcon, MoreIconInactive, | |||
ReceiveIcon, Transferred, TransactionIcon, TransactionIconInactive, SendIcon, MoreIcon, MoreIconInactive, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Transferred
to TransferredIcon
ui/page/transaction_details_page.go
Outdated
func (pg *TransactionDetailsPage) separator(gtx layout.Context) layout.Dimensions { | ||
m := values.MarginPadding5 | ||
return layout.Inset{Top: m, Bottom: m}.Layout(gtx, pg.theme.Separator().Layout) | ||
return pg.theme.Separator().Layout(gtx) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this separator wrapper needed?
* Format transactions row for various tx types * transactions: add mixed transaction type to dropdown selector * transactions: display denomination and mix count for mixed transactions * Support formatting amount with different text sizes and scale * transactions: display mix denomination in transaction row * transactions: show number of days ticket took to vote or revoke * transactions: show vote reward and ticket price price for stake transactions * tx details: add button to view associated ticket * tx detais: fix padding and margins for rows and page sections * tx details: show ticket status, days to vote and vote reward * tx details: add maturity progress bar * Remove redundant seperator function
Closes #561