William Casarin
155278dd3f
Merge perf updates and fixes from kerenl
...
from remote-tracking branches:
* kernel/fix-soft-keyboard
* kernel/composite-profiles-perf
* kernel/fix-nav-flicker
kernelkind (8):
Revert "fix: nav drawer shadow extends all the way vertically"
chore(profiling): markup composite render path
chore(tracy): repaint every frame
feat(composite-cluster): do culling for pfps
feat(mime-cache): upgrade UrlMimes
feat(reactions): use ProfileKey when possible for performance
fix(nav-drawer): shadow extends all the way vertically
fix(thread): remove flicker on opening thread
2025-10-27 10:27:07 -07:00
William Casarin
25b19f7636
refactor: rename process to process_selection
...
grepping these are a pain
Signed-off-by: William Casarin <jb55@jb55.com >
2025-10-27 10:25:01 -07:00
kernelkind
1244be4481
feat(composite-cluster): do culling for pfps
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-24 13:12:18 -04:00
kernelkind
fdde0244e2
feat(reactions): use ProfileKey when possible for performance
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-24 13:00:39 -04:00
kernelkind
892d77d4e3
chore(profiling): markup composite render path
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-24 11:42:03 -04:00
William Casarin
8bfe8916ea
Merge send reactions by kernel #1170
2025-10-20 11:22:54 -07:00
William Casarin
2929bfaf0c
Merge seen note perf improvements by kernel #1174
...
kernelkind (2):
fix(notif-indicator): more performant impl
refactor(NoteFreshness): remove now unnecessary `NoteFreshness`
2025-10-20 11:21:53 -07:00
kernelkind
fc248ac389
refactor(NoteFreshness): remove now unnecessary NoteFreshness
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-19 19:51:03 -04:00
kernelkind
0344ea866f
fix(notif-indicator): more performant impl
...
the previous unseen notification indicator only ran once a few
seconds, but when it did it often took > 5ms because of ndb::query,
which is unacceptable.
This commit removes the ndb::query entirely and relies on the
ndb::poll_for_notes which is already being used every time there is
a new event from a relay
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-19 19:50:53 -04:00
kernelkind
3f5264b4ab
feat(action): add NoteAction::React
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-17 15:35:35 -04:00
kernelkind
c66c5725ce
feat(event): add send_reaction_event
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-17 15:35:29 -04:00
kernelkind
d3326d2e33
refactor(assets): rename like icon -> filled version
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-17 15:35:15 -04:00
kernelkind
ba83976166
refactor: rename assets
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-17 01:04:48 -04:00
kernelkind
9b1f7680aa
refactor: move galley_centered_pos to notedeck_ui
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-17 01:04:45 -04:00
William Casarin
34c5153618
Merge quote reposts, share links by kernel
...
kernelkind (17):
add `ProfileContext`
add `RenderNavAction::RepostAction` & render `RepostDecisionView`
add `after_action` to `SingletonRouter`
add repost fns
feat: copy damus.io link to clipboard
fix: custom zap wrapping
fix: profile wrapping
process popup after action
refactor: move profile.rs -> url.rs to new module
refactor: move shared context stuff up in scope
refactor: rename `NoteAction::Quote` -> `Repost`
render profile context button
route: add CloseSheetThenRoute `RouterAction`
route: add `RepostDecision`
split popup correctly for repost & update egui-nav
ui: add `ProfileContextWidget`
ui: add `RepostDecisionView`
2025-10-06 08:56:02 -07:00
kernelkind
f54d3b1596
feat: copy damus.io link to clipboard
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-06 11:52:11 -04:00
kernelkind
14b35c45c2
render profile context button
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-05 15:37:14 -04:00
kernelkind
2cf6679418
fix: custom zap wrapping
...
text was flowing off screen for this npub:
npub1uqxkqdq3xngndgwlck03hje0u25uu7ql9nakh63yjk2m63thczkszeffca
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-05 13:28:20 -04:00
kernelkind
bd6b819118
fix: profile wrapping
...
zap url for this npub was long, causing it to flow off screen &
causing the content below it to flow off screen as well
npub1pm5z0gmw3wcvl3yreuv8y7q3stz2zmzc4jar4ckhk927qdcwjwuq3txe07
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-05 13:16:26 -04:00
kernelkind
dc23f8fe1e
split popup correctly for repost & update egui-nav
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-04 18:09:27 -04:00
kernelkind
6e50e7ee5b
process popup after action
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-04 18:09:24 -04:00
kernelkind
181e508f70
add RenderNavAction::RepostAction & render RepostDecisionView
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-04 18:09:21 -04:00
kernelkind
4bb60c6240
refactor: rename NoteAction::Quote -> Repost
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-04 18:09:18 -04:00
kernelkind
36845c6305
route: add RepostDecision
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-04 18:09:15 -04:00
kernelkind
3b735d0ef9
ui: add RepostDecisionView
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-04 18:09:12 -04:00
kernelkind
f2857a9d58
add repost fns
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-04 17:44:51 -04:00
kernelkind
872bd35142
route: add CloseSheetThenRoute RouterAction
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-04 17:44:48 -04:00
kernelkind
3c5bab24ba
add after_action to SingletonRouter
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-04 17:44:38 -04:00
William Casarin
e20861f8d6
Merges notification filters, perf & crash fixes by kernel
...
kernelkind (6):
feat: "All" & "Mentions" notifications tabs like Damus iOS
fix: WalletView don't request keyboard focus if narrow
fix: crash on startup
add `load_texture_checked`
use `load_texture_checked` over `load_texture`
add clippy rule to disallow the usage of `load_texture`
2025-10-03 13:32:24 -07:00
kernelkind
55b59c982a
fix: WalletView don't request keyboard focus if narrow
...
on android it kept popping up the keyboard even when i close it
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-02 16:38:30 -04:00
kernelkind
af53dd4852
perf: improve filter generation performance
...
for some reason the filter here was taking ~6ms to create...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-02 16:19:39 -04:00
kernelkind
810b4c1990
profiling: add more profile markup
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-02 16:19:04 -04:00
kernelkind
62ffe9b219
feat: "All" & "Mentions" notifications tabs like Damus iOS
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-02 16:13:46 -04:00
William Casarin
3a8d06cb82
Merge tracy profiling by kernel
...
kernelkind (1):
add tracy support
2025-10-02 12:33:36 -07:00
kernelkind
3540290f0a
make update return AppResponse instead of Option<AppAction>
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-01 21:47:31 -04:00
kernelkind
2533448180
remove unnecessary DragSwitch
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-01 21:47:27 -04:00
kernelkind
c4eccf0a8e
TMP: new egui-nav
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-10-01 21:47:22 -04:00
kernelkind
0717353717
add tracy support
...
android: `make android-tracy`
desktop: `cargo run --release --features tracy`
connect via `127.0.0.1:8086`
if using android then want to use desktop, unset the adb port
forwarding:
`adb forward --remove tcp:8086`
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-09-30 19:54:19 -04:00
kernelkind
d81243f055
prop drag id through responses instead of manual wiring
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-09-28 23:08:28 -04:00
William Casarin
a6d91c43e4
Merge a bunch of fixes from kernel
...
PRs
* 1141
* 1137
* 1136
kernelkind (10):
Revert "feat: transitively trust images from parent note"
feat: enable transitive trust for repost
fix `NoteUnits` front insertion logic
fix: don't reset scroll position when switching toolbar
fix: no longer make the scroll position jump oddly
fix: repost desc text size on newline
make `tabs_ui` return `InnerResponse`
refactor: impl transitive trust via `NoteOptions::TrustMedia`
refactor: move `profile_body` to fn
refactor: remove unnecessary code
2025-09-16 11:28:48 -07:00
kernelkind
19fe3703d9
fix: add tag for hashtag in reply
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-09-13 17:15:58 -04:00
kernelkind
ca67977b82
fix: don't reset scroll position when switching toolbar
...
Closes: https://github.com/damus-io/notedeck/issues/1140
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-09-13 15:37:05 -04:00
kernelkind
559e9577fc
fix: no longer make the scroll position jump oddly
...
only allow front insert in profile when body is fully obstructed
Closes: https://github.com/damus-io/notedeck/issues/1072
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-09-13 15:36:18 -04:00
kernelkind
563fbb9c4b
fix NoteUnits front insertion logic
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-09-13 15:18:29 -04:00
kernelkind
391900d393
make tabs_ui return InnerResponse
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-09-13 14:51:09 -04:00
kernelkind
11700d6217
refactor: move profile_body to fn
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-09-13 14:51:03 -04:00
kernelkind
50293a6f34
refactor: remove unnecessary code
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-09-13 14:49:46 -04:00
kernelkind
d6182ed7c3
Revert "feat: transitively trust images from parent note"
...
This reverts commit ea14713b58 .
2025-09-11 19:39:12 -04:00
kernelkind
a0e9c8b434
feat: enable transitive trust for repost
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-09-11 19:38:32 -04:00
kernelkind
3f1a194983
fix: repost desc text size on newline
...
make the repost desc size small when it is on a newline instead of
inline with the pfps, which was introduced here: eb446376
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-09-11 17:14:25 -04:00