Commit Graph

1974 Commits

Author SHA1 Message Date
kernelkind
2882b1c2d9 move ZapAddress to zaps/mod.rs
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-09-01 17:01:08 -04:00
kernelkind
f4b8d235eb rename get_users_zap_endpoint -> get_users_zap_address
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-09-01 17:01:05 -04:00
kernelkind
cf48b29fd8 make endpoint error into struct
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-09-01 17:01:01 -04:00
kernelkind
2a7c5eb983 rename LNUrlPayRequest -> LNUrlPayResponseRaw
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-09-01 13:33:33 -04:00
kernelkind
72d696beb2 actionbar: reintroduce error messages
there was a regression that caused error messages to not be displayed
any more when zapping.

Now when you click the zap button and the zap fails for some reason, the
zap button will be replaced with an X and hovering over the X displays
the error message

Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-31 19:34:51 -04:00
kernelkind
dea695fa8e actionbar: don't early return
it's not good practice to early return while rendering,
super easy to introduce flickering

Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-31 19:29:11 -04:00
kernelkind
fc1caf5eb4 custom-zap: dont force keyboard
it's not necessary

Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-28 16:46:26 -04:00
kernelkind
5539e4ef82 add keys section to settings
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-28 16:27:51 -04:00
kernelkind
408afbda50 make eye button public
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-28 16:27:32 -04:00
kernelkind
af4b896739 add copy to clipboard img
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-28 16:27:08 -04:00
kernelkind
d448caa369 add AnimationHelper::scaled_rect
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-28 16:26:36 -04:00
Terry Yiu
b84ad4f1cd Import translations
Signed-off-by: Terry Yiu <git@tyiu.xyz>
2025-08-28 09:08:37 -04:00
Terry Yiu
736ce50f64 Export strings for translation
Signed-off-by: Terry Yiu <git@tyiu.xyz>
2025-08-28 09:08:13 -04:00
William Casarin
e9ca793509 macos: fix build script
Signed-off-by: William Casarin <jb55@jb55.com>
2025-08-28 07:11:04 +08:00
William Casarin
ea65af8d5b v0.7.1
William Casarin (2):
      fix android-activity crash on unhandled app cmds

Signed-off-by: William Casarin <jb55@jb55.com>
2025-08-28 06:54:44 +08:00
William Casarin
11aa2142cf fix android-activity crash on unhandled app cmds
Signed-off-by: William Casarin <jb55@jb55.com>
2025-08-26 17:46:13 -07:00
Fernando López Guevara
6ee2b28e70 media: handle upload on android 2025-08-26 17:10:38 -07:00
William Casarin
31ee64827a v0.7.0
First official Android Release!

- Keyboard visibiliy
- core lightning node ui (experimental)
- Onboarding follow packs
- Reaction notifications!
- Japanese translations

Terry Yiu (3):
      Remove unused strings from translation files
      Import translations
      Add Japanese and Portuguese (Portugal) languages

William Casarin (38):
      battery: disable render every 100ms
      dave: switch to logical time
      force oled with --mobile flag
      gif: disable continuous gif rendering
      ui: add AnimationMode to control GIF rendering behavior
      debug: add repaint causes debug tool
      Merge thread scroll fix by kernel
      chrome: add virtual keyboard ui
      android: fix dark/light mode and folding screen crash
      notedeck app: add clndash
      clndash: initial peer channel listing
      default logs
      clndash: channels ui
      clndash: summary cards
      clndash: include listpeerchannel errors
      clndash: invoice loading
      clndash: zap rendering
      clndash: fix invoice order, return more stuff
      clndash: reorganize
      clndash: configurable host
      clndash: add readme
      clndash: readme
      clndash: tweak readme
      clndash: tweak links in readme
      clndash: specify you need --clndash
      clndash: dont forget CLNDASH_ID
      remove hjkl bindings
      Merge Japanese and Portuguese translations from Terry
      clippy: fix lint errors
      Implement soft keyboard visibility on Android
      chrome: greatly improve soft-keyboard visibility & layout handling
      args: parse hashtag columns from cli
      debug: fix memory debug builds
      Merge remote-tracking branch 'github/pr/1087' into notifications
      Merge remote-tracking branch 'github/pr/1081' into notifications  especially if it merges an updated upstream into a topic branch.
      tweak follow pack design
      chrome: remove dev log
      v0.7.0

kernelkind (53):
      TMP: use new egui-nav to fix scroll offset issues
      add `scroll_offset` to `NoteAction::Note`
      add `ThreadNote::set_scroll_offset`
      set scroll offset when routing to thread
      appease clippy
      make search icon more customizable
      make compose button animate horiz rather than vert
      add toolbar icons to `notedeck_ui`
      add select_by_route
      add toolbar related logic
      add toolbar defaults
      copy toolbar rendering to `notedeck_ui`
      use toolbar in columns rather than chrome
      clippy: allow collapsible match
      add flags to `ScaledTexture`
      extract a pub `render_media` from image_carousel
      add impl for `ScaledTextureFlags::RESPECT_MAX_DIMS`
      add nip51 set caching structs
      nip 51 set widget
      add onboarding 'manager'
      TMP: temporary author for trusted pks list
      add onboarding view
      add onboarding related state to app
      integrate onboarding
      fix contact list bug
      use the onboarding follow pack curator pubkey
      make `TimelineCache::notes` private
      remove commented out code...
      move `HybridSet` to own file
      ui: add like icon
      appease clippy
      add muted helper
      unknownids: use pk bytes
      replace `HybridSet` with `NoteUnits`
      add reactions kind to notifications filter
      add `TimelineUnits`
      note: account for mutes in the notifications dot
      make since optimize accept Option<&NoteRef> instead of notes
      prop `UnknownIds` for initial timeline
      ui: add rendering for `NoteUnit`s
      upgrade `TimelineOpenResult` to hold new pubkeys too
      use `TimelineUnits` instead of `Vec<NoteRef>`
      ui: remove unnecessary reverse
      introduce failing test for reaction duplication bug
      fix duplicate ReactionUnit for multiple kth indices
      fix reaction target bug
      ui: reactions closer approximation of iOS design
      expose indexmap to notedeck
      use indexmap
      add Nip51SetCache helper methods
      add virtual list to `Onboarding`
      prop `Onboarding` as mut
      render follow pack by index from virtual list

Signed-off-by: William Casarin <jb55@jb55.com>
2025-08-26 15:05:12 -07:00
William Casarin
f243adc855 chrome: remove dev log
Signed-off-by: William Casarin <jb55@jb55.com>
2025-08-26 14:40:14 -07:00
William Casarin
5224a5d8ae tweak follow pack design
Signed-off-by: William Casarin <jb55@jb55.com>
2025-08-26 10:26:14 -07:00
William Casarin
2c96dd99a8 Merge remote-tracking branch 'github/pr/1081' into notifications
especially if it merges an updated upstream into a topic branch.
2025-08-26 10:01:09 -07:00
William Casarin
e7843bad2f Merge remote-tracking branch 'github/pr/1087' into notifications 2025-08-26 09:58:50 -07:00
William Casarin
c2f012ff75 debug: fix memory debug builds
Signed-off-by: William Casarin <jb55@jb55.com>
2025-08-26 09:53:37 -07:00
William Casarin
76fd7a9753 args: parse hashtag columns from cli
Signed-off-by: William Casarin <jb55@jb55.com>
2025-08-26 09:53:37 -07:00
kernelkind
8b5464641d render follow pack by index from virtual list
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 21:16:05 -04:00
kernelkind
c06d18f76b prop Onboarding as mut
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 21:14:52 -04:00
kernelkind
84e60e0642 add virtual list to Onboarding
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 21:14:02 -04:00
kernelkind
23f35c60bb add Nip51SetCache helper methods
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 21:13:17 -04:00
kernelkind
30c2ebdcc2 use indexmap
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 21:12:41 -04:00
kernelkind
1658600604 expose indexmap to notedeck
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 21:11:28 -04:00
kernelkind
529377a706 ui: reactions closer approximation of iOS design
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 20:15:40 -04:00
kernelkind
30af03cfcc fix reaction target bug
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 20:02:34 -04:00
kernelkind
bb878d3772 fix duplicate ReactionUnit for multiple kth indices
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 20:02:34 -04:00
kernelkind
5c9eb492b6 introduce failing test for reaction duplication bug
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 20:02:34 -04:00
kernelkind
0b584a773f ui: remove unnecessary reverse
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:57:00 -04:00
kernelkind
78504a6673 use TimelineUnits instead of Vec<NoteRef>
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:56:56 -04:00
kernelkind
ae204cbd5c upgrade TimelineOpenResult to hold new pubkeys too
for handling unknown profiles

Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:56:53 -04:00
kernelkind
7d4e9799e5 ui: add rendering for NoteUnits
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:56:48 -04:00
kernelkind
55d7cd3379 prop UnknownIds for initial timeline
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:32:10 -04:00
kernelkind
697040d862 make since optimize accept Option<&NoteRef> instead of notes
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:32:07 -04:00
kernelkind
49866418a6 note: account for mutes in the notifications dot
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:32:03 -04:00
kernelkind
9b784dfdf7 add TimelineUnits
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:31:59 -04:00
kernelkind
c1d6c0f535 add reactions kind to notifications filter
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:31:54 -04:00
kernelkind
1a93663b1a replace HybridSet with NoteUnits
This will unify the collections that hold the notes to timelines
and threads and allow the notifications timeline to have grouped
notifications, among other things

Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:31:50 -04:00
kernelkind
4992e25b3a unknownids: use pk bytes
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:31:47 -04:00
kernelkind
7b1ace328f add muted helper
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:31:43 -04:00
kernelkind
2973a0c6c5 appease clippy
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:31:42 -04:00
kernelkind
4f63629715 ui: add like icon
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:31:37 -04:00
kernelkind
686dea9831 move HybridSet to own file
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:31:34 -04:00
kernelkind
01171ff9d7 remove commented out code...
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-08-25 10:31:27 -04:00