William Casarin
4133570c2e
ui: simply hide post button if buffer is empty
...
Fixes: 8464a1d22c ("disable post button if draft buffer empty")
Signed-off-by: William Casarin <jb55@jb55.com >
2024-11-22 12:59:38 -08:00
kernelkind
8464a1d22c
disable post button if draft buffer empty
...
closes: https://github.com/damus-io/notedeck/issues/417
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-11-21 15:27:19 -05:00
William Casarin
7f234935cc
refactor: unify note, post and nav actions
...
There was a bunch of redundant responses. Let's unify them under
the RenderNavAction enum. We unify all action processing under this
type.
This also centralizes all of our side effects into a single function
instead of scattering them everywhere
2024-11-19 18:43:09 -08: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
kernelkind
6e77d20197
address PR comments
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-09-18 11:26:41 -04:00
kernelkind
de9e0e4ca1
post quote reposts impl
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2024-09-18 11:26:40 -04:00
William Casarin
00091c5088
Switch to Columns
...
Also refactor damus app usage to only pass in things that we need in views.
Signed-off-by: William Casarin <jb55@jb55.com >
2024-09-11 15:49:34 -07:00
William Casarin
4a4fb06425
split is_mobile to is_narrow and is_oled
...
is_mobile doesn't really make sense for android tablets. We were
overloading this variable to mean "is_narrow". What we really want is
is_oled for mobile devices and is_narrow for if its phone-like.
Signed-off-by: William Casarin <jb55@jb55.com >
2024-09-06 21:54:48 -07:00
William Casarin
1024affdbd
actionbar: add thread button for testing
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-07-31 13:51:24 -07:00
William Casarin
3fc73bb601
post: full available width
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-07-01 07:31:29 -07:00
William Casarin
a04df88ff6
initial note posting
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-07-01 06:49:12 -07:00
William Casarin
26c4d90be3
initial postbox for testing
...
not sure if we want to put this here yet, but it matches the design
and will be useful for testing
Fixes: https://github.com/damus-io/notedeck/issues/110
Suggested-by: Rob
2024-06-25 14:08:56 -05:00
William Casarin
0b3d6f7e37
initial post reply view
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-06-21 14:01:40 -07:00
William Casarin
ac0821db79
postbox: add focus shadow from figma
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-06-21 10:14:34 -07:00
William Casarin
b0c5d2a2c5
postbox: add focused state
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-06-21 09:01:14 -07:00
William Casarin
18d5d95ef9
fix postbox design
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-06-20 13:44:35 -07:00
William Casarin
bb6c68e05c
clippy postbox cleanups
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-06-20 13:05:57 -07:00
William Casarin
1458498131
initial post box view
...
Signed-off-by: William Casarin <jb55@jb55.com >
2024-06-17 16:21:46 -07:00