William Casarin
e75eb5ffd5
clippy: quick lint fix
2025-05-19 15:28:58 -07:00
William Casarin
163abe891a
Merge remote-tracking branch 'pr/862'
2025-05-19 15:25:56 -07:00
kernelkind
5598cc8ba0
use CustomZapView
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-17 14:41:48 -04:00
kernelkind
a9a819f742
add CustomZapView
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-17 14:41:26 -04:00
kernelkind
16e2c9d5b0
make styled button toggleable
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-17 14:30:19 -04:00
kernelkind
54c0fdb563
don't show zap button if no wallet
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-17 14:29:43 -04:00
kernelkind
98cb082fb4
hotfix: can login again
...
adds fallback pubkey as account and selects it when there are
no accounts
closes: https://github.com/damus-io/notedeck/issues/855
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-16 15:50:31 -04:00
William Casarin
c469a0ff22
timeline: show media on universe timeline
...
Now that we have blurred images from people you don't
follow, we can enable this again
Signed-off-by: William Casarin <jb55@jb55.com >
2025-05-14 09:53:55 -07:00
kernelkind
b2abe495ca
implement blurring
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-04 12:57:57 -04:00
kernelkind
7d2112b472
make Widget impl ProfilePic mutably
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-04 12:57:54 -04:00
kernelkind
929099c15f
propagate Images to actionbar
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-04 12:57:48 -04:00
kernelkind
e7c3755a08
pass NoteAction by value instead of reference
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-04 12:57:45 -04:00
kernelkind
258ac3de29
post: unnest
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-04 12:56:42 -04:00
kernelkind
a29277d263
propagate JobsCache
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-04 12:55:53 -04:00
kernelkind
badf3070c8
introduce JobsCache
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-04 12:54:26 -04:00
kernelkind
e453c742de
add trust_media_from_pk2 method
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-04 12:53:49 -04:00
William Casarin
093189b019
ui: make post replies selectable
...
I wanted to copy a quote from something I was replying to, I couldn't
now I can
Fixes : #835
Signed-off-by: William Casarin <jb55@jb55.com >
2025-05-01 17:28:59 -07:00
William Casarin
a5f4290acf
columns: never truncate notes you're replying to
...
So you can see everything
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-30 11:00:37 -07:00
William Casarin
b83c5f7de5
columns: remove spamming info logs about writing to cache
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-30 11:00:19 -07:00
kernelkind
a38c682d78
use default zap amount for zap
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
c456432015
ui: show default zap amount in wallet view
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
9013a2e067
propagate DefaultZapState to wallet ui
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
f16e63cf3b
use ZapWallet
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
015e7790d0
move WalletState to UI
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
5bddf83655
extend ZapAction
...
going to need amounts for configurable zaps
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:20 -04:00
William Casarin
3dccdf2bad
chrome: use actual columns noteaction executor
...
there is code duplication here and it is causing bugs
2025-04-22 19:07:25 -07:00
William Casarin
e8a1233174
dave: bubble note actions to chrome
...
This allows chrome to pass note actions to other apps
2025-04-22 18:42:12 -07:00
William Casarin
c4084a1fb5
ui: add note truncation
...
Truncate notes by default. We still need a show more button though
2025-04-22 10:50:58 -07:00
William Casarin
ba4198eeec
enostr: rename to_bech to npub
...
a bit more clear as to what this is
2025-04-22 10:46:51 -07:00
William Casarin
f7e47dedee
docs: add notedeck_columns readme
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-21 13:26:02 -07:00
William Casarin
8af80d7d10
ui: move note and profile rendering to notedeck_ui
...
We want to render notes in other apps like dave, so lets move
our note rendering to notedeck_ui. We rework NoteAction so it doesn't
have anything specific to notedeck_columns
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-17 12:34:43 -07:00
William Casarin
e4bae57619
refactor: ocd unnecessary pass by value
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-17 08:39:47 -07:00
William Casarin
81ef677bf2
refactor: nevernest get_display_name
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-17 08:37:14 -07:00
William Casarin
d30e4c53ee
post: fix bug where send shortcut send unfocused inputs
...
Fixes: https://github.com/damus-io/notedeck/issues/810
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-16 23:52:34 -07:00
William Casarin
bf18eb4e69
refactor: extract input_ui into its own function
...
too many things happening in the ui function
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-16 22:29:20 -07:00
William Casarin
cc03f24920
refactor: move input buttons ui into its own fn
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-16 22:25:44 -07:00
William Casarin
aa0c1012db
misc: driveby fixes
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-16 22:20:00 -07:00
kernelkind
ae0a74d383
pulse pending zap button
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-16 14:14:48 -04:00
kernelkind
bd78be1659
move error out of AnyZapState
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-16 13:34:51 -04:00
William Casarin
b228411b8d
columns: remove thread warning
...
yes threads suck, but this message is also annoying
2025-04-15 08:24:24 -07:00
William Casarin
66377351b3
ui: add some margin to chrome sidebar
...
Looks a bit better
2025-04-15 08:24:04 -07:00
William Casarin
87794fae33
chrome: fix wallet button
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-14 16:37:22 -07:00
William Casarin
39e2accbce
multicast: broadcast context
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-14 16:02:50 -07:00
William Casarin
50dec5b5d5
context: implement note broadcasting
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-14 16:02:43 -07:00
William Casarin
2a9c5c7848
dave: reorganize ModelConfig
...
start to clean up the lib.rs a bit
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-14 11:53:52 -07:00
William Casarin
4ca7bcec6d
lint: fix clippy and fmt issues
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-14 11:30:24 -07:00
William Casarin
72312179d4
chrome: fix settings view
...
restore some chrome panel actions
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-14 11:30:24 -07:00
William Casarin
418e08541d
notedeck: include frame history
...
for debugging.
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-14 11:30:22 -07:00
William Casarin
c6a7a50f81
dave: improve design
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-14 11:29:03 -07:00
William Casarin
9c9b4199f5
ui crate and chrome sidebar
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-14 11:29:01 -07:00