Commit Graph

860 Commits

Author SHA1 Message Date
Bu5hm4nn
1db04433fe Note View: Show additional reactions in hover UI 2024-07-20 12:44:50 +02:00
Mike Dilger
dcd932e256 Remove async where it isn't needed/helpful 2024-07-19 06:59:30 +12:00
bu5hm4nn
cf72c39b87
Merge pull request #807 from bu5hm4nn/feature/restyle-dm-notes
I'm merging this into unstable, so that we can continue working from this codebase.
2024-07-18 04:38:41 -06:00
Mike Dilger
804959dfbe 0.12.0-unstable (0.11 has been released) 2024-07-18 13:04:58 +12:00
Mike Dilger
a33df30dbb update nostr-types, RelayUsage 2024-07-17 12:20:10 +12:00
Mike Dilger
ceb438f0fb Update for nostr-types (RelayUsage -> RelayListUsage) 2024-07-17 09:30:57 +12:00
Bu5hm4nn
c616def685 Merge remote-tracking branch 'dilger/unstable' into feature/restyle-dm-notes
# Conflicts:
#	gossip-bin/src/ui/feed/note/mod.rs
2024-07-15 22:49:27 +02:00
Bu5hm4nn
2d8c839f4a Modal Popup: Show QR codes and JSON in modal popups 2024-07-15 22:40:44 +02:00
Bu5hm4nn
358ce35434 Note Actions: Re-Arrange menu order 2024-07-12 13:38:33 +02:00
Bu5hm4nn
33775de0c9 DM Note View: Don't decorate avatar images 2024-07-12 12:28:35 +02:00
Bu5hm4nn
14b746716b DM Chat List: Fix some spacing 2024-07-12 12:16:50 +02:00
Bu5hm4nn
02b8d0becd DM Note View: Show smaller avatar 2024-07-12 12:07:14 +02:00
Bu5hm4nn
1a96741b67 DM Feed: Show mini avatar and buttons at top 2024-07-12 12:06:23 +02:00
Bu5hm4nn
9d477aae7e DM Posting Area: Re-Style to show encryption standard in warning frame 2024-07-12 11:05:12 +02:00
Bu5hm4nn
5f44f36226 DM Note View: Do not show encryption indicator for Giftwrap (considered standard) 2024-07-12 10:23:06 +02:00
Bu5hm4nn
1cfe4db44f DM Chat List: Show avatars on channel entries 2024-07-12 10:22:32 +02:00
Bu5hm4nn
d3f4673217 DM Note View: Hide additional items that appear in nameline 2024-07-12 09:53:41 +02:00
Bu5hm4nn
a049c90869 Note View: Disable footer buttons instead of hiding them when signing key is not available 2024-07-12 09:38:27 +02:00
Bu5hm4nn
8585451857 DM Note View: Fix encryption indicator hover ui 2024-07-11 18:01:59 +02:00
Mike Dilger
33bbf61aeb Revert "Updates for nostr-types, including stripping delegation (NIP-26)"
This reverts commit 1722fb78d8.
2024-07-11 21:45:59 +12:00
Mike Dilger
bf0d37329f Update nostr-types 2024-07-11 21:42:58 +12:00
Mike Dilger
87e43d4330 Update nostr-types (event.replies_to() and 'a' tag marker fixes) 2024-07-11 12:42:00 +12:00
Bu5hm4nn
412c2deeb2 Note View: Clean up footer buttons, move some to Action Menu 2024-07-10 15:44:48 +02:00
Bu5hm4nn
4584f6b22b Note View: Put Bookmark action in SubMenu 2024-07-10 15:07:37 +02:00
Bu5hm4nn
ea36e512be MoreMenu: Add SubMenu feature, move "Copy" actions on notes to sub-menu 2024-07-10 14:04:14 +02:00
Bu5hm4nn
a86c5dfaaa DM Note Rendering: Re-Style DM note rendering by carefully refactoring note-rendering functions 2024-07-09 23:21:21 +02:00
Mike Dilger
f51a2877cd Update nostr-types: Unixtime::now() without .unwrap() 2024-07-09 08:53:20 +12:00
Bu5hm4nn
f4cf662ccf Onboarding Wizard: Add scroll area to "choose relays" page. Fixes #804. 2024-07-06 08:37:40 +02:00
Mike Dilger
16dd6b19e8 Update egui-video which updated ffmpeg-next 2024-07-05 13:48:58 +12:00
Mike Dilger
5f0090ab4f Menu options to add/remove event to/from bookmarks 2024-07-04 11:42:41 +12:00
Mike Dilger
8441aff3f3 Keep 'bookmarked' in NoteData 2024-07-04 11:33:21 +12:00
Mike Dilger
8867cedc64 Bookmarks feed including UI 2024-07-04 10:45:25 +12:00
Mike Dilger
6a87b9c98f cargo fmt 2024-07-04 10:23:22 +12:00
Mike Dilger
e6d2ad7293 Retire 2 settings we no longer use 2024-07-04 10:18:56 +12:00
dtonon
9bacc21327 Add counter template for inbox/chats notifications 2024-07-03 13:18:07 +02:00
Bu5hm4nn
40aa84d627 Remove old commented out code block 2024-07-02 16:40:38 +02:00
Bu5hm4nn
ad0f5c3b78 MoreMenu: Fix disabled entry disabled also the following entry. Fixes #802 2024-07-02 16:39:23 +02:00
Mike Dilger
9c22771e19 Update nostr-types 2024-07-02 15:44:30 +12:00
Michael Dilger
aa704f4e16
Merge pull request #801 from jadijadi/add_plus_icon_opacity
fix: opacity of add_post_icon to 2/3 for better visibility on light mode
2024-07-02 07:56:32 +12:00
Mike Dilger
1a763189a1 command: clear_timeouts 2024-07-02 07:24:11 +12:00
Jadi
b92003f1c8 fix: opacity of add_post_icon to 2/3 for better visibility on light mode
fixes #728
2024-07-01 22:12:44 +03:30
Mike Dilger
c20311f545 Cargo clippy & fmt 2024-07-01 10:18:47 +12:00
Mike Dilger
63bf94c375 Remove dead code in FeedNoteParams, is_first, is_last, has_repost 2024-07-01 10:17:04 +12:00
Mike Dilger
5cf729fe28 Remove FeedProperties in theme - was dead code 2024-07-01 10:14:36 +12:00
Mike Dilger
3be3ee5951 Some dead code removal/usage 2024-07-01 10:12:09 +12:00
Mike Dilger
063153391a notedata: update more data that changes: zaptotal, annotations 2024-07-01 10:05:37 +12:00
Mike Dilger
dc3bd4b422 Rename: notes->notecache, Notes->NoteCache, cache_invalidate->invalidate 2024-07-01 10:05:31 +12:00
Mike Dilger
14c2ac469b cargo fmt 2024-07-01 07:55:03 +12:00
Mike Dilger
29cb75dd7b Get max_image_side from GL and limit media (resize) to it 2024-07-01 07:53:33 +12:00
Mike Dilger
969eb5ddf3 Reword disconnected relays to "Not connected" instead of comment about picker 2024-06-29 19:54:43 +12:00
dtonon
67bc35e4c2 Update offline mode labels 2024-06-28 10:57:26 +02:00
Mike Dilger
e3654ab94f Remove the other spinner code that def1be0c missed 2024-06-28 13:57:24 +12:00
Mike Dilger
090162751f Allow up to 4 relays per person in the setting slider 2024-06-28 11:50:57 +12:00
Mike Dilger
c38fbe6646 Differentiate when getting best relays (num per person, or essentially all) 2024-06-28 11:50:57 +12:00
Mike Dilger
def1be0c28 Render spinner while we switch feeds; Don't ever render empty scroll area or we lose our place. 2024-06-27 12:01:07 +12:00
Mike Dilger
abf6718f73 ui: app.is_scrolling() to make more clear what we are testing 2024-06-27 11:35:03 +12:00
dtonon
7d34f78cfc Improve the style of "paste" action inside the login input 2024-06-26 13:01:17 +02:00
Mike Dilger
18b9bbfb9c cargo fmt 2024-06-26 10:17:30 +12:00
dtonon
6b78215c88 Update textedit border colors 2024-06-25 11:59:52 +02:00
dtonon
d4f19362b7 Separate "Start in offline mode" label from the checkbox 2024-06-25 11:53:02 +02:00
Bu5hm4nn
ba50179377 Feed Loading: Support spinner also on bottom-up feeds #749) 2024-06-24 16:33:17 +02:00
Bu5hm4nn
e61df9e7f5 Feed Loading: Show spinner and hide buttons, but show buttons if the user has waited a long time (currently 5 seconds) for the feed to load (fixes #749) 2024-06-24 15:55:34 +02:00
Bu5hm4nn
ee6d7ab5eb Add "Noto Sans Thai" Font when lang-cjk is enabled. Fixes #797 2024-06-24 14:47:04 +02:00
dtonon
6a7fe30d88 Fix the vertical alignment of the label in the switch component 2024-06-21 20:00:23 +02:00
dtonon
42130dc530 Navigation Panel: Review styles, ref #751 2024-06-21 19:53:57 +02:00
Mike Dilger
48b932b77b Recompute pending when entering Notifications page 2024-06-21 13:10:32 +12:00
Mike Dilger
22ff39a589 cargo clippy 2024-06-21 12:50:53 +12:00
Mike Dilger
8bb4ea0aaf Pending items for setting up relays (of each class: READ, WRITE, DISCOVER, DM) 2024-06-21 10:45:24 +12:00
Bu5hm4nn
bc6258abdb Navigation Panel: Add switch for offline mode, fixes #751 2024-06-20 17:48:40 +02:00
Mike Dilger
c8ae74d85a Reprocess relay lists reworked to handle kind 3 too 2024-06-19 13:57:10 +12:00
Mike Dilger
b4eb4b6281 cargo clippy 2024-06-19 12:14:59 +12:00
Mike Dilger
6978ac38e9 Migration 38: Relay3, should_avoid() time, replaces penalty box 2024-06-19 11:23:20 +12:00
Mike Dilger
9d0b441263 Rework get_best_relays():
* Always yield their relay-list declared relays first
* Take in a 'min' and if not achieved, yield additional relays in score order,
  including using our own if we still can't achieve the minimum
* Use a bool to indicate 'write' instead of RelayUsage
* Adjust call sites: causes changes regarding min
2024-06-17 09:04:37 +12:00
Mike Dilger
deb75b7198 cargo fmt & clippy 2024-06-14 13:15:59 +12:00
Mike Dilger
8f17ba076e Command 'giftwrap_ids' changed to 'giftwraps' where they are decrypted 2024-06-14 11:19:31 +12:00
Mike Dilger
2ab39032d1 Rework how we advertise:
* 4 per second, don't care if they fail or not
* Do in rank order
* Change advertise button to show how many remain
2024-06-14 09:56:45 +12:00
Mike Dilger
af11318fb5 Change advertise help text and disable advertise button while advertising 2024-06-14 08:05:40 +12:00
bu5hm4nn
312fe4be08
Merge pull request #769 from AmirH-A/refactor/gossip-bin-ui
[REFACTOR] gossip-bin UI
2024-06-13 06:43:20 -06:00
Bu5hm4nn
efa7dd7e8d Restore some comments 2024-06-13 15:30:30 +03:00
Bu5hm4nn
280e6e211b Eliminate unused variable warning 2024-06-13 15:30:10 +03:00
Bu5hm4nn
8d7d341d50 Relay Entry: Add "DM" switch 2024-06-13 11:04:57 +03:00
Bu5hm4nn
5dc397aec1 Avatar: Show ⑰ on avatar images if the person has DM relays 2024-06-12 20:24:19 +03:00
Bu5hm4nn
d018064e38 Profile Page: Show DM relays below outbox relays 2024-06-12 13:55:57 +03:00
Bu5hm4nn
3e733e864d DM Chat Feed: Make Channel name clickable and link to Profile page 2024-06-12 13:32:57 +03:00
Bu5hm4nn
9e58dbb097 List: Always allow list actions. Fixes #734 2024-06-12 13:32:08 +03:00
Bu5hm4nn
50b0eb89c1 List: Always allow list actions. Fixes #734 2024-06-12 12:56:58 +03:00
Mike Dilger
1722fb78d8 Updates for nostr-types, including stripping delegation (NIP-26) 2024-06-11 08:43:01 +12:00
Mike Dilger
86610e5643 Update nostr-types 2024-06-11 08:33:53 +12:00
Mike Dilger
6f560c413f Remove overlap setting and other dead code 2024-06-10 09:47:14 +12:00
Mike Dilger
1a9b30ab14 When loading a thread and the main note isn't cached yet, show "LOADING..." instead of blankness 2024-06-09 00:09:52 +12:00
Mike Dilger
345f1c1848 Track and show how many relays are currently loading a chunk 2024-06-08 12:31:14 +12:00
Mike Dilger
6beb2ba673 Retire feed chunk settings 2024-06-08 12:01:09 +12:00
Mike Dilger
a4e26aa09f Share a single feed start, a single load_more(), and a single switch_feed()
NOTE: We degrade functionality by temporarily hardcoding 43200 as the feed chunk
2024-06-08 12:01:09 +12:00
Mike Dilger
9306317708 Add setting 'load_more_count' (to be used in subsequent commits) 2024-06-07 12:33:44 +12:00
Mike Dilger
19d6852c53 Simplify Feed internal with a single store of events (not one for each kind) 2024-06-07 12:15:14 +12:00
Mike Dilger
79ce510f9b cargo clippy 2024-06-07 12:14:48 +12:00
Mike Dilger
c70a8e18f4 ignore clippy assigning clones warning for now 2024-06-07 12:09:52 +12:00
Mike Dilger
bc0414cbb8 Merge branch 'annotation' into unstable [not straightforward] 2024-06-06 08:56:08 +12:00
Mike Dilger
51083717fc Revert "Feed Loading: Show spinner and hide buttons (fixes #749)"
This reverts commit d995784b90.
2024-06-06 08:31:01 +12:00
Mike Dilger
85b5c79784 Remove relay.nostr.jabber.ch as a relay option from the wizard (as requested by marco balmer) 2024-06-04 17:29:03 +12:00