1772 Commits

Author SHA1 Message Date
William Casarin 8f3ec342c4 note: render mentions
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-10 18:46:52 -08:00
William Casarin 377b1eb935 note: add render_note_contents stub
We will be using this for our note contents renderer

Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-10 17:13:31 -08:00
William Casarin 5317341080 name: don't render display_name first if its empty
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-10 17:13:13 -08:00
William Casarin 3e96f815b1 apply cargo warning suggested fixes
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-10 16:19:31 -08:00
William Casarin 83571aaf88 note: show non-displayname if we have it
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-10 16:14:52 -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 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 b3d8ef373a profiles: fetch missing profiles when receiving notes 2024-02-10 15:11:10 -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 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 fd0a14eac2 initial fixes for android build
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-09 18:55:12 -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 4eaf17897e restore top panel behavior
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-09 18:22:24 -08:00
William Casarin f323fe7379 LOCAL RELAY MODEL IS WORKING
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-09 16:59:49 -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 1262c4e1f7 gitignore: ignore db files
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-07 15:47:00 -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 74ce87049d local nostrdb subscriptions working
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-07 15:18:23 -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 7d75570c12 make: fix tags 2024-02-07 12:13:05 -08:00
William Casarin 243f6cecd7 add enostr->nostrdb filter conversions
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-07 12:06:59 -08:00
William Casarin 95c836b375 update to latest egui
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-07 12:06:28 -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 9a9bb13e08 enostr: use data instead of strings in Pubkey and EventId
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-07 12:02:13 -08:00
William Casarin 6c2c352e6f enostr: update deps
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-07 12:01:58 -08:00
William Casarin da3ee989fe fonts: use gossip's font loading code for testing 2024-01-04 07:59:44 -08:00
William Casarin 16323abe93 assets: add some fonts
some taken from gossip for testing
2024-01-04 07:59:28 -08:00
William Casarin 596a8030d1 rename main -> notedeck 2024-01-04 07:24:35 -08:00
William Casarin f425f72fd1 build: add small profile 2024-01-04 07:24:35 -08:00
William Casarin 548325c478 only add kind1 to timeline 2023-12-24 18:14:06 -08:00
William Casarin 5b67a53b61 render only 50 events for now until we have infinite scroll 2023-12-24 18:14:06 -08:00
William Casarin f46797ea10 net: geometric backoff connection retries on disconnects 2023-12-24 14:24:22 -08:00
William Casarin 6dee4bbe7d timeline: add new notes at the start
still need proper insert logic based on created date
2023-12-24 14:24:22 -08:00
William Casarin b8357d840b log: remove "woke up" log. it's annoying 2023-12-24 14:24:22 -08:00
William Casarin 20bc99e511 Revert "Update README.md"
This is an outdated page

This reverts commit ad8acf47c5.
2023-12-24 12:40:15 -08:00
William Casarin 17ec0c0a99 pool: process all events as soon as possible
before we were only processing one event per frame. This ensured that
not too much time is spent processing events in a single frame.
Unfortunately since we don't have persistent frame rendering, this is
not reliable.

We can look into limiting the number of events processed per frame if
message processing gets heavy.
2023-12-24 12:34:17 -08:00
William Casarin 09cd8ff379 pool: implement keepalive pinging
To prevent us from disconnecting, introduce keepalive pinging. In the
event loop we check if any relays need a refresh ping.
2023-12-24 12:34:17 -08:00
William Casarin dd7093288b relay: add ping method
we will use this to ping relays
2023-12-24 12:34:17 -08:00
William Casarin db68ae6280 log: chop some noisy logs 2023-12-24 12:34:17 -08:00
William Casarin ab2633e038 ui: brighter timeline text
We still need to make the username bolder
2023-12-24 12:34:17 -08:00
William Casarin de5d7c4088 viewport scroll rendering experiments 2023-12-24 12:34:17 -08:00
William Casarin e2b3004cb4 android: attempt to get it working on really old versions 2023-12-24 12:34:17 -08:00
alltheseas ad8acf47c5 Update README.md
Added Android Funding info
2023-12-17 10:49:33 -06:00
0xb10c 433558509f add cargo-apk and aarch64-linux-android target
I tried the nix-shell and that's what was missing for me to build the
apk. The desktop app worked out of the box.

Closes: https://github.com/damus-io/android/pull/1
Reviewed-by: William Casarin <jb55@jb55.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2023-11-29 10:27:12 -08:00
William Casarin 460781d40e compilation instructions 2023-11-28 20:43:40 -08:00
William Casarin b5e0ffa4f0 framed shot 2023-11-28 20:38:39 -08:00
William Casarin 239f6917bb fix image 2023-11-28 20:35:53 -08:00
William Casarin 6b13279000 smaller image 2023-11-28 20:35:17 -08:00