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
Mike Dilger
99dfe1f98a
ui: When loading a thread, indicate that we are climbing it
2024-06-04 06:06:54 +12:00
Mike Dilger
eacf6c9564
Note header link to parent, if parent is muted, indicates such
2024-06-03 15:27:34 +12:00
Mike Dilger
12d834ebfc
Move notes and notedata outside of the ui/
2024-06-03 15:20:41 +12:00
Mike Dilger
e54cc74ae9
DM post area - different messages if can use NIP-17 or not
2024-05-25 08:54:43 +12:00
Mike Dilger
b87f763860
Merge branch 'unstable' into annotation
2024-05-23 09:23:00 +12:00
Mike Dilger
045d74826c
Merge branch 'master' into annotation
2024-05-23 09:21:43 +12:00
Mike Dilger
387d95cec1
Update nostr-types
2024-05-23 09:20:13 +12:00
Mike Dilger
b59f8f48b8
Move to new Person3 with PersonTable
2024-05-22 08:12:52 +12:00
Mike Dilger
893a27d2e7
storage.read_person (and has_person) to take optional transaction
2024-05-20 09:12:37 +12:00
Amirhossein Azarpour
8a142e818b
refactor(ui): modular and cleanup side_panel and more cleaner zap area
2024-05-19 11:09:57 +03:30
Mike Dilger
113f32e704
Update nostr-types (filter.event_matches() fix)
2024-05-18 14:20:21 +12:00
Mike Dilger
d89b9fbcdc
cargo fmt & clippy
2024-05-18 13:03:05 +12:00
Mike Dilger
8de1836128
Strip out manually adding relays to people:
...
- we had no mechanism to remove them, and outdated ones were causing troubles
- nostr now has more widespread relay association mechanisms
- we also updated person-relay scoring 'smoothness'
2024-05-18 09:56:47 +12:00
Mike Dilger
ed930f7d39
Merge branch 'unstable' into annotation
2024-05-17 15:40:46 +12:00
Mike Dilger
a4c732bd07
Update nostr-types
2024-05-17 07:34:56 +12:00
Mike Dilger
294d1b0286
Support rendering more event kinds
2024-05-17 07:34:37 +12:00
Mike Dilger
c4cff5a597
Update nostr-types
2024-05-17 07:24:35 +12:00
Mike Dilger
b9b5f57479
Print gossip version on start
2024-05-15 08:40:16 +12:00
Mike Dilger
9af00c6dcf
Update nostr-types
2024-05-15 08:19:53 +12:00
Mike Dilger
1da8befef2
Merge branch 'unstable' into annotation
2024-05-14 09:21:17 +12:00
Mike Dilger
9e3950db77
Merge remote-tracking branch 'kodylow/typos' into unstable
2024-05-12 14:59:13 +12:00
Bu5hm4nn
0881222fde
Settings UI: Allow custom values for DPI override and FPS
2024-05-10 17:12:53 -06:00
kody.low
8df4b2b084
fix: fixes errors caught by typos
check
2024-05-10 15:58:06 -07:00
Mike Dilger
33c543e205
Allow DPI setting up to 400
2024-05-11 10:43:42 +12:00
Michael Dilger
b1546802dc
Merge pull request #755 from jadijadi/migration-page-centered
...
Nicer data migration page
2024-05-11 10:02:48 +12:00
Jadi
4060f0c737
Nicer data migration page
...
fixes #747 ; The message on the data migartion page is horizontaly and
vertically centered.
2024-05-09 14:48:52 +03:30
Mike Dilger
90162f4b9b
Update nostr-types (EventReference fns, EQ/Hash)
2024-05-09 09:56:29 +12:00
Bu5hm4nn
d995784b90
Feed Loading: Show spinner and hide buttons ( fixes #749 )
2024-05-02 11:47:48 -06:00
Daniele Tonon
a3387d0af4
MoreMenu: Update dot color and add light theme
2024-05-02 10:20:28 +02:00
Bu5hm4nn
634b21fcdf
MoreMenu: Tune "simple" style to match new proposal by Daniele
2024-05-01 21:38:45 -06:00
Bu5hm4nn
09f9594959
DM Chatlist: Fix rows not clickable
2024-05-01 21:03:31 -06:00
Daniele Tonon
23f8970b81
MoreMenu: increase Y padding
2024-05-02 00:55:32 +02:00
Daniele Tonon
93b21a4d74
MoreMeu: apply a softer shadow
2024-05-02 00:55:32 +02:00
Mike Dilger
2f2993d5aa
Merge remote-tracking branch 'bushmann/feature/refine-more-menu' into unstable
2024-05-02 07:22:53 +12:00
Mike Dilger
e4cdf1d8e5
Update nostr-types
2024-04-30 11:27:06 +12:00
Bu5hm4nn
bf40cd4987
Merge remote-tracking branch 'dilger/unstable' into feature/refine-more-menu
...
# Conflicts:
# gossip-bin/Cargo.toml
2024-04-28 21:42:23 -06:00
Bu5hm4nn
36ddd3e5f3
Fix unused warnings
2024-04-27 19:08:59 -06:00
Bu5hm4nn
6763e693b8
MoreMenus: Convert most more menu instances to new style
2024-04-27 18:44:26 -06:00
Bu5hm4nn
147665fa2e
ListEntry: Remove hack that made list entries clickable with egui 0.26. It messes up the ui.auto_id_with() counter which in turn messes up MoreMenu's. Now the Name and Avatar are clickable and will lead to profile page.
2024-04-27 18:35:29 -06:00
Bu5hm4nn
358aa7c46b
Settings: Add setting to optionally enable the wgpu renderer, also add commandline to turn it on and off
2024-04-27 11:15:34 -06:00
Bu5hm4nn
854bd33654
winit: Enable "wgpu" renderer (supports Vulkan, Metal, etc)
2024-04-26 17:21:32 -06:00
Mike Dilger
0cb2a26435
Added the ability to add "annotation" tag to a reply to your own posts (via "A" button)
2024-04-27 11:12:44 +12:00
Mike Dilger
af5cec0d7e
Render annotations inside of a note in the UI
2024-04-27 11:12:36 +12:00
Bu5hm4nn
7d7b0d4c03
Colors: Update window fill and default content colors to use new palette
2024-04-26 16:42:43 -06:00
Bu5hm4nn
4e058551c9
MoreMenu: Complete Bubble style according to design
2024-04-26 16:42:10 -06:00
Mike Dilger
8ca7dfeb06
Update nostr-types (rust-lightning patch to avoid overflow)
2024-04-26 18:42:36 +12:00
Bu5hm4nn
39ec60f429
MoreMenu: Get Closures working by specifying dyn trait lifetime
2024-04-25 22:04:33 -06:00
Bu5hm4nn
1b7eecc075
MoreMenu: Attempt to refine to passing list of item text and action closure
2024-04-25 20:52:08 -06:00
Mike Dilger
fe2e87d345
Update nostr-types and match dep versions
2024-04-26 14:26:54 +12:00
Mike Dilger
83d14ca722
Update nostr-types (event.is_annotation(), event.quotes(), EventAddr kind checked for replaceability)
2024-04-26 14:26:54 +12:00
Bu5hm4nn
f97bdf4733
MoreMenu: Move button creation outside of MoreMenu to give more control over button style
2024-04-25 19:12:11 -06:00
Bu5hm4nn
788bb4af05
New Widgets: Fix Button text sizes for note actions
2024-04-25 11:43:17 -06:00
Bu5hm4nn
6d730122a5
Posting Area: Match style of DM posting area to main Posting area.
2024-04-25 11:42:54 -06:00
Bu5hm4nn
31eb195b61
New Widgets: Use new Buttons in more places
2024-04-25 11:42:23 -06:00
Bu5hm4nn
b6e535424f
New Widgets: Make sure "danger hover" is also shown when button is focused (i.e. by keyboard).
...
ThemeTest Page: Add new button states and button to quickly switch between dark and light modes
2024-04-25 10:15:04 -06:00
Bu5hm4nn
5a089d5f9d
New Widgets: Use new Button widget for MoreMenu and create small button variant
2024-04-25 09:44:44 -06:00
Bu5hm4nn
616da20c88
New Widgets: Make use of Button::primary widget in many places
2024-04-24 22:27:51 -06:00
Bu5hm4nn
0a918dd2bc
Merge remote-tracking branch 'dilger/unstable' into feature/new-widgets
...
# Conflicts:
# gossip-bin/src/ui/people/list.rs
# gossip-bin/src/ui/people/person.rs
2024-04-23 13:16:47 -06:00
Mike Dilger
f532d63213
Use Private type for person_lists value (INVERTS THE DATABASE SENSE)
2024-04-23 09:05:52 +12:00
Mike Dilger
9eee972564
Use Private type in people follow/mute and nip05 follow functions (inverts sense)
2024-04-23 09:04:37 +12:00
Mike Dilger
1d819a2dd4
Use Private type in ToOverlordMessage follow messages (inverts sense)
2024-04-23 08:59:26 +12:00
Mike Dilger
2ec7702194
Use Private type for person_list_metadata.private field
2024-04-23 08:52:25 +12:00
Mike Dilger
0c8b049918
fix: Safer way to detect list mismatch
2024-04-22 13:05:23 +12:00
Mike Dilger
084b21b3c0
fix grammar
2024-04-22 13:02:52 +12:00
Mike Dilger
58f216b3a2
cargo clippy
2024-04-22 13:02:52 +12:00
Mike Dilger
9253b2699a
Move About to gossip-bin, so help page doesn't say "gossip-lib"
2024-04-21 08:38:35 +12:00
Michael Dilger
6328f254e9
Merge pull request #726 from bu5hm4nn/fix/show-error-message-on-unparsable-embedded-event
...
Show error on unparseable embedded note content
2024-04-20 13:19:00 +12:00
Bu5hm4nn
3206a36047
Show error on unparseable embedded note content
2024-04-19 19:09:48 -06:00
Mike Dilger
06a72eb3e0
Update nostr-types (bugfix Event ordering)
2024-04-20 12:32:40 +12:00
Bu5hm4nn
d43f03b9db
Relay Pages: Only show Reasons when "Debug Statistics" are turned on
2024-04-20 08:23:18 +12:00
Mike Dilger
8095582206
Do not show private count of Followed list (and force to 0 just in case)
2024-04-18 09:45:51 +12:00
Mike Dilger
0c541e7c50
Merge branch 'master' into unstable
2024-04-18 09:40:40 +12:00
Mike Dilger
c43ec9ed2b
Remove leftover flagword in comments
2024-04-18 09:19:25 +12:00
Mike Dilger
16688bb2d4
Fix transaction-related bugs in loading/saving relays
2024-04-18 09:19:25 +12:00
Mike Dilger
49b78a3f97
Fix transaction-related bugs in loading/saving relays
2024-04-18 08:52:12 +12:00
Mike Dilger
cf4f04fc0d
command: print seen on
2024-04-17 14:20:09 +12:00
Mike Dilger
7318b72349
Update for nostr-types
2024-04-17 14:20:09 +12:00
Mike Dilger
6b73fb5e3c
update nostr-types (generic decryption, better decryption error)
2024-04-17 14:20:09 +12:00
Bu5hm4nn
12075d4243
New Widgets: Manually port important changes from 'feature/color-palette' branch
2024-04-16 12:41:14 -06:00
Bu5hm4nn
45180003de
Button Styles and Widgets: Rename to "Primary", "Secondary" and "Bordered"
2024-04-16 11:22:34 -06:00
Michael Dilger
b8938d1c5f
Merge pull request #715 from bu5hm4nn/feature/settings-custom-mouse-acceleration
...
Settings: Allow custom Mouse acceleration values in textbox
2024-04-16 13:28:02 +12:00
Mike Dilger
b7080f5988
cargo fmt
2024-04-16 13:27:13 +12:00
Bu5hm4nn
cfd44fefce
Settings: Allow custom Mouse acceleration values in textbox (and dynamically adjust the slider) fixes #691
2024-04-16 13:24:36 +12:00
Bu5hm4nn
1a5451a5c0
Tagging: Interact again over painted text to workaround current egui bug. Fixes #707
2024-04-16 13:24:29 +12:00
Bu5hm4nn
7d7057c724
Tagging: Only create a popup for the first match (same rule as do_replacements()
)
2024-04-16 13:24:29 +12:00
Bu5hm4nn
967683959e
Tagging: Do tag replacements only once per tag
2024-04-16 13:24:29 +12:00
Bu5hm4nn
2cc95f425b
Tagging: Interact again over painted text to workaround current egui bug. Fixes #707
2024-04-15 15:46:41 -06:00
Bu5hm4nn
93ee0ad81f
Tagging: Only create a popup for the first match (same rule as do_replacements()
)
2024-04-15 14:21:34 -06:00
Bu5hm4nn
72e334731e
Tagging: Do tag replacements only once per tag
2024-04-15 14:14:37 -06:00
Bu5hm4nn
5c13be4294
Settings: Allow custom Mouse acceleration values in textbox (and dynamically adjust the slider) fixes #691
2024-04-15 13:23:50 -06:00
Mike Dilger
315bc115fc
command: import_encrypted_private_key
2024-04-15 14:41:43 +12:00
Mike Dilger
0958234632
Fix logic of command login
2024-04-15 14:40:52 +12:00
Mike Dilger
d5b3ad1164
command: import_encrypted_private_key
2024-04-15 13:30:01 +12:00
Mike Dilger
4b07dc4cb6
Fix logic of command login
2024-04-15 13:21:36 +12:00
Mike Dilger
059a3c46eb
Command: export_encrypted_key
2024-04-15 13:07:55 +12:00
Mike Dilger
fa81c27351
cargo fmt
2024-04-15 10:03:55 +12:00
Mike Dilger
d3aec9556f
cargo fmt
2024-04-15 10:03:11 +12:00
Mike Dilger
8b143847f2
Fix followed-list comparison; Fix out-of-sync personlist lengths
2024-04-15 10:02:24 +12:00
Daniele Tonon
09b3e2cc5b
Show relay alert icon only for ws:// protocol
2024-04-15 10:02:20 +12:00
Daniele Tonon
b317038cbe
Notifications: optimize space around Reasons label
2024-04-15 10:01:53 +12:00
Daniele Tonon
c7acdc21db
Notifications: Use new palette colors instead of complementary
2024-04-15 10:01:49 +12:00
Daniele Tonon
f67e550986
Notifications: add a gap before the actions block
2024-04-15 10:01:45 +12:00
Daniele Tonon
7c3cba0263
Notifications: Reduce space in notification counters
2024-04-15 10:01:41 +12:00
Daniele Tonon
06db88b99d
Notifications: Put reasons on a new line on small UI
2024-04-15 10:01:36 +12:00
Bu5hm4nn
3d744f0493
Notifications: Make header separate again, wrap description.
...
Widgets: Add Relay Url widget
2024-04-15 10:01:11 +12:00
Bu5hm4nn
56a62f118c
Notifications: Update Layout to be more responsive and consistent over different notification types
2024-04-15 10:01:07 +12:00
Bu5hm4nn
e8a77efcdb
Notifications: Update colors for dark mode, also tone down colors when no notifications present
2024-04-15 10:01:01 +12:00
Mike Dilger
6b5305603c
Merge commit '7792737da7602afd0ddd77ae869758d988b558a3' into unstable
2024-04-15 10:00:22 +12:00
Daniele Tonon
7792737da7
Show relay alert icon only for ws:// protocol
2024-04-14 23:30:46 +02:00
Mike Dilger
4f6e3824fd
Fix followed-list comparison; Fix out-of-sync personlist lengths
2024-04-15 06:57:15 +12:00
Daniele Tonon
d1cda19c6d
Notifications: optimize space around Reasons label
2024-04-11 20:01:01 +02:00
Daniele Tonon
eb7818b40e
Notifications: Use new palette colors instead of complementary
2024-04-11 20:01:01 +02:00
Daniele Tonon
15d373b5ae
Notifications: add a gap before the actions block
2024-04-11 20:01:01 +02:00
Daniele Tonon
81dafc0f01
Notifications: Reduce space in notification counters
2024-04-11 20:01:01 +02:00
Daniele Tonon
f6224a5ab9
Notifications: Put reasons on a new line on small UI
2024-04-11 19:58:48 +02:00
Bu5hm4nn
ec3c245e61
Notifications: Make header separate again, wrap description.
...
Widgets: Add Relay Url widget
2024-04-11 12:57:21 +12:00
Bu5hm4nn
9fc716bf4b
Notifications: Update Layout to be more responsive and consistent over different notification types
2024-04-11 12:57:17 +12:00
Bu5hm4nn
682554599d
Notifications: Update colors for dark mode, also tone down colors when no notifications present
2024-04-11 12:53:30 +12:00
Bu5hm4nn
383686e491
Notifications: Make header separate again, wrap description.
...
Widgets: Add Relay Url widget
2024-04-10 17:18:38 -06:00
Bu5hm4nn
8124e7eceb
Notifications: Update Layout to be more responsive and consistent over different notification types
2024-04-10 13:48:24 -06:00
Mike Dilger
cdf88ae0a0
Command: export_encrypted_key
2024-04-10 11:12:08 +12:00
Bu5hm4nn
1d98e93be9
Notifications: Update colors for dark mode, also tone down colors when no notifications present
2024-04-08 19:15:16 -06:00
Mike Dilger
ed26c4a81f
Remove old indexes and their usage (except in old migrations)
2024-04-06 10:13:07 +13:00
Mike Dilger
1eef6c40d6
Use new find_events_by_filter, retire old find functions
2024-04-06 10:13:07 +13:00
Mike Dilger
b5a2f12f3b
Add stats of new indexes on help page
2024-04-06 10:13:07 +13:00
Mike Dilger
59e6c44fbb
update nostr-types
2024-04-05 09:28:05 +13:00
Mike Dilger
ff53e3bee9
Reapply "Give the post icon some opacity so we can see what is in the post behind it, and move to top if feed reversed"
...
This reverts commit 831887fb4e
.
2024-04-04 11:07:55 +13:00
Mike Dilger
43724ed281
Reapply "Option to render feed with newest at bottom"
...
This reverts commit b51e65a7c6
.
2024-04-04 11:07:55 +13:00