Commit Graph

47 Commits

Author SHA1 Message Date
William Casarin
f12ccc69a4 add hover to profile map demo
Signed-off-by: William Casarin <jb55@jb55.com>
2024-04-24 12:49:06 -07:00
William Casarin
e8168b0004 ui: add profile picture hover animation
I wanted to practice doing animation in egui, so here is a simple
profile picture hover affect. When you mouse over a profile picture, it
get slightly bigger.

Signed-off-by: William Casarin <jb55@jb55.com>
2024-04-24 12:49:06 -07:00
William Casarin
05fe164a49 ui: add initial Profile hover previews
The idea with these is that on notedeck you can just hover your cursor
over a profile link to see the profile. I just have a stub for now, but
full design coming soon after.

Also simplify the preview system even further with a macro. In the
future I imagine we can grep every preview in the codebase, and then
include this as a string inside this macro. This is some kind of
template metaprogramming insanity but in theory it could work.

Signed-off-by: William Casarin <jb55@jb55.com>
2024-04-19 22:00:19 -07:00
William Casarin
e348950e7a crates: add bitflags
Signed-off-by: William Casarin <jb55@jb55.com>
2024-04-14 16:23:36 -07:00
William Casarin
483e8e85d6 fix until filters
Signed-off-by: William Casarin <jb55@jb55.com>
2024-04-12 20:30:28 -07:00
kernelkind
e81cde5374 Add modular custom text styles
Signed-off-by: kernelkind <kernelkind@gmail.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-04-12 19:52:34 -07:00
William Casarin
91c5d453c4 profiling: update puffin version
Signed-off-by: William Casarin <jb55@jb55.com>
2024-04-12 16:03:00 -07:00
William Casarin
4526434405 update to latest nostrdb, adding tag support
Signed-off-by: William Casarin <jb55@jb55.com>
2024-04-07 14:53:50 -07:00
kernelkind
83197bac78 Update egui 0.26.1 -> 0.27.1
Needed for shadows

Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-04-01 10:15:27 -07:00
kernelkind
d8fcc573f9 Add nostr-sdk dependency 2024-03-26 10:04:59 +00:00
kernelkind
c932efba40 update cargo.lock to reflect toml change 2024-03-26 09:32:48 +00:00
William Casarin
4a5a9d4319 black background 2024-03-09 01:21:07 -08:00
William Casarin
1c16ddf9af deps: update poll-promise, add hex
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-27 14:25:46 -08:00
William Casarin
ef1e7e3ac8 perf: fix profiler
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-15 14:05:37 -08:00
William Casarin
9a4f193e03 deps: bump nostrdb to include notekey hash
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-15 13:07:01 -08:00
William Casarin
3a68cb9a99 bump nostrdb
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-11 14:08:58 -08:00
William Casarin
4ae3a701b8 deps: install ehttp loader
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-11 13:58:15 -08:00
William Casarin
63e195852b note: make links clickable
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-11 13:00:07 -08:00
William Casarin
3b1550d78c bump nostrdb
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-10 20:24:37 -08:00
William Casarin
9feb6465c0 enostr: remove nostr crate for now
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-10 16:14:45 -08:00
William Casarin
adc74dd7c9 home: move subscriptions to timeline 2024-02-10 14:56:44 -08:00
William Casarin
d7607c8297 updates deps
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-10 13:58:32 -08:00
William Casarin
a9df41d7ba update cargo deps
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-09 18:55:02 -08:00
William Casarin
4a9af5561a bump cargo
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-09 16:59:41 -08:00
William Casarin
f786d0568d subs: switch to multiple-filter style
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-07 15:46:06 -08:00
William Casarin
499f10ce39 update deps
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-07 15:18:10 -08:00
William Casarin
d38fcf80b9 update cargo
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-07 12:06:13 -08:00
William Casarin
2526f8001c make sure it's still working on android 2023-07-09 12:17:54 -07:00
William Casarin
ba973cbe1b bump deps in prep for profiling changes 2023-07-06 19:35:21 -07:00
William Casarin
672f95749a Revert "json: deserialize note ids into bytes"
This reverts commit 1ba597fc0a.
2023-07-06 17:50:20 -07:00
William Casarin
1ba597fc0a json: deserialize note ids into bytes 2023-07-06 17:09:39 -07:00
William Casarin
12dbdf6043 upgrade to egui 0.22.0 2023-07-06 11:21:18 -07:00
William Casarin
2fb845a261 deps: bump poll-promise to master
0.2.0 is crashing on my m1
2023-07-06 10:44:08 -07:00
William Casarin
898ccfb132 switch to shatter 2023-07-05 16:40:40 -07:00
William Casarin
5866763141 bump deps 2023-07-05 14:55:23 -07:00
William Casarin
a341d511e7 add env_logger 2023-07-01 11:23:54 -07:00
William Casarin
48af3dde9d many improvements 2022-12-12 14:33:37 -08:00
William Casarin
5619ae60ad relay connected! 2022-12-11 17:09:44 -08:00
William Casarin
e6571d8847 initial nostr code 2022-12-11 15:46:18 -08:00
William Casarin
b6f5d8dc03 wgpu + egui 0.20.0
android broken but let's just fix it on the egui/winit side once that's
all updated
2022-12-10 16:57:46 -08:00
William Casarin
641c339682 get it working on all platforms again 2022-11-30 11:57:06 -08:00
William Casarin
1db61f1ade WIP TEST PLZ REVERT 2022-11-29 18:42:38 -08:00
William Casarin
6137a34d55 android progress 2022-11-29 18:27:43 -08:00
William Casarin
28c5ddbc80 progress 2022-11-06 20:54:30 -08:00
William Casarin
46f9bde257 progress 2022-11-06 19:32:13 -08:00
William Casarin
ce21e10c90 initial egui damus app 2022-11-06 16:42:20 -08:00
William Casarin
696caa1f1c Initial commit 2022-11-05 22:12:17 -07:00