Commit Graph

722 Commits

Author SHA1 Message Date
William Casarin
54deb2dd88 switch to profiling crates
This switches to the profiling crate for compatible
profiling between rust libraries.

To enable:

$ cargo build --release --features puffin

Feel free to experiment with other profiling backends
as well! Would be great to get tracy working.
2025-03-23 11:30:18 -07:00
William Casarin
7b9e6f180c disable large scale unknown id detection
its slow
2025-03-23 09:40:46 -07:00
kernelkind
6003ef5aec FileKeyStorage -> AccountStorage
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-03-22 00:06:49 -04:00
kernelkind
d9f92ef54f serialize UserAccount
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-03-22 00:06:49 -04:00
kernelkind
ad90a9565a canonize UserAccount
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-03-22 00:06:49 -04:00
kernelkind
675a223b11 migrate to tokenator key storage impl
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-03-22 00:06:49 -04:00
kernelkind
0bd486a8f4 serialize Keypair using tokenator
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-03-22 00:06:48 -04:00
kernelkind
1e05fa551d simplify key storage
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-03-22 00:06:31 -04:00
kernelkind
69b651bbc5 remove security framework storage
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-03-22 00:06:31 -04:00
William Casarin
d1f38c3d19 Merge right click paste #507
jglad (1):
      #507 add right click paste in search
2025-03-21 16:46:49 -07:00
William Casarin
26b58683b8 feat: integrate nostrdb relay indexing
- Upgrade `nostrdb` to v0.6.1 with relay metadata support
- Switch to `nostr::RelayUrl` for typed relay URLs
- Use `process_event_with()` to pass relay info during ingestion
- Update `Relay`, `RelayPool`, and unknown ID logic accordingly

This enables richer indexing with relay provenance in events.

Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-21 16:20:37 -07: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
William Casarin
a7f34a9dc7 Merge bump to 0.31.1
commit 2d801408b2
Author: William Casarin <jb55@jb55.com>
Date:   Mon Mar 17 18:05:01 2025 -0700

    egui: bump to 0.31.1
2025-03-18 09:41:25 -07:00
William Casarin
4d98b996ba Merge add padding to relay view
commit fddddba618
Author: jglad <jakub.gladysz1@gmail.com>
Date:   Tue Mar 18 09:29:22 2025 +0100

    #761 add padding to relay view
2025-03-18 09:38:07 -07:00
jglad
fddddba618 #761 add padding to relay view 2025-03-18 09:29:22 +01:00
William Casarin
2d801408b2 egui: bump to 0.31.1 2025-03-17 19:45:26 -07:00
William Casarin
adb3359bd8 debug: fix debug crash when adding columns
Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-17 16:44:51 -07:00
William Casarin
0b22ca345c column: inline some things because why not 2025-03-17 16:44:51 -07:00
William Casarin
fdd202741a Merge linux package fixes from ken 2025-03-14 12:52:24 -07:00
William Casarin
71f6d3014a Merge fullscreen images from jglad
jglad (3):
      #716 add full screen images
      #716 move goto button one level down
      #716 store full size img, add zoom & pan
2025-03-13 10:31:01 -07:00
jglad
a124187db6 #716 store full size img, add zoom & pan 2025-03-11 21:47:52 +01:00
William Casarin
c93c2242b1 ui: fix deprecated rounding routines in search ui
Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-11 11:00:03 -07:00
William Casarin
2e991a9aa5 fix a few compile issues after rebase
Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-11 10:55:15 -07:00
William Casarin
8467de2b5d android: attempt initial keyboard visibility fix
This isn't the right approach, but I keep it here as a reminder
of what we need to do next

Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-11 10:53:15 -07:00
William Casarin
bd85233120 android: capture current keyboard height
expose a new virtual_keyboard_height function under notedeck::platform::android

which gets the current height of the virtual keyboard. We can use this
to tranlate the view out of the way

Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-11 10:53:13 -07:00
William Casarin
1dec07afe8 android: expand logs
Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-11 10:52:29 -07:00
William Casarin
a168a38760 android: misc testing
Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-11 10:52:29 -07:00
Ken Sedgwick
93c97cf769 android: need argv0 placeholders because unneeded arg detection 2025-03-11 10:52:29 -07:00
Ken Sedgwick
c10e84b10d fixed egui::Frame::NONE references 2025-03-11 10:52:28 -07:00
Ken Sedgwick
2f4d9442f0 allow deprecated round_rect_to_pixels 2025-03-11 10:52:00 -07:00
William Casarin
51457a0260 android: update to latest winit/egui/android-activity
so we can start fixing this shit

Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-11 10:51:56 -07:00
Ken Sedgwick
267f3c4527 update android default config push instructions 2025-03-11 10:47:33 -07:00
William Casarin
da9b2bcd46 android: 0.30.0 game activity
still no text input, at least it's not crashing

Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-11 10:47:32 -07:00
William Casarin
b33346a25d update to egui 0.30.0 2025-03-11 10:47:32 -07:00
William Casarin
b21e39dea9 android: get GameActivity to launch
For some reason there are no touch inputs though

Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-11 10:47:32 -07:00
William Casarin
9ce2b4da2c remove extra crap from manifest
still not launching, thought this might have been why. nope

Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-11 10:47:32 -07:00
jglad
02ec025096 #716 move goto button one level down 2025-03-10 18:02:43 +01:00
kernelkind
a9f473e3c9 introduce NoteContext
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-03-08 14:57:32 -05:00
jglad
d629ea893a #716 add full screen images 2025-03-08 17:57:32 +01: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
8e0e42a1f3 fix note content rects
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-03-07 18:04:12 -05:00
kernelkind
e7113b17a8 fix note context menu placement inside rect
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-03-07 18:04:12 -05: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
e72a3f11fe Merge Cmd-Enter binding 2025-03-07 14:01:36 -08: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
9edc9bf4a5 ui: add SearchView and SearchQueryState
Introduce a new view for searching for notes.

Fixes: https://linear.app/damus/issue/DECK-510/initial-search-query-view
Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-07 13:24:52 -08:00
William Casarin
5fde3277a1 notedeck: add debouncer util
I wanted this separate from the timed serializer so I could use it for
other things

Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-07 13:24:52 -08:00
William Casarin
d19e4b1d2b search: improve search column header
Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-07 13:24:52 -08:00
William Casarin
f7c1a39bc1 args: add search column argument
Signed-off-by: William Casarin <jb55@jb55.com>
2025-03-07 13:24:52 -08:00