docs(bal): rewrite CHECK ALIVE help text (DATA/RAW modes) + fix two typos (v0.3.8)
Rewrite the CHECK ALIVE help popup (ThresholdTimeWidget.help_text) to explain both modes, keeping the <b>CHECK ALIVE</b> title bold: - DATA mode: set the check-alive date; on wallet open, if the date has passed the plugin asks whether to postpone the inheritance. - RAW mode: when less than this time is missing, ask to invalidate; failing to invalidate delivers the transactions to the heirs; kept the d/y suffix help. Fix two typos within this help text: 'less then' -> 'less than', 'currrent' -> 'current'. Bump version to 0.3.8 across the four version files. CHANGELOG entry #14.
This commit is contained in:
28
CHANGELOG.md
28
CHANGELOG.md
@@ -756,3 +756,31 @@ produce fewer events (at most one per day).
|
|||||||
|
|
||||||
**Outcome:** DONE (delivered as a test ZIP v0.3.7 for the user to try before
|
**Outcome:** DONE (delivered as a test ZIP v0.3.7 for the user to try before
|
||||||
commit).
|
commit).
|
||||||
|
|
||||||
|
## 14. Check-alive help text: DATA/RAW explanation and two typo fixes
|
||||||
|
|
||||||
|
**Request:** rewrite the text inside the CHECK ALIVE help popup to explain both
|
||||||
|
the DATA mode and the RAW mode, while keeping the **CHECK ALIVE** title in bold.
|
||||||
|
|
||||||
|
**What changed:**
|
||||||
|
- `bal/gui/qt/widgets.py`
|
||||||
|
- Updated `ThresholdTimeWidget.help_text` with the new wording:
|
||||||
|
- kept `<b>CHECK ALIVE</b>` bold;
|
||||||
|
- added a **DATA mode** paragraph (set the check-alive date; on wallet open,
|
||||||
|
if the date has passed, the plugin asks whether to postpone the
|
||||||
|
inheritance, assuming the user is still alive and in control);
|
||||||
|
- added a **RAW mode** paragraph (when less than this time is missing, ask
|
||||||
|
to invalidate; failing to invalidate in time delivers the transactions to
|
||||||
|
the heirs);
|
||||||
|
- kept the existing "d / y suffix" explanation.
|
||||||
|
- Fixed two typos in this help text: "less then" -> "less **than**", and
|
||||||
|
"currrent" -> "**current**" (only within the CHECK ALIVE help text).
|
||||||
|
|
||||||
|
**Verification:**
|
||||||
|
- `py_compile` on the changed file: OK.
|
||||||
|
- `ruff check`: no new errors (only the pre-existing star-import noise and the
|
||||||
|
pre-existing F841 at line 547).
|
||||||
|
- Full test suite: `239 passed`.
|
||||||
|
|
||||||
|
**Outcome:** DONE (delivered as a test ZIP v0.3.8 for the user to try before
|
||||||
|
commit).
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
0.3.7
|
0.3.8
|
||||||
|
|||||||
@@ -34,4 +34,4 @@ The plugin targets Electrum 4.7.2 (the last stable release exposing
|
|||||||
``json_db.register_dict``) and PyQt6.
|
``json_db.register_dict``) and PyQt6.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = "0.3.7"
|
__version__ = "0.3.8"
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ class BalPlugin(BasePlugin):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
_version = None
|
_version = None
|
||||||
__version__ = "0.3.7" # AUTOMATICALLY GENERATED DO NOT EDIT
|
__version__ = "0.3.8" # AUTOMATICALLY GENERATED DO NOT EDIT
|
||||||
|
|
||||||
# Command used to open an .ics calendar file, per operating system.
|
# Command used to open an .ics calendar file, per operating system.
|
||||||
default_app = {
|
default_app = {
|
||||||
|
|||||||
@@ -560,12 +560,18 @@ class ThresholdTimeWidget(BalTimeEditWidget):
|
|||||||
# rich_text=True is used by the HelpButton, so HTML tags (<b>, <br>) render.
|
# rich_text=True is used by the HelpButton, so HTML tags (<b>, <br>) render.
|
||||||
help_text = (
|
help_text = (
|
||||||
"<b>CHECK ALIVE</b><br><br>"
|
"<b>CHECK ALIVE</b><br><br>"
|
||||||
"Check to ask for invalidation.<br><br>"
|
"In DATA mode:<br>"
|
||||||
"When less then this time is missing, ask to invalidate.<br>"
|
"set the date for the \u201ccheck alive\u201d parameter.<br>"
|
||||||
|
"When you open the wallet, if the \u201ccheck alive\u201d date has passed, "
|
||||||
|
"the plugin will ask if you want to postpone the inheritance, since it "
|
||||||
|
"assumes you still have control of the wallet and that you are still "
|
||||||
|
"alive.<br><br>"
|
||||||
|
"In RAW mode:<br>"
|
||||||
|
"When less than this time is missing, ask to invalidate.<br>"
|
||||||
"If you fail to invalidate during this time, your transactions will be delivered to your heirs.<br><br>"
|
"If you fail to invalidate during this time, your transactions will be delivered to your heirs.<br><br>"
|
||||||
"if you choose Raw, you can insert various options based on suffix:<br>"
|
"if you choose Raw, you can insert various options based on suffix:<br>"
|
||||||
" - d: number of days after current day(ex: 1d means tomorrow)<br>"
|
" - d: number of days after current day(ex: 1d means tomorrow)<br>"
|
||||||
" - y: number of years after currrent day(ex: 1y means one year from today)<br>"
|
" - y: number of years after current day(ex: 1y means one year from today)<br>"
|
||||||
)
|
)
|
||||||
label_text = "🚨"
|
label_text = "🚨"
|
||||||
#label_text = "Check Alive"
|
#label_text = "Check Alive"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "bal",
|
"name": "bal",
|
||||||
"fullname": "Bitcoin After Life",
|
"fullname": "Bitcoin After Life",
|
||||||
"version": "0.3.7",
|
"version": "0.3.8",
|
||||||
"description": "Provides free and decentralized Bitcoin inheritance support. Build time-locked 'will' transactions that transfer funds to your heirs if you stop refreshing them (dead-man's switch), optionally relayed by will-executor servers.",
|
"description": "Provides free and decentralized Bitcoin inheritance support. Build time-locked 'will' transactions that transfer funds to your heirs if you stop refreshing them (dead-man's switch), optionally relayed by will-executor servers.",
|
||||||
"author": "Svatantrya",
|
"author": "Svatantrya",
|
||||||
"licence": "MIT",
|
"licence": "MIT",
|
||||||
|
|||||||
Reference in New Issue
Block a user