kernelkind
4baa7b2ef3
use preview
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-03 18:39:35 -05:00
kernelkind
eac24ac982
get bolded font helper
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-03 18:39:35 -05:00
kernelkind
d6f81991ab
refactor banner
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-03 18:39:35 -05:00
kernelkind
a1236692e5
profile edit UI
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-03 18:39:35 -05:00
kernelkind
a1520fec7e
edit profile button
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-03 18:39:35 -05:00
kernelkind
45d07cc432
profile view improvements
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-03 18:39:35 -05:00
kernelkind
a7cfe9bd37
refactor DisplayName -> NostrName
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-03 18:39:35 -05:00
kernelkind
df82e08041
remove unused code
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-03 18:39:35 -05:00
kernelkind
a99dad7e9a
profile body
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-03 18:39:35 -05:00
kernelkind
2dde3034a1
refactor profile
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-03 18:39:35 -05:00
William Casarin
eeab1666e7
query: fix since filter on kind queries
...
Before kind queries with since filters wasn't working. Now it does.
Changelog-Fixed: Fixed since kind filters
2024-12-30 11:41:30 -08:00
William Casarin
f569f948af
nixos: fix wayland
...
Suggested-by: @duck1123
Fixes : #609
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-24 21:32:03 -08:00
kernelkind
55cc8e4f1d
Delete column confirmation
...
Changelog-Changed: Add confirmation when deleting columns
Closes: https://github.com/damus-io/notedeck/pull/608
Fixes: https://github.com/damus-io/notedeck/issues/549
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-12-24 16:28:26 -08:00
kernelkind
588bb8c5b2
use hashtag icon in hashtag col header
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-12-23 16:15:08 -05:00
kernelkind
d7e7c75b89
use hashtag icon
...
closes https://github.com/damus-io/notedeck/issues/490
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-12-23 15:37:56 -05:00
William Casarin
6d1d28c84b
lockfile: update
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-20 15:40:19 -08:00
William Casarin
fcac49a0a5
previews: run previews as notedeck apps
...
This allows ./preview to be a notedeck app runner. I am currently
using it for the ProfilePic app (which will because notedeck_viz)
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-20 15:39:26 -08:00
William Casarin
475314da75
columns: navigate back when switching account
...
Fixes: https://github.com/damus-io/notedeck/issues/600
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-20 13:54:20 -08:00
William Casarin
40c5dbf418
timeline: only show one tab in hashtag timeline
2024-12-19 09:52:56 -08:00
William Casarin
ca988165cc
column: show pointer button on hover
2024-12-19 09:08:52 -08:00
William Casarin
8025be823a
ui: customizable tabs per column view
...
This reduces the number of choices the user needs to make. Some of these
filters were redundant anyways. This also saves memory.
Universe: Notes
Notificaitons: Notes & Replies
Everything else: Notes, Notes & Replies
Changelog-Changed: Simplified tab selections on some columns
Fixes: https://github.com/damus-io/notedeck/issues/517
2024-12-19 08:48:07 -08:00
William Casarin
cb2330abac
refactor: move reply_desc into its own file
...
it's grown up enough now to deserve that at least
2024-12-19 07:58:43 -08:00
William Casarin
5449d6ceb5
note: options: streamline bit macro
...
Include has method in the bit note options macro
2024-12-19 07:49:56 -08:00
William Casarin
ef8d5b73ee
columns: remove dead code
2024-12-19 07:31:40 -08:00
William Casarin
6fa6a5733e
timeline: auto-add yourself to your home timeline
...
This is the most intuitive, and damus iOS does the same thing. You
have to follow yourself, sorry. Otherwise you won't see your posts
when you post which is confusing.
Fixes: https://github.com/damus-io/notedeck/issues/509
2024-12-19 07:21:15 -08:00
William Casarin
09d6568ef9
ui: make reply description mentions clickable
...
Small oversight from previous changes
2024-12-18 14:55:11 -08:00
William Casarin
11274ac4df
nav: make back nav faster
...
Changed the egui-nav spring function so its now so slow near the
end of the aniation.
Fixes: https://github.com/damus-io/notedeck/issues/595
2024-12-18 13:04:09 -08:00
William Casarin
f693bb54c1
fix weird crash with missing timeline
...
My timeline wen't missing and then I started crashing here..
bizarre
2024-12-18 13:03:51 -08:00
kernelkind
785d102e80
show profile preview for external pubkeys
...
Closes: https://github.com/damus-io/notedeck/pull/589
Signed-off-by: kernelkind <kernelkind@gmail.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-18 11:05:08 -08:00
kernelkind
544a41e695
helper method for FontId
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-18 11:05:03 -08:00
kernelkind
3295124915
prepare AcquireKeyState for add column extern UI
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-18 11:04:53 -08:00
William Casarin
f748b8b34a
profile: fix avatar alignment in profile previews
...
Changelog-Fixed: Fix avatar alignment in profile previews
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-17 14:43:46 -08:00
William Casarin
4967f64bb6
ui: show note previews when hovering reply descriptions
...
Preview: https://cdn.jb55.com/s/bef26a2caf09e952.png
Demo: https://cdn.jb55.com/s/hover-preview-2.mp4
Changelog-Added: Show note previews when hovering reply descriptions
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-17 14:43:46 -08:00
William Casarin
5a241d730e
mentions: open profile page when clicking a user mention
...
Fixes: https://github.com/damus-io/notedeck/issues/588
Changelog-Added: Clicking a mention now opens profile page
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-17 12:33:10 -08:00
William Casarin
80982059fc
ui: fix repost button size
...
triggering ocd
Changelog-Fixed: Fix repost button size
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-17 12:32:58 -08:00
William Casarin
59dec0c066
ui: show cursor when hovering pfp
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-17 12:21:40 -08:00
William Casarin
ed5b1c4cf4
mention: change ?? to @???
...
More consistent with the other label
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-17 12:21:40 -08:00
William Casarin
49fe7ae5c7
ui: add show_pointer
...
For showing the cursor when hovering over a clickable thing. We need
this in more places.
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-17 11:52:28 -08:00
William Casarin
482a3cb818
columns: move from Cow<'static, str> to ColumnTitle<'a>
...
This further deliminates our column titles to those that are simple,
and to those that require additional information from the database.
This allows us to avoid creating many transactions pointlessly if we
don't need to.
Changelog-Changed: Show usernames in user columns
2024-12-17 10:20:59 -08:00
William Casarin
47e0b0ed52
nostrdb: update to fix sub memleak
2024-12-17 09:19:35 -08:00
kernelkind
69a6bf3664
column: add individual column
...
A column for following a single user
Closes: https://github.com/damus-io/notedeck/pull/583
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-12-17 09:19:16 -08:00
kernelkind
5b4c7a6371
deps: ignore packages dir
...
Closes: https://github.com/damus-io/notedeck/pull/583
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-12-17 09:13:36 -08:00
Ken Sedgwick
0c29c89909
need mutable ndb reference to unsubscribe
...
Closes: https://github.com/damus-io/notedeck/pull/584
2024-12-17 08:57:06 -08:00
Ken Sedgwick
926a3f80f4
ndb.get_notekey_by_id now returns NoteKey
...
Closes: https://github.com/damus-io/notedeck/pull/584
2024-12-17 08:57:04 -08:00
Ken Sedgwick
e1a55c6532
update nostrdb-rs for async stream support
...
Closes: https://github.com/damus-io/notedeck/pull/584
2024-12-17 08:56:48 -08:00
Ken Sedgwick
7da98b3c5c
fix android build with cargo update num_enum@0.7.3
...
Compiling num_enum v0.7.3
error[E0463]: can't find crate for `num_enum_derive`
Closes: https://github.com/damus-io/notedeck/pull/584
2024-12-17 08:56:45 -08:00
Ken Sedgwick
553a88d574
android: use more app top margin for android
...
A more refined solution would query the android environment for the
system bar height ...
Closes: https://github.com/damus-io/notedeck/pull/585
Reviewed-by: William Casarin <jb55@jb55.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-17 08:52:39 -08:00
William Casarin
18226a35ff
android: fix build
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-14 01:51:56 -08:00
William Casarin
1e0228e396
Fix notes note updating in profile view
...
Fixes: https://github.com/damus-io/notedeck/issues/576
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-14 00:06:33 -08:00
William Casarin
e5ab8d5b9c
nostrdb: update to fix profile queries
...
before profile queries were not working at the database level,
because there was no note_pubkey or note_pubkey_kind index. Now there
is! So profiles should be much faster to query now, and will actually
return results.
There still appears to be an issue with the profile NotesHolder which
is preventing it from updating, via the logic in poll_notes_into_view.
The original Timeline version of this function works fine, but it looks
like the NotesHolder one is broken.
Going to work on refactoring the notes holder next to fix.
Signed-off-by: William Casarin <jb55@jb55.com >
2024-12-13 23:35:08 -08:00