Ken Sedgwick
091c638eb1
move RelayDebugView to notedeck crate and restore --relay-debug
2025-02-06 12:25:37 -08:00
William Casarin
ac10c7e5b2
hashtags: click hashtags to open them
...
Fixes: https://github.com/damus-io/notedeck/issues/695
Fixes: https://github.com/damus-io/notedeck/issues/713
Changelog-Added: Add ability to click hashtags
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-05 18:43:09 -08:00
William Casarin
0cc1d8a600
Switch to unified timeline cache via TimelineKinds
...
This is a fairly large rewrite which unifies our threads, timelines and
profiles. Now all timelines have a MultiSubscriber, and can be added
and removed to columns just like Threads and Profiles.
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-05 18:30:45 -08:00
William Casarin
ed455f7ea4
add tokenator crate
...
also remove a lot of the "advanced" token parsing style
which was a bit too verbose for my tastes
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-04 08:08:08 -08:00
William Casarin
00ef3082f3
tokens: add a more advanced tokens parser
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-04 08:08:08 -08:00
William Casarin
efa5b7e32f
token_parser: simplify AddColumnRoute serialization
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-04 08:08:08 -08:00
William Casarin
4f89d95aef
token_serializer: introduce TokenWriter
...
This simplifies token serialization
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-04 08:08:08 -08:00
William Casarin
61b3a92792
token_parser: unify parsing and serialization
...
This reduces the number of things we have to update in our token parser
and serializer. For payloads, we we have to handle the payload cases
different, but we now have a structure that can deal with that
efficiently.
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-04 08:08:08 -08:00
William Casarin
005ecd740d
Initial token parser combinator
...
In an attempt to make our deck serializer more localized,
comprehensible, and less error-prone, we introduce a new parser
combinator based around string tokens.
This replaces the Selection-based intermediary types so that we have a
more direct serialization style.
2025-02-04 08:08:08 -08:00
William Casarin
662755550f
wip algo timelines
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-04 08:08:08 -08:00
William Casarin
9dd33d5c5b
pfp: 4.0 stroke, add border_stroke method
...
This reduces code duplication, and makes the border a bit cleaner
so that it blends into the panel color
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-03 20:24:51 -08:00
William Casarin
96481a47f3
pfp: remove border except for profile
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-03 19:45:32 -08:00
William Casarin
635c9770de
Merge 'add border behind pfp' #597
...
Hello new contributor!
jglad (4):
#597 add border behind pfp
replace with full circle border
make optional
fix formatting
2025-02-03 19:34:10 -08:00
kernelkind
623b4617d2
move login help text below TextEdit
...
closes: https://github.com/damus-io/notedeck/issues/687
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-02-03 15:30:32 -05:00
William Casarin
f8f3676450
clippy fixes
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-03 11:38:55 -08:00
kernelkind
2b7d66e7ae
add deck icon hover tooltip with deck name
...
closes: https://github.com/damus-io/notedeck/issues/691
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-02-03 14:32:39 -05:00
Derek Ross
baf1dc0d7e
fix: change word verification to identification
2025-01-31 19:52:17 -05:00
Derek Ross
582a43e9f4
fix: updated NIP-05 verification to Nostr address
2025-01-31 19:47:59 -05:00
jglad
cd72cc36e8
fix formatting
2025-01-31 08:41:25 +01:00
jglad
803f427f77
make optional
2025-01-30 19:14:02 +01:00
jglad
a0f2521bdd
replace with full circle border
2025-01-29 18:19:42 +01:00
jglad
a70817743a
#597 add border behind pfp
2025-01-28 18:10:21 +01:00
William Casarin
6dd0e5207e
Merge image uploading from kernel
...
kernelkind (8):
upload media button
get file binary
import base64
notedeck_columns: use sha2 & base64
use rfd for desktop file selection
add utils for uploading media
draft fields for media upload feat
ui: user can upload images
2025-01-25 16:17:11 -08:00
William Casarin
0c3db9a31e
Merge additional account relay list improvements from Ken
...
Ken Sedgwick (1):
additional account relay list improvements
2025-01-25 16:16:03 -08:00
William Casarin
8ad9ad20ba
Merge clippy fixes from Dimitris
...
Dimitris Apostolou (1):
Fix clippy warnings
2025-01-25 16:15:13 -08:00
William Casarin
8a87791594
morenotes: show pointer on hover
...
all clickable things should show pointers
Cc: kernel
2025-01-25 16:06:32 -08:00
kernelkind
5b0068e6cb
add more notes indicator
...
closes: https://github.com/damus-io/notedeck/issues/72
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-25 17:48:34 -05:00
kernelkind
7abf1c9c15
ui: user can upload images
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-24 15:43:48 -05:00
kernelkind
1a0e232176
upload media button
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-24 15:43:48 -05:00
Dimitris Apostolou
2c8f6298b8
Fix clippy warnings
...
Signed-off-by: Dimitris Apostolou <dimitris.apostolou@icloud.com >
2025-01-24 19:32:24 +02:00
Ken Sedgwick
1e0801f54b
additional account relay list improvements
...
- Use the current selected account only to determine desired
relays. Previously the desired relay list was determined from the
union of all accounts.
- Update the relay configuration immediately when the user switches accounts.
- Delete relays from the account (instead of the relay pool
directly). This results in the relay being removed in the pool as
well, but is persisted correctly.
2025-01-23 16:07:49 -08:00
Ken Sedgwick
94a1d78114
publish NIP-65 relay lists
2025-01-22 15:16:08 -08:00
Ken Sedgwick
fe3e2dad14
add Accounts::add_advertised_relay
2025-01-21 16:03:44 -08:00
Ken Sedgwick
e436be400e
add add relay GUI
2025-01-21 12:21:13 -08:00
greenart7c3
2901ba8227
Fix side panel color when using light theme
2025-01-20 15:11:03 -03:00
William Casarin
4b542c0a74
switch to TimelineCache
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-01-19 14:18:59 -08:00
William Casarin
e4732f5112
grip: fix double frame border
2025-01-15 14:00:08 -08:00
William Casarin
8fbe954cf3
adjust context menu/grip circle sizes
...
also adjust grip position so that it is more right
2025-01-15 13:48:53 -08:00
William Casarin
3b68e285fb
grip: show pointer cursor on grip
2025-01-15 13:48:33 -08:00
kernelkind
5043f00eb3
update colors
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-15 16:09:29 -05:00
kernelkind
ec7de41cc3
toggle move tooltip on button press
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-15 16:09:29 -05:00
kernelkind
23d65898aa
use replace move icon with grab
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-15 16:09:29 -05:00
kernelkind
1914fafc68
integrate column moving
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-15 16:09:29 -05:00
kernelkind
1d6da3ba0d
move columns ui
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-15 16:09:29 -05:00
William Casarin
e08e30f912
mutes: simplify mutefun and don't render tombstone yet
2025-01-04 16:19:41 -08:00
William Casarin
212c296da5
Merge tombstone muted notes #606
...
Changelog-Changed: Tombstone muted notes
2025-01-04 14:16:16 -08:00
William Casarin
16b20568da
Merge relay debug view
...
Fix a few conflicts
2025-01-04 13:54:29 -08:00
William Casarin
e1187c372f
Merge profiling editing #625
...
Changelog-Added: Added profile editing
2025-01-04 13:18:31 -08:00
kernelkind
6645d4880f
integrate EditProfileView
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-04 13:42:52 -05:00
William Casarin
fe6206c546
Note multicasting
...
This is an initial implementation of note multicast, which sends posted
notes to other notedecks on the same network.
This came about after I nerd sniped myself thinking about p2p nostr on
local networks[1]
You can test this exclusively without joining any other relays by
passing -r multicast on the command line.
[1] https://damus.io/note1j50pseqwma38g3aqrsnhvld0m0ysdgppw6fjnvvcj0haeulgswgq80lpca
Signed-off-by: William Casarin <jb55@jb55.com >
2025-01-04 10:37:11 -08:00