Commit Graph

1539 Commits

Author SHA1 Message Date
William Casarin
8a1398face clippy fixes
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-17 13:54:43 -07:00
William Casarin
a4c1b38116 introduce HybridFilter
This introduces a new filter construct called HybridFilter. This allows
filters to have different remote filter than local ones. For example,
adding kind0 to the remote for keeping profiles up to date on your
timeline, but only subscribing to kind1 locally.

Only home/contact filters use this feature for now.

Fixes: https://github.com/damus-io/notedeck/issues/995
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-17 13:54:43 -07:00
William Casarin
d2994fa340 gitignore: ignore logcat
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-17 11:30:29 -07:00
William Casarin
5eae9a55ec relay: make multicast a desired relay
so we can delete everything except multicast and have
multicast accounts

Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-17 11:03:20 -07:00
William Casarin
1a7154fab6 reply: add some space after reply box
we need more room on mobile

Fixes: https://github.com/damus-io/notedeck/issues/991
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-17 11:02:59 -07:00
William Casarin
61f4d6b532 db: fix bad query bug in author-kind queries
it was matching authors it shouldn't have

Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-17 11:01:58 -07:00
William Casarin
51d2b4414b ui/note: refactor reply line into a function
this is a bit neater

Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-17 09:37:20 -07:00
William Casarin
c0c2120f74 android: fix back button
Fixes: https://github.com/damus-io/notedeck/issues/972
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-17 09:18:34 -07:00
William Casarin
db6f02084d input: halve long press input duration
people were saying long press was too long

Fixes: https://github.com/damus-io/notedeck/issues/981
2025-07-16 18:01:48 -07:00
William Casarin
99646f8ff5 ui/mention: fix weird mention text size
Fixes: https://github.com/damus-io/notedeck/issues/975
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-16 17:36:35 -07:00
William Casarin
a603685fac multi_subscriber: switch to debug statements
info is not really the right level for this
2025-07-16 16:36:26 -07:00
kernelkind
5168d50257 add info statements
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-07-16 18:13:09 -04:00
kernelkind
cc92fc2082 make TimelineCache::timelines private
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-07-16 18:13:07 -04:00
kernelkind
dc4e3d7510 increment sub count when necessary
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-07-16 18:13:04 -04:00
kernelkind
95e9e4326a add TimelineCache helper methods
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-07-16 18:13:00 -04:00
kernelkind
4db6f37017 track all timeline related subscriptions in TimelineSub
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-07-16 18:12:58 -04:00
kernelkind
6544d43d02 replace MultiSubscriber with TimelineSub
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-07-16 18:12:46 -04:00
William Casarin
64ac06791a Merge show-note-client option by fernando
We should move this somewhere else before we turn it on
officially

Fernando López Guevara (2):
      refactor: use Margin:ZERO
      feat(note-view): show note client
2025-07-16 14:07:42 -07:00
Fernando López Guevara
4bf75c95de feat(note-view): show note client 2025-07-16 17:09:59 -03:00
Fernando López Guevara
cb5bd75236 refactor: use Margin:ZERO 2025-07-16 16:29:02 -03:00
William Casarin
a6a89307f1 v0.5.4
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-16 11:41:32 -07:00
William Casarin
872aadf279 debug: fix memory debugger
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-16 11:17:13 -07:00
William Casarin
953848ff9a anim: reduce gif fps
it's brrrring my cpu on my 240hz monitor. we don't need 240hz gifs...

Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-16 10:07:37 -07:00
William Casarin
461665f599 ui: remove show_pointer
This can just be achieved by on_hover_cursor

Didn't realize this.

Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-16 09:17:27 -07:00
William Casarin
f27b1fe957 Merge chrome sidebar features from fernando
Fernando López Guevara (2):
      fix(compose-button): apply icon_color to compose button edge circles & add hover text
      fix(chrome): add hover text and pointer cursor to sidebar elements
2025-07-16 09:01:55 -07:00
William Casarin
45803b6bb0 readme: we're in beta status
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-16 08:59:59 -07:00
William Casarin
a5bbe79c4b readme: fix link
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-16 08:59:23 -07:00
William Casarin
3637dbd5c3 Merge readme changes from elsat 2025-07-16 08:58:31 -07:00
William Casarin
551afb2772 readme: tweaks
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-16 08:58:19 -07:00
William Casarin
e8db7444c3 gitignore: include junk so that git clean can handle it
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-16 08:55:24 -07:00
William Casarin
a517bc69bc Merge is_following fixes from kernel
kernelkind (4):
      add `Accounts` to `NoteContext`
      remove `MuteFun` prop
      make `Contacts::is_following` use bytes instead of `Pubkey`
      migrate to check following through `Contacts::is_following`
2025-07-16 08:50:58 -07:00
William Casarin
e2d79af632 Merge remote-tracking branch 'fernando/feat/full-screen-media-dots' 2025-07-16 08:31:57 -07:00
Fernando López Guevara
44da10dc88 fix(profile): split always 2025-07-16 11:01:13 -03:00
Fernando López Guevara
8e218a1eb1 feat(full-screen-media): add image URL in top bar and navigation dots in bottom bar 2025-07-16 09:30:58 -03:00
Fernando López Guevara
befce76a90 feat(profile): add tooltip on copy npub 2025-07-15 14:42:43 -07:00
Fernando López Guevara
ac85bdc21d feat(profile-view): split nip05 when is_narrow 2025-07-15 14:42:43 -07:00
Fernando López Guevara
e344b09475 feat(profile-view): split profile info entries when is_narrow 2025-07-15 14:42:43 -07:00
Fernando López Guevara
ab43bdb65a fix(deck): show column picker when deck has no columns 2025-07-15 14:42:32 -07:00
William Casarin
23d02a9dd2 note/options: remove redundant has function
there is a contains function generated by the bitflags macro

Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-15 14:35:14 -07:00
William Casarin
fa545bc077 ui/note: fix weird ... placement regression
Fixes: c402320ad3 ("ui: fix broken note previews")
Fixes: https://github.com/damus-io/notedeck/issues/974
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-15 14:33:46 -07:00
William Casarin
4735529731 update lock
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-15 14:19:36 -07:00
William Casarin
5c603cd56b v0.5.3
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-15 14:15:16 -07:00
William Casarin
6bf6af7f9e profile: fix crash with ProfileState defaults
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-15 14:14:50 -07:00
William Casarin
e9ee1b5094 v0.5.2
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-15 13:41:31 -07:00
William Casarin
fb6456bdee v0.5.1
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-15 13:37:25 -07:00
William Casarin
ac22fc7072 columns: enable toolbar scroll to top
Fixes: https://github.com/damus-io/notedeck/issues/969
Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-15 13:30:40 -07:00
William Casarin
074472eec9 columns/timeline: include column index in timeline view_id
might fix weird scroll issues on profiles

Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-15 13:02:05 -07:00
William Casarin
119456e2b3 columns: switch to bitflag app options
we're adding a ScrollToTop bool for an updating change
to the toolbar, but we have too many flags now. Let's switch
to bitflags

Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-15 12:42:20 -07:00
William Casarin
cd560cb7bf chrome: make toolbar smaller
its a bit chonky

Signed-off-by: William Casarin <jb55@jb55.com>
2025-07-15 12:40:04 -07:00
alltheseas
f8b6ef0c20 Update README.md with reference plans to support building on notedeck
Added mention that notedeck will enable easy app development on nostrdb and notedeck
2025-07-15 13:12:42 -05:00