William Casarin
44edffc596
android/input: add copy/paste context to post input
...
Fixes: https://github.com/damus-io/notedeck/issues/942
Signed-off-by: William Casarin <jb55@jb55.com >
2025-07-11 15:36:56 -07:00
William Casarin
e8444f10b3
Revert "Unify sub for contacts in accounts & timeline"
...
Since its causing contact timelines to not load
eg: ./target/release/notedeck --datapath new3 -c contacts
This reverts commit 9940537897 .
2025-07-11 13:49:47 -07:00
William Casarin
96cb5e26ce
Merge follow/unfollow from kernel
...
Jakub Gladysz (1):
ui: add follow button
kernelkind (14):
bump nostrdb
move polling responsibility to `AccountData`
`AccountData`: decouple query from constructor
add constructor for `AccountData`
add `Contacts`
use `Contacts` in `AccountData`
expose `AccountSubs`
Unify sub for contacts in accounts & timeline
move `styled_button_toggleable` to notedeck_ui
construct NoteBuilder from existing note
send kind 3 event
add actions for follow/unfollow
add UI for (un)follow
send contact list event on account creation
2025-07-11 13:06:24 -07:00
William Casarin
217c1e5223
columns/decks: add home and notifications for new accounts
...
This is way more user friendly, and needed on mobile
Fixes: https://github.com/damus-io/notedeck/issues/937
Signed-off-by: William Casarin <jb55@jb55.com >
2025-07-10 17:16:30 -07:00
kernelkind
dca9d3eeab
send contact list event on account creation
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-10 13:47:32 -04:00
kernelkind
a883ac8c34
add actions for follow/unfollow
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
Co-authored-by: Jakub Gladysz <jakub.gladysz@protonmail.com >
Co-authored-by: William Casarin <jb55@jb55.com >
2025-07-10 13:47:28 -04:00
kernelkind
9940537897
Unify sub for contacts in accounts & timeline
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-10 13:47:07 -04:00
kernelkind
c99b99ed52
AccountData: decouple query from constructor
...
the ndb query must be as close to the subscription as possible to
avoid events falling through the cracks
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-10 13:45:20 -04:00
kernelkind
b41f4c3359
decouple RelayView UI from state mutation
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-02 15:46:09 -04:00
kernelkind
a73596df48
Clarify & enforce selected-only behavior in Accounts subscription
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-02 15:46:01 -04:00
kernelkind
f0158f71b2
don't expose mutable access to UserAccount
...
it's not preferable that the full mutable access is available to
`ZapWallet`, but this PR is becoming too big already
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-02 15:45:57 -04:00
kernelkind
10d6d740b8
migrate accounts to be referenced through pks instead of indices
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-02 11:41:33 -04:00
kernelkind
d092f5c23e
move switching related actions from notedeck -> columns
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-02 11:41:29 -04:00
kernelkind
8e92a97a57
make selected accounts non optional
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-02 11:41:17 -04:00
Fernando López Guevara
c6dbb0e856
fix(content): handle case where notes are not loaded
2025-06-24 09:15:52 -07:00
kernelkind
589a8a904c
fix log messages
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-06-23 16:32:28 -04:00
kernelkind
d560e84eab
integrate new threads conception
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-06-22 16:03:13 -04:00
kernelkind
41c2c048a8
add overlay to RouterAction
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-06-22 16:00:33 -04:00
kernelkind
faa40bb616
tmp: upgrade egui-nav to use ReturnType
...
remove when damus-io/egui-nav merges
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-06-22 16:00:18 -04:00
William Casarin
9033383a29
add input context menu helper
...
We are going to want this in more places
Signed-off-by: William Casarin <jb55@jb55.com >
2025-06-16 16:11:15 -07:00
William Casarin
e87b6f1905
chrome: collapsible side panel
...
This implements the initial logic that makes the side panel collapsible.
Since we don't have a proper hamburger control, we do the same thing we
do on iOS for now.
2025-06-05 12:01:55 -07:00
William Casarin
1c3b172e21
clippy: fix large enum.
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-05-31 16:33:18 -07:00
kernelkind
3cb2dd88b6
use popup sheet for CustomZapView
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-22 20:33:18 -04:00
kernelkind
c36a22828d
use router action
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-22 20:33:15 -04:00
kernelkind
a44667ef1a
nav: move process nav response to own method
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-22 20:33:12 -04:00
kernelkind
f452a9010b
nav: move action processing to own method
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-22 20:33:10 -04:00
kernelkind
5598cc8ba0
use CustomZapView
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-17 14:41:48 -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
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
a29277d263
propagate JobsCache
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-04 12:55:53 -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
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
50dec5b5d5
context: implement note broadcasting
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-14 16:02:43 -07:00
kernelkind
cfbd601196
note zap button
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-08 22:50:00 -04:00
kernelkind
5917bc16fd
propagate current account
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-08 22:50:00 -04:00
kernelkind
18ea05db0a
use Zaps
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-08 22:50:00 -04:00
kernelkind
ebec367809
wallet route
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-08 22:50:00 -04:00
kernelkind
ad90a9565a
canonize UserAccount
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-03-22 00:06:49 -04:00
jglad
318f96e37e
#507 add right click paste in search
...
Signed-off-by: Jakub Gladysz <jakub.gladysz@protonmail.com >
2025-03-21 21:49:45 +01:00
kernelkind
a9f473e3c9
introduce NoteContext
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-03-08 14:57:32 -05:00
William Casarin
d85c6043b7
search: auto-focus search field on navigate
...
I'm going to add a search changelog on this commit since I forgot
to do so previously.
Fixes: https://linear.app/damus/issue/DECK-538/auto-focus-search-field-on-search-view
Changelog-Added: Added fulltext search ui
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-07 16:02:35 -08:00
kernelkind
e2be2ddd58
fix context selection responses
...
closes: https://github.com/damus-io/notedeck/issues/574
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-03-07 18:04:12 -05:00
William Casarin
1953496019
search: hook up nav actions
...
Fixes: https://linear.app/damus/issue/DECK-537/hook-up-search-query-view-responses
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-07 13:24:52 -08:00
William Casarin
c2545d17e7
route: add Search route and hook up SearchView
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-07 13:24:52 -08:00
William Casarin
873b0e0dcc
nav: ocd updates
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-07 12:58:42 -08:00
William Casarin
4365839242
Revert driller
...
This reverts commit cec49c83bd .
Revert "update NoteContentsDriller to NoteContext"
This reverts commit 65bd6a65f9 .
Revert "introduce the driller"
This reverts commit 95d618e7fe .
2025-03-07 12:53:34 -08:00
William Casarin
cec49c83bd
fix formatting
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-07 12:36:26 -08:00