Describe your bug or feature request.

I noticed today that it didn’t make sense to have the order balance tucked over on the sidebar with order timestamps. With a slight revision to the payment details in the billing information card, we can condense the information there and include the balance like so:


Aside from the balance moving in here, there are two other key changes.

We’re clearly signaling this is only showing the most recent payment.

The payment state in parentheses uses the dotted underline to signal a tooltip is visible on hover that shows the changed timestamp of the last payment.


One thought is that it does take a while for tooltips to appear. I’m wondering if Ivan Buisic or anyone else knows of a library that could regard these like links that when clicked would cause the tooltip to appear. Maybe there’s no way to force that via JS without a third-party tooltip library. If not, no worries - the goal would be to maintain the browser tooltip, and I’m going to open another ticket to add a link here to the payments tab for people who are too impatient to wait on the tooltip to use instead.

Issue fork commerce-3564785

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jsacksick created an issue. See original summary.

jsacksick’s picture

Pushed my WIP, we need to add the tooltip etc...

majmunbog made their first commit to this issue’s fork.

  • jsacksick committed 98172d32 on 3.x
    feat: #3564785 Revise the payment details to include the balance
    
    By:...
jsacksick’s picture

Status: Active » Fixed

As part of this work, a created and changed fields were added to payments.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • jsacksick committed b7f6ab67 on 3.x
    #3564785 followup: Move the parenthesis outside of the <span> element.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.