William Casarin
29da910534
android: fix build
...
Fixes: 2f20e8253e ("app: simplify Damus::new constructor")
Signed-off-by: William Casarin <jb55@jb55.com >
2024-11-13 12:10:02 -08:00
William Casarin
804a7f0bf9
test: add args column test
...
Adding a testcase for a bug I noticed on another branch
Signed-off-by: William Casarin <jb55@jb55.com >
2024-11-13 10:55:14 -08:00
William Casarin
19d790fce0
timeline: add TimelineKind equality
...
we will be using these for tests
Signed-off-by: William Casarin <jb55@jb55.com >
2024-11-13 10:55:14 -08:00
William Casarin
9801a20429
storage: simplify imports
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-11-13 10:55:14 -08:00
William Casarin
d1059d9480
bin: extract logging setup into its own function
...
a little bit less messy
Signed-off-by: William Casarin <jb55@jb55.com >
2024-11-13 10:55:14 -08:00
William Casarin
2f20e8253e
app: simplify Damus::new constructor
...
Just take an egui::Context instead of an eframe::CreationContext.
This should make it easier to test the app via egui::Context::default();
Signed-off-by: William Casarin <jb55@jb55.com >
2024-11-13 10:53:29 -08:00
William Casarin
fab1257f6e
paths: remove hardcoded basepath
...
Before we were hardcoding the basepath with dirs, which isn't that
useful for testing, previews, or for android. Let's fix that.
This also moves the db and cache directories into our root DataPaths.
This is a breaking change, we don't have a migration step. sorry.
Signed-off-by: William Casarin <jb55@jb55.com >
2024-11-13 09:55:56 -08:00
William Casarin
6c9693dbf0
github: disable --all-features for now
...
Since some things are broken
Signed-off-by: William Casarin <jb55@jb55.com >
2024-11-13 09:55:56 -08:00
William Casarin
702f8ffca3
Merge a few relay fixes from ken
...
Pick a few fixes from #380
Link: https://github.com/damus-io/notedeck/pull/380
Ken Sedgwick (5):
build: Cargo.lock updates to mitigate num_enum_derive problem
add .rustfmt.toml to specify edition
Fix parsing of subscription id for RelayMessage::Event
Skip adding relays that are already in the pool
canonicalize relay urls to avoid false duplicates
2024-11-11 11:19:56 -08:00
Ken Sedgwick
877a30d2f6
Enable file_key_storage on Android
2024-11-11 10:14:42 -08:00
Ken Sedgwick
050c6e39de
Merge pull request #389 from ksedgwic/2024-10-fix-rust-log-env
...
Restore RUST_LOG filtering, default to INFO if absent
2024-11-07 14:35:12 -06:00
Ken Sedgwick
ae4b7750cc
Restore RUST_LOG filtering, default to INFO if absent
2024-10-30 10:39:51 -07:00
Ken Sedgwick
570d64c3cd
canonicalize relay urls to avoid false duplicates
2024-10-29 13:42:29 -07:00
Ken Sedgwick
e166dc17ef
Skip adding relays that are already in the pool
2024-10-29 13:42:28 -07:00
Ken Sedgwick
26cb1a2c07
Fix parsing of subscription id for RelayMessage::Event
2024-10-29 13:42:28 -07:00
Ken Sedgwick
76df286837
add .rustfmt.toml to specify edition
2024-10-29 13:42:27 -07:00
Ken Sedgwick
2baf9dfed0
build: Cargo.lock updates to mitigate num_enum_derive problem
2024-10-29 13:42:26 -07:00
kernelkind
503b7edeb5
use open instead of egui OpenUrl for mailto link
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-28 17:02:40 -04:00
William Casarin
1476be48cc
Merge 'Support view, key storage'
...
kernelkind (5):
file storage
write log files to disk daily and on panic
app window size persists on app close
support view
fix cmd line args bug
2024-10-28 13:30:16 -07:00
kernelkind
0c7b5e7e59
fix cmd line args bug
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-28 15:30:44 -04:00
kernelkind
309477dca4
support view
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-25 15:23:35 -04:00
kernelkind
03bfb34172
app window size persists on app close
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-25 15:23:35 -04:00
kernelkind
d3b4a9efc1
write log files to disk daily and on panic
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-25 15:23:35 -04:00
kernelkind
4f86e9604f
file storage
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-25 15:23:35 -04:00
William Casarin
d729823f33
Merge 'Update account_login_view.rs' #366
...
alltheseas (1):
Update account_login_view.rs
2024-10-22 10:35:57 -07:00
alltheseas
f83eb38342
Update account_login_view.rs
...
Changed "enter your key here" to include specific reference to npub, nsec, and nip05 as to show login options to the notedeck customer.
New text: "Enter your public key (npub, nip05), or private key (nsec) here..."
2024-10-18 12:11:32 -05:00
William Casarin
a2a8a9f66d
cargo fmt
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-10-16 08:52:43 -07:00
William Casarin
b803693449
Merge Profile View
...
Noticing a small delay when clicking on macos with large nostrdb, still
need to investigate
kernelkind (14):
init profile routing
add profile preview and implement scrolling
profile unsub
click on thread pfp
consolidate timelineTab ui to TimelineTabView
generify Threads
profile struct
integrate profile view caching
proper timelineTabs
revert timeline no_scroll stuff
fix unnecessary copy every frame
reword comments and logs thread -> NotesHolder
rename TimelineResponse -> ColumnNoteResponse
NoteActionResponse for note preview pfp clicking
2024-10-16 08:42:18 -07:00
William Casarin
1a490eb069
use stable toolchain
...
this was overriding rustup to use nightly
Signed-off-by: William Casarin <jb55@jb55.com >
2024-10-16 08:41:31 -07:00
kernelkind
eedb4e1297
NoteActionResponse for note preview pfp clicking
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-15 13:21:39 -04:00
kernelkind
2d7da83872
rename TimelineResponse -> ColumnNoteResponse
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-15 12:35:06 -04:00
kernelkind
54d49f0110
reword comments and logs thread -> NotesHolder
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-15 11:54:05 -04:00
kernelkind
0a077ae797
fix unnecessary copy every frame
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-15 11:45:13 -04:00
kernelkind
e5ba897ce6
revert timeline no_scroll stuff
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-15 11:22:48 -04:00
kernelkind
dcb6620ddd
proper timelineTabs
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-14 17:39:10 -04:00
kernelkind
6ffe33e924
integrate profile view caching
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-14 13:29:36 -04:00
kernelkind
705a4bdf05
profile struct
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-14 13:29:36 -04:00
kernelkind
780fba3093
generify Threads
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-14 13:29:31 -04:00
kernelkind
d11d8aa9d0
consolidate timelineTab ui to TimelineTabView
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-14 10:58:43 -04:00
kernelkind
34aef30fed
click on thread pfp
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-11 17:58:29 -04:00
kernelkind
8e6a982843
profile unsub
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-11 17:47:03 -04:00
kernelkind
ce3f24abcd
add profile preview and implement scrolling
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-11 16:37:17 -04:00
kernelkind
44948fdff0
init profile routing
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-11 16:37:17 -04:00
William Casarin
54dcbd724b
Merge 'column titlebar #345 '
...
William Casarin (2):
update to use upstream egui-nav branch
kernelkind (13):
basic add column impl
remote sub new timeline
add more add column options
animate add column options
push column picker immediately to new column
move get first router to Columns
tmp use kernelkind egui-nav
title bar
unsubscribe timeline on deletion
fix deck author bug & rename titles
tmp: kernelkind/egui-nav
updated back arrow
tmp: kernelkind/egui-nav
2024-10-11 12:56:15 +02:00
William Casarin
f7c6e2774e
update to use upstream egui-nav branch
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-10-11 12:54:49 +02:00
kernelkind
b1549a52c7
tmp: kernelkind/egui-nav
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-08 21:43:31 -04:00
kernelkind
a2fc754e1b
updated back arrow
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-08 21:38:43 -04:00
kernelkind
983640b85a
tmp: kernelkind/egui-nav
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-08 21:37:16 -04:00
kernelkind
ee5aa32469
fix deck author bug & rename titles
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-08 19:10:25 -04:00
kernelkind
0d994172a0
unsubscribe timeline on deletion
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-07 14:02:37 -04:00