William Casarin
a66b467cb4
hide navigation title on global nav
...
Fixes: https://github.com/damus-io/notedeck/issues/109
Signed-off-by: William Casarin <jb55@jb55.com>
2024-06-24 16:47:35 -07:00
William Casarin
1458498131
initial post box view
...
Signed-off-by: William Casarin <jb55@jb55.com>
2024-06-17 16:21:46 -07:00
William Casarin
d17b5e0703
Add forward navigation animation
...
Also fix a few nav clipping bugs
From egui-nav:
William Casarin (5):
add forward nav support
fix body overlapping header
fix transition clipping when in a smaller container
fix forward nav clipping in small containers
fix background layer having the wrong UI id
Signed-off-by: William Casarin <jb55@jb55.com>
2024-06-13 11:59:08 -07:00
William Casarin
0dd33c90e7
initial navigation
2024-06-11 17:50:09 -07:00
William Casarin
2305f1e50a
mobile: make mobile flag runtime-configurable
...
we need to pass a few more things around but it's not that bad. This
will allow you to launch damus with --mobile for mobile testing without
recompilation.
2024-05-31 01:05:53 -05:00
William Casarin
739e9f87f2
nip10: fetch unknown replied-to notes
...
Signed-off-by: William Casarin <jb55@jb55.com>
2024-05-24 13:20:33 -07:00
William Casarin
135a5c99ae
Revert "deps: using tracing instead of log"
...
This reverts commit af92e326f6
.
2024-05-23 16:10:07 -07:00
William Casarin
c421a49912
Merge MacOS key storage
...
kernelkind (3):
Add MacOS key storage
Conditionally compile MacOS key storage code
macos_key_storage: runner ignore tests
2024-05-23 16:00:18 -07:00
William Casarin
83100d7f50
tabs: select notes & replies by default
...
Signed-off-by: William Casarin <jb55@jb55.com>
2024-05-23 15:50:06 -07:00
kernelkind
0c88c63460
Conditionally compile MacOS key storage code
...
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-05-23 16:07:38 -04:00
William Casarin
af92e326f6
deps: using tracing instead of log
...
also update some other deps
Signed-off-by: William Casarin <jb55@jb55.com>
2024-05-23 11:16:43 -07:00
kernelkind
9fad35485a
Add MacOS key storage
...
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-05-21 19:50:05 -04:00
William Casarin
9e8f7a2e5c
ui: integrate egui-tabs for notes & replies selector
...
demo: https://cdn.jb55.com/s/notedeck-tabs.mp4
Fixes: https://github.com/damus-io/notedeck/issues/47
Signed-off-by: William Casarin <jb55@jb55.com>
2024-05-15 17:28:01 -07:00
William Casarin
e1f61076f7
switch to rustls-tls-native-roots
...
This fixes our android build which doesn't like openssl
Fixes: https://github.com/damus-io/notedeck/issues/54
Signed-off-by: William Casarin <jb55@jb55.com>
2024-05-15 09:16:20 -07:00
kernelkind
59818edd83
remove nostr-sdk
...
Signed-off-by: kernelkind <kernelkind@gmail.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-05-08 14:14:37 -07:00
William Casarin
3e1acfa9cf
update version in comment because I still use this on my laptop
...
Signed-off-by: William Casarin <jb55@jb55.com>
2024-05-04 10:26:26 -07:00
kernelkind
aacc41e4c2
Add flag to emulate mobile during preview
...
Since the is_mobile check was moved to compile-time instead of runtime
in 0a6a441041
, we need a way to override
the check when previewing using the 'mobile' flag.
Signed-off-by: kernelkind <kernelkind@gmail.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-05-04 11:32:34 -05:00
kernelkind
64904da5e8
add reqwest as dependency
...
Signed-off-by: kernelkind <kernelkind@gmail.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-05-02 18:51:28 +02:00
William Casarin
28e2e7edd5
Merge remote-tracking branch 'github/virtual-list'
2024-04-28 17:55:29 -07:00
William Casarin
26128c3456
use egui_virtual_list for rendering
...
absolutely insane performance increase
Fixes: https://github.com/damus-io/notedeck/issues/32
Suggested-by: @lucasmerlin
Signed-off-by: William Casarin <jb55@jb55.com>
2024-04-28 11:03:47 -07:00
William Casarin
69054d71ca
nip10: show initial reply information on notes
...
Using the newly merged nip10 code, we can show replies on notes!
This is not final, and it's actually different than how we do it in
Damus iOS. Not sure if I like it yet. We will likely have to put pubkey
information back in somewhere soon.
Signed-off-by: William Casarin <jb55@jb55.com>
2024-04-27 01:58:35 -07:00
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
cf07427204
Refactor 'ui tests' conception to previews
...
Signed-off-by: kernelkind <kernelkind@gmail.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-04-12 19:52:34 -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
4bd01682da
Add ui_test_harness binary implementation
...
Adds ability to run UI components isolated from main app.
`cargo run --bin ui_test_harness -- AccountLoginView`
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-04-01 10:15: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
William Casarin
81162a3d6e
nostrdb: bump to support timeline queries
...
This version of nostrdb supports timeline queries, so we can use
contact lists to query the timeline.
2024-03-21 14:31:38 +01:00
William Casarin
4a5a9d4319
black background
2024-03-09 01:21:07 -08:00
William Casarin
088d012c93
fix typo
2024-02-27 15:02:52 -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
c05d0713b7
cargo: rename to notedeck
...
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-11 12:49:11 -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
a51935b292
add wgpu again since I remove it by accident
...
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-10 15:18:53 -08:00
William Casarin
adc74dd7c9
home: move subscriptions to timeline
2024-02-10 14:56:44 -08:00
William Casarin
3925012ad9
android: pass in internal data path for db
...
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-10 13:57:46 -08:00
William Casarin
c3779510ec
Revert "android: attempt to get it working on really old versions"
...
This reverts commit e2b3004cb4
.
2024-02-09 18:55:25 -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