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
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
William Casarin
4ceee7036e
android branch
2023-11-28 20:34:03 -08:00
William Casarin
99e6d74fbc
ui: add initial post composition window
...
This is just for testing for now. This will be redesigned.
2023-11-26 16:40:21 -08:00
William Casarin
25d3403851
nix: fix pkg-config
2023-11-26 16:39:07 -08:00
William Casarin
0400b94769
add padding to top panel on mobile
2023-07-09 14:21:01 -07:00
William Casarin
a618da3ed7
show fps on top panel
2023-07-09 14:20:50 -07:00
William Casarin
800ab26cb4
add frame_history helper from egui
2023-07-09 14:08:25 -07:00
William Casarin
ce6f5c6c11
add temporary release keystore
2023-07-09 12:29:39 -07:00
William Casarin
2526f8001c
make sure it's still working on android
2023-07-09 12:17:54 -07:00
William Casarin
6232a8429e
timeline: add ui_abbrev_name
...
This is a simple and fast function for abbreviating usernames in the
timeline. If they are too large they make the timeline too wide. We'll
probably need to make this adjustable based on the timeline width, but
this is ok for now.
Changelog-Added: Abbreviate usernames in timelines
2023-07-09 11:13:01 -07:00
William Casarin
a0be5f0173
desktop -> notedeck
2023-07-06 19:42:51 -07:00
William Casarin
ad8bc9e6c3
enostr: add initial note code
2023-07-06 19:38:49 -07:00
William Casarin
41c36ac7ba
fix fmt warning
2023-07-06 19:37:48 -07:00
William Casarin
41ba6f657d
add default name placeholder
2023-07-06 19:37:25 -07:00
William Casarin
aaef51de47
make spinner the correct size
...
todo: refactor these
2023-07-06 19:37:06 -07:00
William Casarin
f95abc50b7
add puffin profiling
2023-07-06 19:36:54 -07:00
William Casarin
658f2fdf42
remove bg_color
2023-07-06 19:36:29 -07:00
William Casarin
684bc5f913
eventid: asref implementation
2023-07-06 19:36:12 -07:00
William Casarin
6d0aa0e09c
nix: use_android flag
2023-07-06 19:36:01 -07:00
William Casarin
80c06e4ec4
pool: fix some warnings when targeting wasm
2023-07-06 19:35:45 -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
7b26948101
bump
2023-07-06 14:39:44 -07:00
William Casarin
d46f6ec1eb
fix light mode
2023-07-06 14:38:15 -07:00
William Casarin
53c8ee0403
design: remove extra scrollbars, move toward design
2023-07-06 14:15:16 -07:00
William Casarin
5fec8bd079
resizable ui
2023-07-06 13:10:28 -07:00
William Casarin
12dbdf6043
upgrade to egui 0.22.0
2023-07-06 11:21:18 -07:00
William Casarin
f7c1429dd0
Revert "text: make content selectable"
...
Can't drag as easy with selectable timeline text
This reverts commit f5b7b0b1b8 .
2023-07-06 10:45:26 -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
f5b7b0b1b8
text: make content selectable
2023-07-06 10:11:04 -07:00
William Casarin
813a2af578
update readme
2023-07-06 08:42:09 -07:00
William Casarin
e17b73abab
Profile picture processing
...
This is still single-threaded, so perf is pretty bad. Will need to think
about how to do this more efficiently in a web context where we don't
have threading.
2023-07-06 08:40:50 -07:00
William Casarin
453e8b7002
trunk: notedeck
2023-07-06 08:40:50 -07:00
William Casarin
7ff6ca17ce
makefile for building tags
2023-07-06 08:40:50 -07:00
William Casarin
af39a3a594
nix: turn off android for now
2023-07-05 16:40:49 -07:00
William Casarin
898ccfb132
switch to shatter
2023-07-05 16:40:40 -07:00
William Casarin
a10bd4e4cb
add license
2023-07-05 14:56:14 -07:00
William Casarin
5866763141
bump deps
2023-07-05 14:55:23 -07:00
William Casarin
a99056edf2
fonts: change font to onest
2023-07-05 14:53:44 -07:00
William Casarin
f7c5fd0cfc
fonts: add onest
2023-07-05 14:53:25 -07:00
William Casarin
3033943e52
parser: add utf8 seeking functions
...
useful for peeking the previous utf8 char on a 0-copy utf8 buffer view
2023-07-01 11:27:47 -07:00
William Casarin
cc043a4ec3
check script
2023-07-01 11:26:33 -07:00
William Casarin
bf7123df10
codename is domus for now
2023-07-01 11:25:55 -07:00
William Casarin
a341d511e7
add env_logger
2023-07-01 11:23:54 -07:00
William Casarin
62301a1218
parser: add fast utf8 parsing
2023-06-30 16:30:53 -07:00
William Casarin
d591c694dd
Add simple parser
...
Just getting warmed up. This will be used for note parsing.
2023-06-28 23:24:47 -04:00
William Casarin
45bae77a09
boop
2023-06-28 21:31:43 +02:00
William Casarin
44fd75167e
add From<&str> for Pubkey
2023-06-28 21:30:02 +02:00
William Casarin
9a3a01f405
contact name
2022-12-16 00:48:15 -08:00
William Casarin
2aa482344b
customize colors a bit
2022-12-16 00:16:20 -08:00
William Casarin
0c43677c54
Update readme
2022-12-13 18:55:55 -08:00
William Casarin
0138dc8d3d
default pfp
...
This will eventually be a local file. For now just load it remotely.
2022-12-12 14:51:57 -08:00
William Casarin
48af3dde9d
many improvements
2022-12-12 14:33:37 -08:00
William Casarin
e629402d11
initial real data rendering working
2022-12-11 18:56:41 -08:00
William Casarin
98adb82e56
receiving initial messages!
2022-12-11 18:34:43 -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
3f64dedf76
I dunno
2022-12-01 07:20:58 -08:00
William Casarin
641c339682
get it working on all platforms again
2022-11-30 11:57:06 -08:00
William Casarin
a471462ca3
android: can I has internet
2022-11-30 11:23:47 -08:00
William Casarin
adb2a4ecb4
some more misc updates
2022-11-30 11:16:26 -08:00
William Casarin
7e539c639b
fix render resume on android
2022-11-30 11:12:01 -08:00
William Casarin
1fe860421b
don't panic if we ever fail to lock here
2022-11-30 11:10:49 -08:00
William Casarin
ad1a1dd774
no idea why this is working now
2022-11-29 19:01:04 -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
8d0bfdfb24
dominus demo
2022-11-07 00:11:21 -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