jglad
fddddba618
#761 add padding to relay view
2025-03-18 09:29:22 +01:00
William Casarin
71f6d3014a
Merge fullscreen images from jglad
...
jglad (3):
#716 add full screen images
#716 move goto button one level down
#716 store full size img, add zoom & pan
2025-03-13 10:31:01 -07:00
jglad
a124187db6
#716 store full size img, add zoom & pan
2025-03-11 21:47:52 +01:00
William Casarin
c93c2242b1
ui: fix deprecated rounding routines in search ui
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-11 11:00:03 -07:00
William Casarin
2e991a9aa5
fix a few compile issues after rebase
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-11 10:55:15 -07:00
Ken Sedgwick
c10e84b10d
fixed egui::Frame::NONE references
2025-03-11 10:52:28 -07:00
Ken Sedgwick
2f4d9442f0
allow deprecated round_rect_to_pixels
2025-03-11 10:52:00 -07:00
William Casarin
51457a0260
android: update to latest winit/egui/android-activity
...
so we can start fixing this shit
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-11 10:51:56 -07:00
jglad
02ec025096
#716 move goto button one level down
2025-03-10 18:02:43 +01:00
kernelkind
a9f473e3c9
introduce NoteContext
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-03-08 14:57:32 -05:00
jglad
d629ea893a
#716 add full screen images
2025-03-08 17:57:32 +01:00
William Casarin
d85c6043b7
search: auto-focus search field on navigate
...
I'm going to add a search changelog on this commit since I forgot
to do so previously.
Fixes: https://linear.app/damus/issue/DECK-538/auto-focus-search-field-on-search-view
Changelog-Added: Added fulltext search ui
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-07 16:02:35 -08:00
kernelkind
8e0e42a1f3
fix note content rects
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-03-07 18:04:12 -05:00
kernelkind
e7113b17a8
fix note context menu placement inside rect
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-03-07 18:04:12 -05:00
kernelkind
e2be2ddd58
fix context selection responses
...
closes: https://github.com/damus-io/notedeck/issues/574
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-03-07 18:04:12 -05:00
William Casarin
e72a3f11fe
Merge Cmd-Enter binding
2025-03-07 14:01:36 -08:00
William Casarin
1953496019
search: hook up nav actions
...
Fixes: https://linear.app/damus/issue/DECK-537/hook-up-search-query-view-responses
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-07 13:24:52 -08:00
William Casarin
c2545d17e7
route: add Search route and hook up SearchView
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-07 13:24:52 -08:00
William Casarin
9edc9bf4a5
ui: add SearchView and SearchQueryState
...
Introduce a new view for searching for notes.
Fixes: https://linear.app/damus/issue/DECK-510/initial-search-query-view
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-07 13:24:52 -08:00
William Casarin
d19e4b1d2b
search: improve search column header
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-07 13:24:52 -08:00
William Casarin
e09df3e7c3
timeline: add nip50 search timelines
...
Fixes: https://github.com/damus-io/notedeck/issues/456
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-07 13:24:41 -08:00
William Casarin
62a1571dea
search: show icon again
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-07 12:58:42 -08:00
William Casarin
23285e7d76
nevernest some note posting code
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-07 12:58:42 -08:00
William Casarin
4365839242
Revert driller
...
This reverts commit cec49c83bd .
Revert "update NoteContentsDriller to NoteContext"
This reverts commit 65bd6a65f9 .
Revert "introduce the driller"
This reverts commit 95d618e7fe .
2025-03-07 12:53:34 -08:00
William Casarin
cec49c83bd
fix formatting
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-07 12:36:26 -08:00
William Casarin
65bd6a65f9
update NoteContentsDriller to NoteContext
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-07 12:30:53 -08:00
kernelkind
95d618e7fe
introduce the driller
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-03-07 12:07:24 -05:00
kernelkind
035aa20790
remove redudant arg
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-03-07 11:58:39 -05:00
Ethan Tuttle
0d251bda9f
support Cmd+Enter for posting on macOS
...
Add support for Command key (macOS) in addition to Ctrl key for submitting posts via keyboard shortcut
2025-03-06 21:56:44 -05:00
kernelkind
e3eab0dfa8
user can explicitly close mention hints
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-03-02 15:05:48 -05:00
kernelkind
66b35c5026
add button for closing mention hints
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-03-02 15:05:48 -05:00
kernelkind
e37c14c9eb
fix search results rect bounds
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-03-02 15:05:48 -05:00
William Casarin
95affa2245
ui: fix bounciness when loading pfps
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-27 10:37:07 -08:00
William Casarin
94e31ff715
add_column: add a bit of padding between title and desc
...
Co-authored-by: Grok3
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-26 19:48:04 -08:00
William Casarin
9713503d9e
add_column: use weak color for descriptions
...
This matches the figma
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-26 19:41:08 -08:00
William Casarin
cee8ab792c
algo: fix algo feed icon
...
temporary placeholder, but at least its less ugly
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-26 19:32:19 -08:00
kernelkind
7ca7dd156b
fix video links not showing
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-02-26 16:09:39 -05:00
kernelkind
9d88ba1415
render gif in PostView
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-02-25 16:49:00 -05:00
kernelkind
490dedfaf1
integrate gifs
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-02-25 16:49:00 -05:00
kernelkind
9592452757
URL mime hosted completeness
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-02-25 16:49:00 -05:00
kernelkind
33fdf647e3
migrate to using Images instead of MediaCache directly
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-02-25 16:49:00 -05:00
kernelkind
75a352a86f
render Images method
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-02-25 16:49:00 -05:00
kernelkind
7c2b4775f1
move MediaCache rendering to render_media_cache call
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-02-25 16:49:00 -05:00
kernelkind
32b3e2110d
render MediaCache method
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-02-25 16:49:00 -05:00
kernelkind
594ea0b42d
Use TexturedImage in MediaCache
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-02-25 16:49:00 -05:00
kernelkind
4f4a0feb8c
rename ImageCache -> MediaCache
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-02-25 16:49:00 -05:00
William Casarin
bd352f76d4
feat: add scramble flag for development text scrambling
...
This commit introduces a new scramble option to help reduce distractions
during development by scrambling text using rot13. When enabled via the
new `--scramble` flag, text displayed in various views is transformed,
making it easier to focus on layout and behavior without reading the
actual content.
App & Args Updates
- Added a `scramble: bool` field to the main application state (in `app.rs`).
- Extended argument parsing (in `args.rs`) to recognize the `--scramble` flag.
NoteOptions Enhancement
- Introduced a new bit flag `scramble_text` in `NoteOptions` with
corresponding setter/getter methods.
UI Adjustments
- Propagated the scramble flag through note rendering functions across
navigation, timeline, and note view modules.
- Updated several UI components (e.g., in `nav.rs`, `route.rs`, and
`contents.rs`) to accept and apply the new note options.
Rot13 Implementation
- Implemented a helper function (`rot13`) to scramble text
conditionally when the scramble option is enabled.
This feature is intended for development builds only, offering a way to
obscure text content during UI tweaks and testing.
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-22 14:30:38 -08:00
jglad
030e76c046
hide nsec in account panel
2025-02-13 19:46:59 +01:00
jglad
346e705f36
fix compilation
2025-02-12 21:54:26 +01:00
William Casarin
d82d7fd00d
Merge relay debug view fixes & more strict args #711
...
Ken Sedgwick (5):
drive-by compiler warning fixes
drive-by clippy fixes
add derive Debug to some things
panic on unknown CLI arguments
move RelayDebugView to notedeck crate and restore --relay-debug
William Casarin (4):
clippy: fix lint
args: skip creation of vec
nix: fix android build
Link: https://github.com/damus-io/notedeck/pull/711
2025-02-10 17:03:23 -08:00