kernelkind
173972f920
mentions: don't lose focus after select mention
...
Closes: https://github.com/damus-io/notedeck/issues/728
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-30 17:45:09 -04:00
kernelkind
09dc101c1b
rename SearchResultsView => MentionPickerView
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-30 17:44:51 -04:00
William Casarin
3d18db8fd2
Fullscreen MediaViewer refactor
...
- Moved media related logic into notedeck instead of the ui crate,
since they pertain to Images/ImageCache based systems
- Made RenderableMedia owned to make it less of a nightmware
to work with and the perf should be negligible
- Added a ImageMetadata cache to Images. This is referenced
whenever we encounter an image so we don't have to
redo the work all of the time
- Relpaced our ad-hoc, hand(vibe?)-coded panning and zoom logic
with the Scene widget, which is explicitly designed for
this use case
- Extracted and detangle fullscreen media rendering from inside of note
rendering. We instead let the application decide what action they
want to perform when note media is clicked on.
- We add an on_view_media action to MediaAction for the application to
handle. The Columns app uses this toggle a FullscreenMedia app
option bits whenever we get a MediaAction::ViewMedis(urls).
Signed-off-by: William Casarin <jb55@jb55.com >
2025-07-28 08:57:57 -07:00
William Casarin
009b4cf6b0
images: always resize large images
...
Fixes: https://github.com/damus-io/notedeck/issues/451
Fixes: https://linear.app/damus/issue/DECK-556/resize-images-to-device-screen-size
Signed-off-by: William Casarin <jb55@jb55.com >
2025-07-25 10:52:27 -07:00
kernelkind
0bc32272d2
refactor scrolling for post, reply & quote views
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-24 17:53:25 -04:00
William Casarin
ff0428550b
fix missing zap button
...
Changelog-Fixed: Fix missing zap button
Fixes: 397bfce817 ("add `Accounts` to `NoteContext`")
Fixes: https://github.com/damus-io/notedeck/issues/1021
Signed-off-by: William Casarin <jb55@jb55.com >
2025-07-23 11:49:03 -07:00
William Casarin
ebf31abafa
wallet: remove unused flag in note context
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-07-23 09:36:38 -07:00
William Casarin
3d4db820b4
i18n: make localization context non-global
...
- Simplify Localization{Context,Manager} to just Localization
- Fixed a bunch of lifetime issueo
- Removed all Arcs and Locks
- Removed globals
* widgets now need access to &mut Localization for i18n
Signed-off-by: William Casarin <jb55@jb55.com >
2025-07-22 09:49:32 -07:00
3f5036bd32
Internationalize user-facing strings and export them for translations
...
Changelog-Added: Internationalized user-facing strings and exported them for translations
Signed-off-by: Terry Yiu <git@tyiu.xyz >
2025-07-21 12:45:29 -07:00
Fernando López Guevara
4bf75c95de
feat(note-view): show note client
2025-07-16 17:09:59 -03:00
kernelkind
397bfce817
add Accounts to NoteContext
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-14 21:34:02 -04:00
William Casarin
44edffc596
android/input: add copy/paste context to post input
...
Fixes: https://github.com/damus-io/notedeck/issues/942
Signed-off-by: William Casarin <jb55@jb55.com >
2025-07-11 15:36:56 -07:00
William Casarin
400050f3fb
Merge remote-tracking branches 'github/pr/877' and 'github/pr/885'
...
CI / Rustfmt + Clippy (push) Has been cancelled
CI / Check (android) (push) Has been cancelled
CI / Test (Linux) (push) Has been cancelled
CI / Test (macOS) (push) Has been cancelled
CI / Test (Windows) (push) Has been cancelled
CI / rpm/deb (aarch64) (push) Has been cancelled
CI / rpm/deb (x86_64) (push) Has been cancelled
CI / macOS dmg (aarch64) (push) Has been cancelled
CI / macOS dmg (x86_64) (push) Has been cancelled
CI / Windows Installer (aarch64) (push) Has been cancelled
CI / Windows Installer (x86_64) (push) Has been cancelled
CI / Upload Artifacts to Server (push) Has been cancelled
Fernando López Guevara (2):
fix(content): handle case where notes are not loaded
feat(app_images): add module to manage static app image assets
2025-06-25 10:30:24 -07:00
Fernando López Guevara
36667bc024
feat(app_images): add module to manage static app image assets
2025-06-25 09:53:31 -07:00
Fernando López Guevara
c6dbb0e856
fix(content): handle case where notes are not loaded
2025-06-24 09:15:52 -07:00
William Casarin
505083998d
android: fix build
...
wip android keyboard fixes
wip 4.0.0 game-activity
Signed-off-by: William Casarin <jb55@jb55.com >
2025-06-16 16:11:51 -07:00
kernelkind
54c0fdb563
don't show zap button if no wallet
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-17 14:29:43 -04:00
kernelkind
b2abe495ca
implement blurring
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-04 12:57:57 -04:00
kernelkind
7d2112b472
make Widget impl ProfilePic mutably
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-04 12:57:54 -04:00
kernelkind
258ac3de29
post: unnest
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-04 12:56:42 -04:00
kernelkind
a29277d263
propagate JobsCache
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-04 12:55:53 -04:00
William Casarin
e8a1233174
dave: bubble note actions to chrome
...
This allows chrome to pass note actions to other apps
2025-04-22 18:42:12 -07:00
William Casarin
8af80d7d10
ui: move note and profile rendering to notedeck_ui
...
We want to render notes in other apps like dave, so lets move
our note rendering to notedeck_ui. We rework NoteAction so it doesn't
have anything specific to notedeck_columns
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-17 12:34:43 -07:00
William Casarin
d30e4c53ee
post: fix bug where send shortcut send unfocused inputs
...
Fixes: https://github.com/damus-io/notedeck/issues/810
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-16 23:52:34 -07:00
William Casarin
bf18eb4e69
refactor: extract input_ui into its own function
...
too many things happening in the ui function
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-16 22:29:20 -07:00
William Casarin
cc03f24920
refactor: move input buttons ui into its own fn
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-16 22:25:44 -07:00
William Casarin
aa0c1012db
misc: driveby fixes
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-16 22:20:00 -07:00
William Casarin
50dec5b5d5
context: implement note broadcasting
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-14 16:02:43 -07:00
William Casarin
9c9b4199f5
ui crate and chrome sidebar
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-14 11:29:01 -07:00
kernelkind
5917bc16fd
propagate current account
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-08 22:50:00 -04:00
kernelkind
18ea05db0a
use Zaps
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-08 22:50:00 -04:00
William Casarin
2d801408b2
egui: bump to 0.31.1
2025-03-17 19:45:26 -07: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
2e991a9aa5
fix a few compile issues after rebase
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-03-11 10:55:15 -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
kernelkind
a9f473e3c9
introduce NoteContext
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-03-08 14:57:32 -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
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
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
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
33fdf647e3
migrate to using Images instead of MediaCache directly
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-02-25 16:49:00 -05:00