Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

feat(ui): implement activity item error dialog #2584

Merged
merged 6 commits into from
Jul 24, 2019

Conversation

korhaliv
Copy link
Member

Description:

Resolves #2580

How Has This Been Tested?

Manually

Screenshots (if appropriate):

image

Types of changes:

UX enhancement

Checklist:

  • My code follows the code style of this project.
  • I have reviewed and updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes where needed.
  • All new and existing tests passed.
  • My commits have been squashed into a concise set of changes.

@korhaliv korhaliv added this to the v0.6.0-beta milestone Jul 15, 2019
@korhaliv korhaliv requested a review from mrfelton July 15, 2019 13:46
@korhaliv korhaliv self-assigned this Jul 15, 2019
@coveralls
Copy link

coveralls commented Jul 15, 2019

Coverage Status

Coverage decreased (-0.02%) to 20.122% when pulling 9f07a74 on korhaliv:feat/activity-error-desc into ba74e0a on LN-Zap:next.

Copy link
Member

@mrfelton mrfelton left a comment

Choose a reason for hiding this comment

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

This needs a couple of tweaks IMO

  1. it's not obvious it's a link or where you can/should click

  2. The cursor needs to change to the pointer on hover which would as help identify it as a link

  3. If we are going to use a dialog, the title of the dialog should probably not be An error has occurred - that makes me think an unrelated error occurred caused by me clicking on the link
    There was a problem sending your payment would be a better title

But actually I'm not convinced that a dialog is the best way to display this.

The dialog pattern feels more appropriate to display details of an error that just happened, rather than for retroactively displaying details about errors that happened in the past.

@korhaliv korhaliv force-pushed the feat/activity-error-desc branch from 5af9224 to ffef774 Compare July 23, 2019 16:41
@korhaliv korhaliv requested a review from mrfelton July 23, 2019 16:43
Copy link
Member

@mrfelton mrfelton left a comment

Choose a reason for hiding this comment

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

Code looks good and works well. I have 2 change requests though:

  1. The cursor should change to a pointer on hover to make it more obvious that you can click on the text.

  2. I don't think the modal should auto close when you copy the text. I asked to copy the error message, not close the window and by having the window closed automatically I now have to find the item in the activity list and click on it again to get back to where I was.

@korhaliv korhaliv force-pushed the feat/activity-error-desc branch from ffef774 to 9f07a74 Compare July 24, 2019 08:28
@korhaliv korhaliv requested a review from mrfelton July 24, 2019 08:28
@korhaliv
Copy link
Member Author

@mrfelton updated

Copy link
Member

@mrfelton mrfelton left a comment

Choose a reason for hiding this comment

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

Tested ACK 9f07a74

@mrfelton mrfelton merged commit a5afe34 into LN-Zap:next Jul 24, 2019
@mrfelton mrfelton added type: enhancement New feature or request and removed type: enhancement labels Sep 4, 2019
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants