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

Receive: selected address details on top; click on QR code to ampliate; click on description to edit; display full address; use standard button for create new address #3580

Merged
merged 1 commit into from Jul 6, 2021

Conversation

rating89us
Copy link
Contributor

@rating89us rating89us commented Jun 21, 2021

closes #2610

Changes:

  • Selected address details on top (QR code, address #, description, full address).
  • Left click on QR code: increase/decrease QR code size
  • Right click on QR code: display "Save as Image" option
  • Click on description: edit description
  • Display full address
  • Click on full address: copy address to clipboard
  • Removed "Save as image" button
  • Display last created address first on addresses list
  • Create new address: use standard (orange) button; move to the top.

image

@selsta
Copy link
Collaborator

selsta commented Jun 21, 2021

Removed "Save as image" button

Why? This can be useful. At least add it to the context menu when right clicking on the QR code. Otherwise looks good.

@rating89us
Copy link
Contributor Author

rating89us commented Jun 21, 2021

At least add it to the context menu when right clicking on the QR code.

Done

@selsta
Copy link
Collaborator

selsta commented Jun 21, 2021

One thing I'm not sure yet is that opening the page always selects the latest subaddress and also that the sort order is reverse (newest to oldest).

I kinda makes sense but I found it a bit confusing at first.

@rating89us
Copy link
Contributor Author

rating89us commented Jun 21, 2021

opening the page always selects the latest subaddress

Instead of displaying a QR code + address when opening the page, we could display a question:

  • Receiving from someone you received before? Select an address from the list.
  • Receiving from a new person? Click on Create new address button

Or we don't display any QR code + address and just display the addresses list.

@rating89us
Copy link
Contributor Author

rating89us commented Jun 22, 2021

Here is an example of what I meant on the comment above.
With this UI we educate users that every entity we're receiving from should have its own receiving address in the wallet.
We could also create options in Settings > Interface: Always create a new address when opening Receive page" and "Always display address list when opening Receive page").

reusevscreatenew

@selsta
Copy link
Collaborator

selsta commented Jun 22, 2021

I don't know yet, I don't like the idea of having a separate page and something when clicking on "Receive", it feels a bit clunky. Though I don't have a different suggestion currently. Maybe for this PR we can keep undo

One thing I'm not sure yet is that opening the page always selects the latest subaddress and also that the sort order is reverse (newest to oldest).

and then the other changes can be done later when this is merged so that we don't keep this PR stuck.

@rating89us rating89us changed the title Receive: selected address details on top; display last created address first; use standard button for create new address Receive: selected address details on top; click on QR code to ampliate; click on description to edit; display full address; use standard button for create new address Jun 23, 2021
@selsta
Copy link
Collaborator

selsta commented Jun 25, 2021

Screenshot 2021-06-25 at 02 10 48

Intentional? I think it looks better centered.

@rating89us
Copy link
Contributor Author

No, I'm trying to fix the width of these two lines (address and label) for Windows, but removed the center alignment.

pages/Receive.qml Outdated Show resolved Hide resolved
pages/Receive.qml Show resolved Hide resolved
pages/Receive.qml Outdated Show resolved Hide resolved
pages/Receive.qml Outdated Show resolved Hide resolved
@rating89us
Copy link
Contributor Author

fixed your comments and added tooltips to label and address

@selsta
Copy link
Collaborator

selsta commented Jun 25, 2021

Please squash.

@rating89us
Copy link
Contributor Author

I'm trying to fix the center alignment on windows, but could't do it. Do you have any ideas?
image

@selsta
Copy link
Collaborator

selsta commented Jun 25, 2021

Which Qt version?

@rating89us
Copy link
Contributor Author

windows 7 GUI 0.17.2.2-83-g3acc24ea (Qt 5.15.2)

@selsta
Copy link
Collaborator

selsta commented Jun 25, 2021

Weird, I don't have this on Mac with the same Qt version.

@selsta
Copy link
Collaborator

selsta commented Jun 25, 2021

@rating89us try https://doc.qt.io/qt-5/qml-qtquick-text.html#horizontalAlignment-prop

also play around with wrap mode, layout.fillWidth: true, etc.

…ight click to save as image; click on description to edit; display full address; use standard button for "create new address"
@rating89us
Copy link
Contributor Author

fixed

@luigi1111 luigi1111 merged commit b4e6f20 into monero-project:master Jul 6, 2021
@rating89us rating89us deleted the patch-101 branch July 6, 2021 18:52
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.

Full address is never displayed
3 participants