William Casarin
62f052daa5
nozaps: fix zap button in freedom edition
2023-06-28 21:16:56 +02:00
William Casarin
3e274a820a
nozaps: restore zap button with zap info, just make it not clickable
2023-06-27 06:04:36 +02:00
William Casarin
b2b687fb79
Revert "nozaps: hide zap total"
...
This reverts commit 57789de5cd .
2023-06-27 05:59:33 +02:00
William Casarin
07d0818ee8
nozaps: disable zap delay on appstore since we don't have 1-tap anymore
2023-06-23 20:46:27 +02:00
William Casarin
0ce7414488
nozaps: disable donation zaps on appstore
2023-06-23 20:46:27 +02:00
William Casarin
f090596067
nozaps: switch to global sheet when zapping
...
This fixes many popping bugs
Changelog-Fixed: Fix zap sheet popping
2023-06-23 20:46:27 +02:00
William Casarin
57789de5cd
nozaps: hide zap total
2023-06-23 20:46:27 +02:00
William Casarin
62c539afbf
nozaps: never show orange button
2023-06-23 20:46:27 +02:00
William Casarin
ed73899e5b
Revert "Initial actionbar model refactor"
...
This reverts commit d0eb86dfa3 .
2023-06-23 12:04:54 +02:00
William Casarin
d0eb86dfa3
Initial actionbar model refactor
2023-06-23 11:53:53 +02:00
William Casarin
043eb5b436
Show zap comments in threads and show top zap
...
Changelog-Added: Top zaps
Changelog-Added: Show zap comments in threads
2023-06-09 10:11:25 +02:00
952d6746d5
Add profile zaps
...
Refactor profile zaps to reuse same BOLT11 Lightning invoice logic as
note zaps, which fixes profile zaps from Cash App and Muun wallets
Changelog-Added: Add profile zaps
Changelog-Fixed: Fix profile zapping for Muun and Strike wallets
Closes : #1236
Fixes : #1067
2023-06-04 10:56:43 -07:00
Ben Weeks
ed4ef0e215
Tweaked action bar icon sizes.
2023-05-29 14:47:10 -07:00
Ben Weeks
973e9fe714
Custom iconography added for other areas of the app.
...
Changelog-Added: Custom iconography added for other areas of the app.
2023-05-29 14:47:05 -07:00
William Casarin
47a74257c8
nwc debugging
2023-05-24 15:16:45 -07:00
William Casarin
2bbbb5db65
Fix a few bugs with donations
2023-05-15 12:53:36 -07:00
William Casarin
a6745af519
Implement damus zap split donations using NWC
2023-05-15 09:41:26 -07:00
William Casarin
1fff0abce5
Make it easier to tap zap button
...
Right now the tap target only covered the bolt, now it's bolt+amount
2023-05-14 11:04:56 -07:00
William Casarin
b1fee253b4
nwc: fix bug where private nwc zaps weren't getting tracked properly
...
It was using the wrapper zap request id instead of the inner id. Fix
this type error by creating a ZapRequestId wrapper that makes sure it
uses the proper request id.
2023-05-14 10:52:37 -07:00
William Casarin
e472e559a5
nwc: don't use yellow on the Zap Button for pending zaps
...
I just find this stressful
2023-05-14 10:49:54 -07:00
William Casarin
122b528407
Add rigid haptic feedback when you zap cancel fails
...
This feels different than the soft haptic feedback so it should let
people know that cancelling is no longer possible
2023-05-14 10:49:54 -07:00
William Casarin
64a224135a
nwc: always allow long press zap
2023-05-13 23:54:02 -07:00
William Casarin
69fc6694f1
nwc: turn pending zap orange when we have a NWC success
...
Orange means payment successful now, not just presence of zap
This introduces a paid pending state, which shows up as an orange timer
thing in the zaps view. This can be useful if the zap is never sent. We
don't want the user to think the payment didn't go through.
2023-05-13 23:30:03 -07:00
William Casarin
03691d0369
Pending Zaps
...
A fairly large change that replaces Zaps in the codebase with "Zapping"
which is a tagged union consisting of a resolved Zap and a Pending Zap.
These are both counted as Zaps everywhere in Damus, except pending zaps
can be cancelled (most of the time).
2023-05-13 21:33:34 -07:00
William Casarin
fe3d976cdb
nwc: pay with nwc if we have it configured
2023-05-10 14:07:24 -07:00
William Casarin
fe6d7e5118
relay: split descriptors to {our,all}_descriptors
...
Now that we have ephemeral relays, we don't want them used everywhere
2023-05-10 13:25:40 -07:00
Bryan Montz
9847f12c95
Remove unused code
...
Closes : #1105
2023-05-08 11:01:04 -07:00
Ben Weeks
49b7aee74e
Save Jack's soul
...
Very minor amendment to stop the bouncing of the bolt symbol as you click it.
Changelog-Fixed: Saved Jack's soul.
Closes : #1060
2023-05-01 15:19:26 -07:00
William Casarin
f5cdd4a159
You can now change the default zap type
...
Changelog-Added: You can now change the default zap type
2023-04-23 10:31:51 -07:00
William Casarin
055b13c1cd
Fix buggy zap amounts and wallet selector settings
...
Changelog-Fixed: Fix buggy zap amounts and wallet selector settings
2023-04-22 12:10:10 -07:00
bff3c0dd52
Improve sats numeric entry for zaps
...
Changelog-Changed: Add number formatting for sats entry and use selected zaps amount from picker as placeholder
Changelog-Fixed: Do not allow non-numeric characters for sats amount and fix numeric entry for other number systems for all locales
2023-04-17 15:20:14 -07:00
William Casarin
bedf7e0648
Add reply counts
...
Changelog-Added: Reply counts
2023-04-04 12:03:56 -07:00
William Casarin
cc9532d958
Fix zap button long press scrolling issue
...
Changelog-Fixed: Fix zap button preventing scrolling
2023-03-15 16:19:52 -06:00
William Casarin
fc83cd4db7
Use long-press gesture for custom zaps
...
Changelog-Changed: Use long-press for custom zaps
2023-03-05 15:43:35 -05:00
William Casarin
77f5268336
Private Zaps
...
This adds private zaps, which have messages and authors encrypted to
the target. Keys are deterministically generated so that both the
receiver and sender can decrypt.
Changelog-Added: Private Zaps
2023-03-01 09:56:25 -08:00
William Casarin
71f7ea47df
Customized Zaps
...
Changelog-Added: Customized zaps
2023-02-26 11:53:29 -08:00
5cd4c2d75e
Fix localization issues, add tests, import translations, and add zh-CN and zh-TW
...
Closes : #689
2023-02-24 12:44:54 -08:00
Bryan Montz
94f66adf8d
Improve EventActionBar button spacing
...
Changelog-Changed: Improved EventActionBar button spacing
Closes : #576
2023-02-16 08:34:22 -08:00
355cd1283c
Wrap non-translatable strings so that they do not get exported
2023-02-15 10:44:44 -05:00
William Casarin
4f2bacfaab
Configurable zap amount
2023-02-10 13:52:27 -08:00
Bryan Montz
638052492d
Add accessibility labels to EventActionBar
...
Changelog-Added: Add accessibility labels to action bar
Closes : #530
2023-02-06 10:06:50 -08:00
William Casarin
f96ad99790
zaps: initial configuration for default zap amount
2023-02-06 10:05:02 -08:00
William Casarin
9e2e8595e8
move text event to its own file, improve zaps
2023-02-04 10:01:37 -08:00
William Casarin
006f8d79e0
Lightning Zaps
...
Added initial lightning zaps/tipping integration
Changelog-Added: Receive Lightning Zaps
2023-02-02 15:51:57 -08:00