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
tyiu
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
William Casarin
a517bc69bc
Merge is_following fixes from kernel
...
kernelkind (4):
add `Accounts` to `NoteContext`
remove `MuteFun` prop
make `Contacts::is_following` use bytes instead of `Pubkey`
migrate to check following through `Contacts::is_following`
2025-07-16 08:50:58 -07:00
Fernando López Guevara
44da10dc88
fix(profile): split always
2025-07-16 11:01:13 -03:00
Fernando López Guevara
befce76a90
feat(profile): add tooltip on copy npub
2025-07-15 14:42:43 -07:00
Fernando López Guevara
e344b09475
feat(profile-view): split profile info entries when is_narrow
2025-07-15 14:42:43 -07:00
kernelkind
142aa879c3
make Contacts::is_following use bytes instead of Pubkey
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-14 21:34:08 -04:00
kernelkind
a7f5319fde
remove MuteFun prop
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-14 21:34:05 -04:00
kernelkind
397bfce817
add Accounts to NoteContext
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-14 21:34:02 -04:00
kernelkind
8c71e154f4
allow body on unknown profile
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-14 15:26:07 -04:00
kernelkind
7b9db55a05
add UI for (un)follow
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
Co-authored-by: Jakub Gladysz <jakub.gladysz@protonmail.com >
Co-authored-by: William Casarin <jb55@jb55.com >
2025-07-10 13:47:30 -04:00
kernelkind
a883ac8c34
add actions for follow/unfollow
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
Co-authored-by: Jakub Gladysz <jakub.gladysz@protonmail.com >
Co-authored-by: William Casarin <jb55@jb55.com >
2025-07-10 13:47:28 -04:00
kernelkind
8e92a97a57
make selected accounts non optional
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-07-02 11:41:17 -04: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
kernelkind
db5e10656d
set variable for scroll offset
...
necessary to maintain scroll positions across popup & Nav
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-22 20:33:20 -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
a29277d263
propagate JobsCache
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-05-04 12:55:53 -04:00
William Casarin
ba4198eeec
enostr: rename to_bech to npub
...
a bit more clear as to what this is
2025-04-22 10:46:51 -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
e4bae57619
refactor: ocd unnecessary pass by value
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-17 08:39:47 -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
William Casarin
2d801408b2
egui: bump to 0.31.1
2025-03-17 19:45:26 -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
kernelkind
a9f473e3c9
introduce NoteContext
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-03-08 14:57:32 -05: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
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
4f4a0feb8c
rename ImageCache -> MediaCache
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-02-25 16:49:00 -05:00
William Casarin
0cc1d8a600
Switch to unified timeline cache via TimelineKinds
...
This is a fairly large rewrite which unifies our threads, timelines and
profiles. Now all timelines have a MultiSubscriber, and can be added
and removed to columns just like Threads and Profiles.
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-05 18:30:45 -08:00
William Casarin
9dd33d5c5b
pfp: 4.0 stroke, add border_stroke method
...
This reduces code duplication, and makes the border a bit cleaner
so that it blends into the panel color
Signed-off-by: William Casarin <jb55@jb55.com >
2025-02-03 20:24:51 -08:00
jglad
803f427f77
make optional
2025-01-30 19:14:02 +01:00
William Casarin
4b542c0a74
switch to TimelineCache
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-01-19 14:18:59 -08:00
William Casarin
212c296da5
Merge tombstone muted notes #606
...
Changelog-Changed: Tombstone muted notes
2025-01-04 14:16:16 -08:00
kernelkind
6645d4880f
integrate EditProfileView
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-01-04 13:42:52 -05:00
kernelkind
4baa7b2ef3
use preview
...
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
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
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
Ken Sedgwick
e193e00539
Mute rendering instead of ingress
...
Previous approach was to keep muted content from getting inserted.
Instead, this version alters it's display. This makes toggling mutes
on and off externally much more stable (the display changes but we
don't have to rebuild content trees)
For now muted content is collapsed to a red "Muted" tombstone w/ a reason.
2025-01-02 15:21:14 -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