Commit Graph

832 Commits

Author SHA1 Message Date
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
Mike Dilger
4391701973 Bump version to 0.11-unstable 2024-04-04 11:07:55 +13:00
Mike Dilger
19b952ab53 Cargo clippy and fmt 2024-04-04 11:07:22 +13:00
Mike Dilger
d02a3b642d Merge commit '4136ca58e1f0e3d90db4c7a2b56e98aa432d2812' into unstable 2024-04-04 10:41:29 +13:00
Daniele Tonon
4136ca58e1 Increase right padding and fix top bar 2024-04-03 11:53:34 +02:00
Mike Dilger
408337be12 spelling 2024-04-03 11:52:20 +13:00
Mike Dilger
baa79bd2b8 Merge branch 'unstable' into pending-notifications 2024-04-03 11:52:12 +13:00
Bu5hm4nn
b82e139013 Add right margin to the feed to make space for the scroll bar 2024-03-29 21:39:48 -06:00
Bu5hm4nn
b43033b0ba Fix #701: bug handling kind:6 reposts without embedded note, when the e-tag is not the first tag. 2024-03-29 20:56:58 -06:00
Bu5hm4nn
7795f194e6 Notifications: Add Filter combo box 2024-03-29 18:36:12 -06:00
Bu5hm4nn
d6fe9ce796 Notifications: Make sure 'Remember' switch values are persisted when new pending data comes in 2024-03-29 18:10:47 -06:00
Bu5hm4nn
85f9220531 Make notifications fit in min app size 2024-03-29 13:10:24 -06:00
Bu5hm4nn
00371cdd8b cleanup warning 2024-03-28 22:50:19 -06:00
Bu5hm4nn
5b0d07daaa Merge commit 'cfd0a06a9a0dba726fe46a09adc125a63d2efac2' into feature/pending-notifications
# Conflicts:
#	gossip-bin/src/ui/notifications/mod.rs
2024-03-28 22:48:11 -06:00
Bu5hm4nn
0f65c328c2 Pending Notifications: Implement "icon summary" and replace menu item with it 2024-03-28 22:36:33 -06:00
Bu5hm4nn
b60358357e Add standardized colors to Theme 2024-03-28 21:07:14 -06:00
Bu5hm4nn
233d970596 Merge remote-tracking branch 'dilger/unstable' into feature/pending-notifications
# Conflicts:
#	gossip-bin/src/ui/widgets/mod.rs
2024-03-28 20:24:34 -06:00
Mike Dilger
cfd0a06a9a Allow point-release updates of chrono 2024-03-29 13:59:13 +13:00
Mike Dilger
f9acdcefaa Name fields in PendingItem variants 2024-03-29 13:58:49 +13:00
Mike Dilger
780d3ddf60 clippy fixes 2024-03-29 13:34:13 +13:00
Mike Dilger
dc333b3d90 cargo fmt 2024-03-29 12:51:33 +13:00
Mike Dilger
9051d6f113 logging fixes 2024-03-29 11:55:03 +13:00
Bu5hm4nn
5c707bd5a3 Cleanup old commented code 2024-03-28 16:16:38 -06:00
Mike Dilger
871f29fe54 Update nostr-types 2024-03-29 09:58:58 +13:00
Bu5hm4nn
5480458634 Cleanup old commented code 2024-03-28 14:46:33 -06:00
Bu5hm4nn
47ba7863ad Use borderd button for manage actions 2024-03-28 14:19:51 -06:00
Mike Dilger
e662f4d9d9 Update for EventReference changes 2024-03-29 08:59:26 +13:00
Mike Dilger
b17a005f10 Update nostr-types 2024-03-29 08:59:26 +13:00
Bu5hm4nn
f7054b83eb Pending Notifications: Show timestamps in user's local timezone (uses OS timezone thanks to chrono crate) 2024-03-28 12:25:02 -06:00
Bu5hm4nn
ad2ec883de Merge remote-tracking branch 'dilger/unstable' into feature/pending-notifications 2024-03-27 20:57:56 -06:00
Bu5hm4nn
7629c6a355 Pending: Rework permission system into Pending system and create UI page for Notifications 2024-03-27 20:57:38 -06:00
Mike Dilger
04aa5db932 Merge remote-tracking branch 'bushmann/feature/clickable-relay-links-in-profile' into unstable 2024-03-28 10:09:33 +13:00
Mike Dilger
855e7c2f1f Merge remote-tracking branch 'bushmann/feature/warn-no-audio-device' into unstable 2024-03-28 10:02:01 +13:00
Bu5hm4nn
f421a25304 Make sure Person::best_name() is the only way of choosing the best name 2024-03-26 14:52:51 -06:00
Bu5hm4nn
45eb3648fe Tagging: Prioritize not only followed people but people on all lists 2024-03-26 14:52:01 -06:00
Bu5hm4nn
579757dab9 Show relay list as clickable links that will go to relay configuration 2024-03-26 00:01:33 -06:00
Bu5hm4nn
dc852baaeb Touch up people list layout (fixes #695) 2024-03-25 23:37:05 -06:00
Bu5hm4nn
01d7a17926 Fix Person page layout (fixes #695) 2024-03-25 23:30:58 -06:00
Bu5hm4nn
9549c5a605 Fix posting area when warning area is shown and remove some unused code (old margin case from the time the status was shown in the bottom-panel) 2024-03-25 21:51:32 -06:00
Mike Dilger
23130a8ba4 cargo clippy 2024-03-26 14:10:44 +13:00
Mike Dilger
724785a39d Show relay list state on person lists and person page; add fetch now button 2024-03-26 14:09:39 +13:00
Mike Dilger
1be40a9903 Update emojis 2024-03-26 13:46:36 +13:00
Mike Dilger
9076183b06 Change setting for when relay list and metadata become stale to MINUTES 2024-03-26 11:25:50 +13:00
Mike Dilger
05a4a5884c Do not switch from RunState::Online from RunState::ShuttingDown 2024-03-26 10:14:05 +13:00
Daniele Tonon
2fa631344a Update style for libsdl2-dev alert 2024-03-25 20:57:01 +01:00
Mike Dilger
56b6d8a63f shorten default stale times (especially for relay lists) 2024-03-23 10:12:49 +13:00
Bu5hm4nn
3b04bb0c17 No audio warning: Use updated colors for warning message 2024-03-22 13:16:21 -06:00
Bu5hm4nn
795c805a64 Merge remote-tracking branch 'dilger/unstable' into feature/warn-no-audio-device 2024-03-22 13:02:38 -06:00
Bu5hm4nn
8aa0d39a14 Allow zaps even when no seen_on relays are known for a note, because we only need the author profile 2024-03-21 19:48:27 -06:00
Mike Dilger
3f2fad47a7 Change rendering of relays on person page (mention they are outbox, show the score) 2024-03-22 11:03:41 +13:00
Mike Dilger
b51e65a7c6 Revert "Option to render feed with newest at bottom"
This reverts commit c43135d2bf.
2024-03-22 10:53:29 +13:00
Mike Dilger
831887fb4e Revert "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 20a6d49d2d.
2024-03-22 10:53:29 +13:00
Bu5hm4nn
ba6e2d6a7c Relay Entry: Don't show permission drop-downs when the permission is disabled in settings (fixes #688) 2024-03-21 15:28:49 -06:00
Bu5hm4nn
005ea54c04 Make libsdl2 warning dismissable for one gossip session 2024-03-21 11:33:17 -06:00
Bu5hm4nn
21101d8f41 Merge remote-tracking branch 'dilger/unstable' into feature/warn-no-audio-device 2024-03-21 11:21:17 -06:00
Bu5hm4nn
d3e5dacd67 Fix #552: Don't show more menu on "Followed" and "Muted", remove "view contacts" menu item from more menu for all 2024-03-21 10:31:49 -06:00
Bu5hm4nn
eea6eccc8b People Lists: Row entry text should be non-selectable 2024-03-21 09:35:06 -06:00
Mike Dilger
ce0c647299 Merge branch 'seeker' into unstable 2024-03-21 15:38:51 +13:00
Bu5hm4nn
c1a50ea44b Fixes #552: Clicking on labels should also do row_click action 2024-03-20 17:43:04 -06:00
Bu5hm4nn
8ddc6b99fb Fixed #552: The error messages in the "Add contact to the list" should be displayed below the title 2024-03-20 17:30:59 -06:00
Mike Dilger
4389b1cfda Seek relay list when following someone (parameter not necessary), but only if needed 2024-03-21 12:23:14 +13:00
Bu5hm4nn
f3e3a55a7d Fixed #552: The "more actions" button in the list view should not be displayed if it is empty (Followed and Muted) 2024-03-21 12:22:32 +13:00
Mike Dilger
20a6d49d2d Give the post icon some opacity so we can see what is in the post behind it, and move to top if feed reversed 2024-03-21 12:22:32 +13:00
Mike Dilger
c43135d2bf Option to render feed with newest at bottom 2024-03-21 12:22:32 +13:00
Mike Dilger
41baa88d05 command: backdate_eose() 2024-03-21 12:16:22 +13:00
Bu5hm4nn
d33f3ac8cd Thread: Auto-scroll to note only when note is not already in view to avoid UI "jitters" 2024-03-21 12:15:48 +13:00
Mike Dilger
92b547a43d Changes for building AppImage 2024-03-21 12:15:43 +13:00
Mike Dilger
4d0f5f9d73 Fix force of purplepag.es
fixes #627
2024-03-17 06:09:08 +13:00
Bu5hm4nn
f1ea6bb71e Warn if no audio device is found when compiled with 'video-ffmpeg' option 2024-03-15 18:23:54 -06:00
Bu5hm4nn
05ab6311cf Restore "Follow" and "Unfollow" button to User Profile, fixes #616 2024-03-15 16:36:21 -06:00
Bu5hm4nn
b78bd47c75 Fix issue #572 point A and fix separator placement 2024-03-15 16:16:51 -06:00
Bu5hm4nn
4ef476d79c Fix issue #572 points B, D, F and G 2024-03-15 15:47:15 -06:00
Mike Dilger
0de36e2107 Update gossip-relay-picker. Direction replaced with nostr-types RelayUsage 2024-03-16 10:31:47 +13:00
Mike Dilger
fb6dee3489 Update nostr-types, RelayUsage variants renamed 2024-03-16 10:31:47 +13:00
Bu5hm4nn
38511acc9e Add setting to allow users to turn auto-scroll-to-note-in-thread off 2024-03-15 15:24:35 -06:00
Bu5hm4nn
ec01c660cd Scroll to note in thread, also when it is fake-rendered. 2024-03-15 14:51:48 -06:00
Bu5hm4nn
f4dea1e05e Refactor: Eliminate passing reference of outer egui::Frame (which is never used) in feed module 2024-03-15 13:56:22 -06:00
Bu5hm4nn
712078ab70 Fix bug breaking lower posting area introduced with scroll to note commit 2024-03-15 12:28:02 -06:00
Bu5hm4nn
f6653595e2 Fix bug that gossip would not show replies in feed even if it was enabled (mainfeed_include_nonroot) 2024-03-15 11:12:07 -06:00
Bu5hm4nn
7913e2b92c Scroll to main/focused note in a thread. Also improve some ScrollArea initializations. 2024-03-15 11:11:20 -06:00
Daniele Tonon
17d1462bd1 Update modals' lightbox background 2024-03-15 11:09:58 +01:00
Bu5hm4nn
7a02bf8b00 Wizard: Add ScrollArea to "read_nostr_config" step 2024-03-14 17:44:44 -06:00
Mike Dilger
6827b3f4ad cargo clippy & fmt 2024-03-15 11:23:54 +13:00
Mike Dilger
aa92432181 cargo fmt 2024-03-15 10:46:07 +13:00
Mike Dilger
c0a0f7bac5 offline mode setting - only change runstate if the setting is out of sync 2024-03-15 10:43:44 +13:00
Bu5hm4nn
d3ae17895e Wire up offline setting to runstate 2024-03-14 11:56:31 -06:00
Bu5hm4nn
7a8a38f282 Merge remote-tracking branch 'dilger/unstable' into feature/approval-dialogue 2024-03-14 11:50:16 -06:00
Bu5hm4nn
4b15521ea3 Approvals: Create separate UI for NIP-46 requests showing json to sign 2024-03-14 11:49:47 -06:00
Bu5hm4nn
cfc5aa85b1 Remove unneccessary passes of egui::Context instance, it is available anywhere egui::Ui is already know with ui.ctx() function 2024-03-13 21:51:21 -06:00
Mike Dilger
712e6ec204 Switch to RunState system 2024-03-14 13:09:06 +13:00
Mike Dilger
6a34be768c Remove redundant code and cleanup 2024-03-14 13:04:45 +13:00
Mike Dilger
13c3e34aa5 Simplify lib shutdown 2024-03-14 12:44:52 +13:00
Mike Dilger
b3877fee79 Get rid of Overlord Shutdown message (just do it via GLOBALS) 2024-03-14 12:44:52 +13:00
Bu5hm4nn
225b4a2eeb Style according to @dtonon design 2024-03-13 14:37:39 -06:00
Bu5hm4nn
a8f7632190 Allow user to approve relay connection and auth choosing to store permanently 2024-03-12 16:49:31 -06:00
Bu5hm4nn
8dfd3fd4db Merge remote-tracking branch 'dilger/unstable' into feature/approval-dialogue 2024-03-12 15:26:42 -06:00
Mike Dilger
3e882b7416 Added command 'offline' 2024-03-13 08:17:29 +13:00
Mike Dilger
c99f6036e2 Update nostr-types 2024-03-13 08:01:12 +13:00
Bu5hm4nn
34606d4912 Login Screen: Option to start in offline mode 2024-03-12 12:12:42 -06:00
Bu5hm4nn
72cf47831b Merge remote-tracking branch 'dilger/unstable' into feature/approval-dialogue 2024-03-12 11:40:29 -06:00
Bu5hm4nn
70a015fbb1 Style Approval dialogue 2024-03-12 11:39:10 -06:00
Bu5hm4nn
df14c45baa Allow Relays to be filtered by connect and auth permission 2024-03-12 11:36:17 -06:00
Bu5hm4nn
adbffc5688 Fix truncated labels (introduced with egui update to 0.26) 2024-03-12 11:35:44 -06:00
Mike Dilger
205f2a6ac9 Update nostr-types 2024-03-10 14:49:36 +13:00
Michael Dilger
83bc2ceb8c
Merge pull request #671 from bu5hm4nn/feature/streamline-onboarding-wizard
Streamline onboarding wizard
2024-03-09 09:49:00 +13:00
Bu5hm4nn
d639867729 Fix/Workaround interaction of frame_response::interact(Sense::click) by pre-rendering and allocating the ui.interact before the content. Fixes #677 2024-03-08 14:10:48 -06:00
Bu5hm4nn
92779aa3e1 Update from egui 0.26.0 to egui 0.26.2 2024-03-08 14:08:32 -06:00
Bu5hm4nn
efcd145a54 Revert "Workaround for bug in egui 0.26.x that breaks Response::interact(sense) for egui::Frame responses."
This reverts commit 1ca8084f08.
2024-03-08 12:06:12 -06:00
Bu5hm4nn
e6492407e7 Fix id-clash on Person pages, closes #678 2024-03-08 11:25:00 -06:00
Bu5hm4nn
d4cb17dcb3 Merge remote-tracking branch 'dilger/unstable' into feature/streamline-onboarding-wizard 2024-03-07 20:55:41 -06:00
Mike Dilger
82289e62b1 nip46: show server name in approval window (instead of pubkey) 2024-03-08 14:38:07 +13:00
Mike Dilger
a55e5855c1 Storage: migration 27, nostr connect unconnected server to store a name too (will be used soon) 2024-03-08 14:20:25 +13:00
Mike Dilger
953a08786c cargo clippy 2024-03-08 13:09:12 +13:00
Bu5hm4nn
89d8585c25 Wizard: Fix importing from ncryptsec 2024-03-07 14:06:06 -06:00
Mike Dilger
b85d2df7aa Don't allow dots in petnames (doesn't clean up current ones) 2024-03-08 08:40:59 +13:00
Bu5hm4nn
6b2a6cb367 Merge remote-tracking branch 'dilger/unstable' into fix/wizard-import-pubkey
# Conflicts:
#	gossip-bin/src/ui/wizard/mod.rs
2024-03-07 13:21:48 -06:00
Bu5hm4nn
405698fc2d Fix regression where CreateNewAccount was skipping metadata and follow steps 2024-03-07 13:17:47 -06:00
Mike Dilger
d55739ce9f Update nostr-types 2024-03-08 08:16:12 +13:00
Mike Dilger
236dc62207 Update default relays in the wizard 2024-03-07 14:19:44 +13:00
Bu5hm4nn
6e34ad51d0 Wizard: Add missing visual space to follow people 2024-03-06 07:54:15 -06:00
Bu5hm4nn
83a2de5711 Wizard:
- finish restyle of pages
- skip follow people on private key import
2024-03-06 07:37:48 -06:00
Bu5hm4nn
214a93287b Wizard:
- Overhaul UI style
- reduce number of buttons
2024-03-05 20:59:04 -06:00
Bu5hm4nn
37ecf9e939 Wizard: Follow People page:
- re-style using list view design
- optimize caching to improve UI responsiveness
- use design buttons and improve overall alignment
2024-03-05 11:02:32 -06:00
Mike Dilger
82f1b7d81f Update nostr-types 2024-03-06 04:44:16 +13:00
Bu5hm4nn
6beb7ff7d0 Wizard "Follow People":
- Put entries in ScrollArea so they can all be seen
- Use list format in preparation for prettier complete display
- Refresh Metadata periodically for entries where it is still missing
- Cache Person entries when found (improves UI responsiveness)
2024-03-04 22:32:30 -06:00
Bu5hm4nn
c90ac053c9 Wizard: For pubkey only mode, skip "SetupMetadata" page 2024-03-04 16:44:24 -06:00
Bu5hm4nn
7fb617a4de Wizard: Only show "Exit this Wizard" button on first page of Wizard 2024-03-04 16:44:01 -06:00
Bu5hm4nn
0751e0d1e7 Wizard: Setup Relays Page: Refine text to make it clear successful imports can just continue 2024-03-04 16:03:00 -06:00
Bu5hm4nn
add6de479e Wizard: Clarify wording when importing existing profile 2024-03-04 12:34:01 -06:00
Bu5hm4nn
df3967adb8 Fix inverted use of wizard_state.relay_list_sought 2024-03-04 12:30:42 -06:00
Bu5hm4nn
c40cf3d551 Add commandline command dpi for setting the dpi override setting 2024-03-03 20:37:45 -06:00
Mike Dilger
3347e880c5 Merge commit '62cdb9c4c8d9fa5d49aeef252fed84305f595af2' into unstable 2024-03-02 13:52:05 +13:00
Bu5hm4nn
62cdb9c4c8 Override mouse cursor on reaction labels. Fixes #645 2024-03-01 18:00:00 -06:00
Bu5hm4nn
6cc994572e Relay Entry: Add Permission settings to relay edit view 2024-02-29 17:51:55 -06:00
Bu5hm4nn
a81f4ad832 Settings UI: ScrollArea for all settings pages 2024-02-28 18:06:02 -06:00
Mike Dilger
78bd5432c9 Move a few UI buttons (DPI related) down a row so they are not likely to be offscreen 2024-02-29 08:39:04 +13:00
Mike Dilger
c25ae7beda Show "Load More" button even on empty feeds (just not while recomputing) 2024-02-29 08:20:20 +13:00
Mike Dilger
ca2955c19f F11 maximizes screen 2024-02-29 07:28:11 +13:00
Mike Dilger
8df86bf5e3 Updates for ffmpeg 6.1 2024-02-29 06:22:07 +13:00
Mike Dilger
cdbd25de8f Fix PgUp/PgDn freezing 2024-02-29 05:46:05 +13:00
Mike Dilger
ce21b8346d Update nostr-types 2024-02-28 09:09:29 +13:00
Mike Dilger
ecbcd0674b UI: show when lists are identical based on hash 2024-02-27 10:26:21 +13:00
Mike Dilger
50e47da1a8 Honor dismiss immediately by forcing a feed refresh 2024-02-27 10:24:35 +13:00
Mike Dilger
3f9cc96b1a Don't offer delete for other people's posts 2024-02-27 10:14:16 +13:00
Mike Dilger
caf6d21a48 UI menu option to post again 2024-02-26 08:57:15 +13:00
Bu5hm4nn
1c83e03428 Fix bug when saving: call App::init_scaling() after saving the settings because it reads the settings 2024-02-20 13:24:55 -06:00
Bu5hm4nn
5856a2ba22 Make changing DPI setting more intuitive by offering to revert back to native scaling 2024-02-19 14:31:11 -06:00
Bu5hm4nn
389fb26dbc Move initialization of UI scaling to first run of App::update() as due to changes in egui 0.24 the native DPI is not known until the Viewport is created 2024-02-19 14:30:33 -06:00
Bu5hm4nn
74786e9d85 Video: Stop playing when scrolling out of view 2024-02-16 13:37:06 -06:00
Mike Dilger
e680226dd3 Update nostr-types (ncryptsec NFKC password normalization) 2024-02-17 07:41:53 +13:00
Bu5hm4nn
1ca8084f08 Workaround for bug in egui 0.26.x that breaks Response::interact(sense) for egui::Frame responses. 2024-02-15 20:58:45 -06:00
Mike Dilger
26c63396a1 Fix: command delete_spam_by_content to work better for DM spam (kind=14 works now) 2024-02-16 10:01:15 +13:00
Bu5hm4nn
79ab68aa4a Fix for the deprecation warnings. And a bug fix for when tagging someone twice the cursor jumps to the first tag, now it jumps to the last tag. 2024-02-15 13:39:53 -06:00
Bu5hm4nn
fda89dd542 Change selection color to accent_color for better visibility and fix 2 unused imports 2024-02-15 12:52:18 -06:00
Mike Dilger
d0aa9c9ef8 Merge remote-tracking branch 'bushmann/updated-egui-test' into unstable 2024-02-16 07:31:02 +13:00
Mike Dilger
f55ec5ddae Fix warnings 2024-02-14 10:05:15 +13:00
Bu5hm4nn
d37c48ad0d Update egui-video 2024-02-12 14:17:58 -06:00
Bu5hm4nn
ead6159e5c Scrolling: Use raw_scroll_delta because smooth_scroll_delta never reaches zero 2024-02-12 12:59:00 -06:00
Bu5hm4nn
f48728b141 Merge remote-tracking branch 'dilger/unstable' into updated-egui-test
# Conflicts:
#	gossip-bin/Cargo.toml
2024-02-12 12:30:45 -06:00
Bu5hm4nn
3351fabc06 Clipboard: Don't create a second Clipboard instance, instead use the ViewportCommand::RequestPaste command 2024-02-12 12:15:17 -06:00
Bu5hm4nn
f39877204e Fix: using wrong text position, introduced when porting to new egui 2024-02-11 23:14:47 -06:00
Bu5hm4nn
8192456aac Adapt kinetic scrolling for egui 0.26.0 2024-02-11 17:56:41 -06:00
Bu5hm4nn
687dae2cf8 Disable deadlock_detection for normal use 2024-02-10 17:06:48 -06:00
Bu5hm4nn
81a4546330 Fix auto-id warning 2024-02-10 16:55:34 -06:00
Bu5hm4nn
49725c9f84 Adapt to new macOS options 2024-02-10 16:55:19 -06:00
Bu5hm4nn
860805f85a Fix deadlock 2024-02-10 16:18:29 -06:00
Bu5hm4nn
114ed45cf0 Update to egui 0.26.0 master in progress...
BUG: currently deadlocks
TODO: Scroll delta needs to be ported (but first check out if it's still needed with egui's new smooth scrolling options)
2024-02-09 21:03:15 -06:00
Mike Dilger
0f737a9d60 update gossip-relay-picker 2024-02-08 10:21:14 +13:00
Mike Dilger
d841102711 nip46 server: option to approve just once 2024-02-07 08:27:03 +13:00
Mike Dilger
b0fc677423 More on NIP-46 approvals (NEED MIGRATION NEXT, THEN NEED APPROVAL OPTIONS) 2024-02-05 20:45:57 +13:00
Mike Dilger
704ed3802c Merge branch 'unstable' into auth 2024-02-05 13:38:57 +13:00
Mike Dilger
c09a1c8bdf Cargo update, with patches to sdl and zbus 2024-02-05 10:12:20 +13:00
Mike Dilger
35081b9767 UI approval popup 2024-02-04 08:48:31 +13:00
Mike Dilger
3137a5bc5f Settings for relay connection and auth requiring approval 2024-02-04 08:48:31 +13:00
Mike Dilger
76d7911595 commentary 2024-02-04 08:48:31 +13:00
Mike Dilger
f78ec69ba1 User confirmation of Relay Connection (without UI promit, auto-approving) 2024-02-04 08:48:31 +13:00
Mike Dilger
95d3253af6 Auth approval for relays (without UI interaction, currently it auto-approves) 2024-02-04 08:48:30 +13:00
Bu5hm4nn
617079fd5a Relay Lists: Reset edit state when changing pages. fixes #628 2024-02-03 13:07:03 -06:00
Mike Dilger
2ff4694ae4 MAJOR Updates for TagV3 and EventV3 (including migration 25) 2024-02-03 10:41:38 +13:00
Mike Dilger
17d1cd3b76 Update nostr-types (TagV3) 2024-02-03 05:02:31 +13:00
Mike Dilger
258cdcc13f Fix a race condition in the relay usage switches 2024-02-02 09:41:13 +13:00
Mike Dilger
d1bb85cec9 When setting up nostr-connect, subscribe to the relay for those events 2024-01-31 08:02:49 +13:00
Mike Dilger
f62d29cba9 Improve wording 2024-01-30 09:46:19 +13:00
Mike Dilger
e6d827f56f cargo fmt 2024-01-30 09:37:23 +13:00
Mike Dilger
0f3bbf4f31 UI for nostr-connect 2024-01-30 09:14:04 +13:00
Mike Dilger
6325a8a192 Storage for nip46 2024-01-29 11:41:42 +13:00
Mike Dilger
b548cfb66c udpate nostr-types 2024-01-26 08:57:12 +13:00
Mike Dilger
4ba1b44376 Fix last commit 2024-01-23 12:04:21 +13:00
Mike Dilger
434c1be54b [PRIVACY] Do not automatically show images in DMs 2024-01-23 09:17:35 +13:00
Mike Dilger
0c7bfa5b5d update nostr-types [Filter] 2024-01-22 10:47:34 +13:00
Mike Dilger
1a07f3c8eb Setting: avoid spam on unsafe relays (default to off to mimic current behavior) 2024-01-19 10:01:05 +13:00
Mike Dilger
4143632c9b Introduce relay SPAMSAFE usage bit 2024-01-19 09:47:34 +13:00
Mike Dilger
c0f6ff4fed simplify 2024-01-19 09:47:12 +13:00
Mike Dilger
bcd1f29857 move lib Settings into bin UnsavedSettings since it is the only consumer 2024-01-19 07:48:49 +13:00
Mike Dilger
719e5959c3 Stop using Settings object in UI (except for unsaved settings) 2024-01-19 07:40:19 +13:00
Mike Dilger
6373b0550a Thread relay changes through the overlord so that subscriptions can be updated 2024-01-18 12:01:07 +13:00
Mike Dilger
a7a36bdd9b Clean up overlord relay subscription interface 2024-01-18 09:55:51 +13:00
Mike Dilger
09bd143a21 Wizard: When generating a keypair, indicate such rather than flashing an error 2024-01-18 09:40:50 +13:00
Mike Dilger
3e8388b8bc Do not require any minimum number of relays, but suggest. 2024-01-18 09:21:51 +13:00
Mike Dilger
37dad0fe46 Wizard: set pages via app.set_page() [but shortcut that function when within_wizard] 2024-01-18 09:11:31 +13:00
Mike Dilger
7d7e462e35 wizard: allow empty passwords, indicate password mismatch dynamically 2024-01-18 09:11:31 +13:00