Skip to content

ValueInput "EMPTY" state#256

Merged
hebasto merged 1 commit into
bitcoin-core:mainfrom
jarolrod:valinput-empty-state
Feb 27, 2023
Merged

ValueInput "EMPTY" state#256
hebasto merged 1 commit into
bitcoin-core:mainfrom
jarolrod:valinput-empty-state

Conversation

@jarolrod
Copy link
Copy Markdown
Contributor

@jarolrod jarolrod commented Feb 11, 2023

This adds an "EMPTY" state to ValueInput, as specified in the design file.

This state is only added to ValueInput because the Setting control should not care about this. All other states continue to function as normal*.

Light

EMPTY FILLED HOVER ACTIVE
Screen Shot 2023-02-10 at 5 26 04 PM Screen Shot 2023-02-10 at 5 24 42 PM Screen Shot 2023-02-10 at 5 24 57 PM Screen Shot 2023-02-10 at 5 25 18 PM

Dark

EMPTY FILLED HOVER ACTIVE
Screen Shot 2023-02-10 at 5 23 43 PM Screen Shot 2023-02-10 at 5 24 00 PM Screen Shot 2023-02-10 at 5 24 11 PM Screen Shot 2023-02-10 at 5 24 28 PM

*the Setting control loses the active state when the mouse moves away from it, will be addressed in a follow-up.

Windows
Intel macOS
Apple Silicon macOS
ARM64 Android

@jarolrod
Copy link
Copy Markdown
Contributor Author

Updated from e7a6997 to 26aa64c, compare

changes: rebased over main and resolved conflicts

@hebasto
Copy link
Copy Markdown
Member

hebasto commented Feb 16, 2023

Based on #255

It has just been merged. Rebase?

@jarolrod
Copy link
Copy Markdown
Contributor Author

Updated from 26aa64c to 85d4cf0, compare

changes: rebased over main

@jarolrod
Copy link
Copy Markdown
Contributor Author

Updated from 85d4cf0 to 1a7c3ce, compare

Changes:

@hebasto
Copy link
Copy Markdown
Member

hebasto commented Feb 22, 2023

based on #271

#271 has just been merged.

The EMPTY state indicates that this setting hasn't been touched.
Clicking on the Setting that contains the ValueInput is enough to put
it in the FILLED state.
@jarolrod jarolrod force-pushed the valinput-empty-state branch from 1a7c3ce to 003f174 Compare February 22, 2023 08:27
@jarolrod
Copy link
Copy Markdown
Contributor Author

Updated from 1a7c3ce to 003f174, compare

Changes: rebased over main

@GBKS
Copy link
Copy Markdown
Contributor

GBKS commented Feb 27, 2023

ACK 003f174

@hebasto hebasto merged commit 655365b into bitcoin-core:main Feb 27, 2023
johnny9 pushed a commit to johnny9/bitcoin-core-app that referenced this pull request Jul 4, 2025
07c62ee qml: add EMPTY state to ValueInput (jarolrod)

Pull request description:

  This adds an `"EMPTY"` state to `ValueInput`, as specified in the [design file](https://www.figma.com/file/ek8w3n3upbluw5UL2lGhRx/Bitcoin-Core-App-Design?node-id=6079%3A166395&t=zvbm4HW9rxQf4iBb-4).

  This state is only added to `ValueInput` because the `Setting` control should not care about this. All other states continue to function as normal*.

  ### Light

  | EMPTY | FILLED | HOVER | ACTIVE |
  | ----- | ------ | ----- | ------ |
  | <img width="463" alt="Screen Shot 2023-02-10 at 5 26 04 PM" src="https://user-images.githubusercontent.com/23396902/218226249-e1ce6012-33d5-4362-bd1e-7620bbe9ed85.png"> | <img width="463" alt="Screen Shot 2023-02-10 at 5 24 42 PM" src="https://user-images.githubusercontent.com/23396902/218226265-94b2d5ae-fb7e-41b1-a477-3e9cdc7f9b95.png"> | <img width="463" alt="Screen Shot 2023-02-10 at 5 24 57 PM" src="https://user-images.githubusercontent.com/23396902/218226276-c3fbd0a4-08fc-4302-afe6-c3b187cb4095.png"> | <img width="463" alt="Screen Shot 2023-02-10 at 5 25 18 PM" src="https://user-images.githubusercontent.com/23396902/218226286-4cd43650-9121-4899-9bab-4d844e1efb03.png"> |

  ### Dark

  | EMPTY | FILLED | HOVER | ACTIVE |
  | ----- | ------ | ----- | ------ |
  | <img width="463" alt="Screen Shot 2023-02-10 at 5 23 43 PM" src="https://user-images.githubusercontent.com/23396902/218226406-9be869ee-0eb1-412c-b5ed-426d35ca9341.png"> | <img width="463" alt="Screen Shot 2023-02-10 at 5 24 00 PM" src="https://user-images.githubusercontent.com/23396902/218226415-59b2c42d-80e4-4a6d-a7dc-631a7f195ce9.png"> | <img width="463" alt="Screen Shot 2023-02-10 at 5 24 11 PM" src="https://user-images.githubusercontent.com/23396902/218226432-34b6cc5f-e0d0-48e1-af11-a2e59d0bd0e5.png"> | <img width="463" alt="Screen Shot 2023-02-10 at 5 24 28 PM" src="https://user-images.githubusercontent.com/23396902/218226448-d0c801a8-c232-449a-82e7-282108e9e44a.png"> |

  *the Setting control loses the active state when the mouse moves away from it, will be addressed in a follow-up.

  [![Windows](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/insecure_win_gui.zip?branch=pull/256)
  [![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/insecure_mac_gui.zip?branch=pull/256)
  [![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/insecure_mac_arm64_gui.zip?branch=pull/256)
  [![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/256)

ACKs for top commit:
  GBKS:
    ACK 07c62ee

Tree-SHA512: bc6584cbf75e36ac6b4e944822756861159d6a5b355342e91e915c3c69562fd7b819a68dbe28904bf9fbacf825c57858386cc7b83680844e0625f0fdd304bee6
tx-signer450 added a commit to tx-signer450/gui-qml that referenced this pull request Oct 20, 2025
07c62ee06b208ffe6abcdc18d9997d6fa0e1a7c4 qml: add EMPTY state to ValueInput (jarolrod)

Pull request description:

  This adds an `"EMPTY"` state to `ValueInput`, as specified in the [design file](https://www.figma.com/file/ek8w3n3upbluw5UL2lGhRx/Bitcoin-Core-App-Design?node-id=6079%3A166395&t=zvbm4HW9rxQf4iBb-4).

  This state is only added to `ValueInput` because the `Setting` control should not care about this. All other states continue to function as normal*.

  ### Light

  | EMPTY | FILLED | HOVER | ACTIVE |
  | ----- | ------ | ----- | ------ |
  | <img width="463" alt="Screen Shot 2023-02-10 at 5 26 04 PM" src="https://user-images.githubusercontent.com/23396902/218226249-e1ce6012-33d5-4362-bd1e-7620bbe9ed85.png"> | <img width="463" alt="Screen Shot 2023-02-10 at 5 24 42 PM" src="https://user-images.githubusercontent.com/23396902/218226265-94b2d5ae-fb7e-41b1-a477-3e9cdc7f9b95.png"> | <img width="463" alt="Screen Shot 2023-02-10 at 5 24 57 PM" src="https://user-images.githubusercontent.com/23396902/218226276-c3fbd0a4-08fc-4302-afe6-c3b187cb4095.png"> | <img width="463" alt="Screen Shot 2023-02-10 at 5 25 18 PM" src="https://user-images.githubusercontent.com/23396902/218226286-4cd43650-9121-4899-9bab-4d844e1efb03.png"> |

  ### Dark

  | EMPTY | FILLED | HOVER | ACTIVE |
  | ----- | ------ | ----- | ------ |
  | <img width="463" alt="Screen Shot 2023-02-10 at 5 23 43 PM" src="https://user-images.githubusercontent.com/23396902/218226406-9be869ee-0eb1-412c-b5ed-426d35ca9341.png"> | <img width="463" alt="Screen Shot 2023-02-10 at 5 24 00 PM" src="https://user-images.githubusercontent.com/23396902/218226415-59b2c42d-80e4-4a6d-a7dc-631a7f195ce9.png"> | <img width="463" alt="Screen Shot 2023-02-10 at 5 24 11 PM" src="https://user-images.githubusercontent.com/23396902/218226432-34b6cc5f-e0d0-48e1-af11-a2e59d0bd0e5.png"> | <img width="463" alt="Screen Shot 2023-02-10 at 5 24 28 PM" src="https://user-images.githubusercontent.com/23396902/218226448-d0c801a8-c232-449a-82e7-282108e9e44a.png"> |

  *the Setting control loses the active state when the mouse moves away from it, will be addressed in a follow-up.

  [![Windows](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/insecure_win_gui.zip?branch=pull/256)
  [![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/insecure_mac_gui.zip?branch=pull/256)
  [![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/insecure_mac_arm64_gui.zip?branch=pull/256)
  [![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/256)

ACKs for top commit:
  GBKS:
    ACK 07c62ee06b208ffe6abcdc18d9997d6fa0e1a7c4

Tree-SHA512: bc6584cbf75e36ac6b4e944822756861159d6a5b355342e91e915c3c69562fd7b819a68dbe28904bf9fbacf825c57858386cc7b83680844e0625f0fdd304bee6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants