William Casarin
91016facc7
Merge Persist Columns #390
...
Fixed a few merge conflicts
kernelkind (2):
initial column storage
tmp remove DeckAuthor columns
2024-11-13 13:13:55 -08:00
William Casarin
94b97d247d
Merge Add External Notifications Column setting #395
...
kernelkind (2):
init external notifs column
use AcquireKeyState for AddColumn
2024-11-13 13:06:18 -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
kernelkind
412ba9b565
use AcquireKeyState for AddColumn
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-11-02 22:18:27 -04:00
kernelkind
529b76094c
init external notifs column
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-11-02 22:18:23 -04:00
kernelkind
ee5dd5426f
tmp remove DeckAuthor columns
...
we don't yet have logic for handling switching 'deck authors' and this
is causing two problems:
1. the column title isn't renamed when the selected account is changed
2. when saving a deck author column to disk and the account is switched
beforehand, it switches to the current deck author's column
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-30 13:46:00 -04: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
kernelkind
309477dca4
support view
...
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
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
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
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
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
kernelkind
a2fc754e1b
updated back arrow
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-08 21:38:43 -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
1bf9d5d934
title bar
...
add title bar to columns with title specific to the column type.
also add column deletion button
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-07 14:02:33 -04:00
kernelkind
45223dbc25
move get first router to Columns
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-01 12:59:00 -04:00
kernelkind
57069ff7c0
push column picker immediately to new column
...
instead of pushing to temporary column first
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-10-01 12:51:14 -04:00
kernelkind
ebe4bf3046
animate add column options
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-09-30 10:27:48 -04:00
kernelkind
80be174f41
add more add column options
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-09-30 10:27:48 -04:00
kernelkind
e2dd1b3298
remote sub new timeline
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-09-30 10:27:48 -04:00
kernelkind
731f206424
basic add column impl
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-09-30 10:27:48 -04:00
William Casarin
5ddeb0e383
remove dead code in side panel
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-09-26 13:49:51 -07:00
William Casarin
56af979c21
panel: rasterize damus logo
...
Image is set to double the pixel size to reduce artifacts.
Signed-off-by: William Casarin <jb55@jb55.com >
2024-09-26 13:43:53 -07:00
William Casarin
7fe3d5e99f
Merge side panel update #327
...
A few merge conflicts resolved, and changes the image to svg
kernelkind (7):
initial compose note view
change side panel width to 64.0
Add AnimationHelper
update sidebar to match new design
remove app from sidebar
remove profile_preview_controller
add logo to side panel
Closes: https://github.com/damus-io/notedeck/pull/327
2024-09-26 13:21:11 -07:00
kernelkind
9c572e18a3
add logo to side panel
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-09-26 13:17:21 -07:00
Ken Sedgwick
21298b43f5
hitbox: cache note size instead of rect
2024-09-26 12:52:12 -07:00
Ken Sedgwick
c25fde4a06
hitbox: handle hits on quoted notes correctly
2024-09-26 12:51:33 -07:00
Ken Sedgwick
5b7c9c9234
hitbox: extend the hitbox to the full width of the container
2024-09-26 12:42:57 -07:00
Ken Sedgwick
1f64350197
hitbox: more naming cleanup
2024-09-26 12:42:35 -07:00
William Casarin
dbb164970c
remove PostActionExecutor
...
Just use PostAction::execute
Signed-off-by: William Casarin <jb55@jb55.com >
2024-09-26 12:41:38 -07:00
William Casarin
d416044f47
context: set cursor icon on hover
...
So we know its clickable. I mean the animation signals that as well, but
still.
Signed-off-by: William Casarin <jb55@jb55.com >
2024-09-26 12:31:23 -07:00
William Casarin
5120686679
context: fix hitbox, float on far right
...
This updates the context menu to "float" instead of using the layout
engine. This is so that we don't take up an unnecessary amount of space
when we increase the hitbox height.
Signed-off-by: William Casarin <jb55@jb55.com >
2024-09-26 12:18:10 -07:00
William Casarin
2dba41186d
context: move note context button to its own file
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-09-26 10:51:08 -07:00
William Casarin
0c3b2ae817
note: switch to muted menu_options_button color
...
Otherwise it stands out too much
Signed-off-by: William Casarin <jb55@jb55.com >
2024-09-26 09:40:53 -07:00
William Casarin
a9cb734ef6
refactor: make options_button a NoteOptions
...
No reason why this needs to be a standalone bool
Signed-off-by: William Casarin <jb55@jb55.com >
2024-09-26 09:32:21 -07:00
William Casarin
1a94c21d96
refactor: remove processs_note_selection
...
Moved this to NoteOptionSelection::process
Signed-off-by: William Casarin <jb55@jb55.com >
2024-09-26 09:22:05 -07:00
kernelkind
171889b3aa
process 'more options' for previews
...
forgot to add this part
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-09-25 13:15:12 -04:00
kernelkind
e60793ff37
remove profile_preview_controller
...
no longer needed
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-09-24 16:52:58 -04:00
kernelkind
2832def161
remove app from sidebar
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-09-24 16:52:58 -04:00
kernelkind
0ea3132ee2
update sidebar to match new design
...
also adds interaction on hover & click
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-09-24 16:52:58 -04:00
kernelkind
d76678dffc
Add AnimationHelper
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-09-24 16:52:58 -04:00