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

frontend: show the full text of long transaction notes #3070

Merged

Conversation

thisconnect
Copy link
Collaborator

Long transaction notes were only shown on one line and cut off by an ellipsis symbol.

Fixed by always showing the full transaction note and break onto multiple lines if necessary.

Transactions without notes show as a fallback a comment such as received to <address> which should only use one line and is cut off with an ellipsis...

@thisconnect
Copy link
Collaborator Author

Screenshot 2024-11-25 at 14 24 34 Screenshot 2024-11-25 at 14 24 23

@thisconnect thisconnect force-pushed the frontend-long-transaction-notes branch from 88284a8 to 44cdc3d Compare November 25, 2024 14:39
Copy link
Collaborator

@shonsirsha shonsirsha left a comment

Choose a reason for hiding this comment

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

Small Q

@@ -88,6 +89,8 @@
font-variant: tabular-nums;
}

.txAmount-send,
.txAmount-send_to_self {}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we remove these?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I should have commented 😇

they are dummy, if they don't exist we get class="undefined"

Long transaction notes were only shown on one line and cut off by
an ellipsis symbol.

Fixed by always showing the full transaction note and break onto
multiple lines if necessary.

Transactions without notes show as a fallback a comment such as
`received to <address>` which should only use one line and is cut
off with an ellipsis...
@thisconnect thisconnect force-pushed the frontend-long-transaction-notes branch from 44cdc3d to 549efd6 Compare November 26, 2024 13:26
Copy link
Collaborator

@shonsirsha shonsirsha left a comment

Choose a reason for hiding this comment

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

LGTM. thanks.

@thisconnect thisconnect merged commit 1b77204 into BitBoxSwiss:master Nov 26, 2024
6 of 7 checks passed
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