Commit Graph

788 Commits

Author SHA1 Message Date
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
Mike Dilger
9c02afb301 Clear UI sensitive fields on page changes 2024-01-18 09:11:31 +13:00
Mike Dilger
a623a5e7fc GossipIdentity - wrapped nostr_types::Identity 2024-01-17 08:23:14 +13:00
Mike Dilger
2da9cf10b7 update nostr-types (delete_author_allowed() + signer/identity updates) 2024-01-17 07:53:26 +13:00
Mike Dilger
6b329b1688 FIX: Note rendered as QR to use decrypted content (if encrypted note) 2024-01-14 11:33:21 +13:00
Mike Dilger
0d3f9e6ef5 storage: read_or_create_relay() [more ergonomic than write_relay_if_missing] 2024-01-12 16:11:45 +13:00
Mike Dilger
218ed5c862 Add more relay filters, fix Private filter 2024-01-12 10:10:27 +13:00
Mike Dilger
c21b3d3b9c swap "pick up & configure" for "low quality" (otherwise it would be 'A'); add Default sort order variant 2024-01-12 10:00:51 +13:00
Mike Dilger
dfd8972d4d Automatically determine which relays to advertise to 2024-01-12 10:00:51 +13:00
Mike Dilger
763ba57fe4 cargo clippy 2024-01-11 11:16:47 +13:00
Mike Dilger
bc7a26d7e1 Load More support for Inbox 2024-01-11 11:16:47 +13:00
Mike Dilger
7244a99d8e Fix last 2024-01-10 12:56:42 +13:00
Mike Dilger
00f00e205b Command to delete spam 2024-01-10 12:31:30 +13:00
Mike Dilger
80d813483a Fixes to delete 2024-01-10 12:11:16 +13:00
Mike Dilger
03f6797495 update nostr-types (delete_author_allowed()) 2024-01-10 12:11:07 +13:00
Mike Dilger
6047a2e87a Delete unhooked src file 2024-01-10 12:11:07 +13:00
Mike Dilger
73275dac6e Revert "Delete events locally (not terribly useful, they flow back in from relays pretty quickly)"
This reverts commit 6876c12c2c.
2024-01-09 14:10:31 +13:00
Mike Dilger
6876c12c2c Delete events locally (not terribly useful, they flow back in from relays pretty quickly) 2024-01-09 11:01:38 +13:00
Mike Dilger
e68216d450 cargo fmt 2024-01-09 09:45:35 +13:00
Mike Dilger
2a04fc24f4 Update nostr-types (nip-44) 2024-01-09 09:05:09 +13:00
Mike Dilger
115eece5c9 Only show Load More on the feeds were we support it 2024-01-08 11:47:39 +13:00
Mike Dilger
9681760fe7 Load more support for Person feeds 2024-01-08 11:47:39 +13:00
Mike Dilger
7944d92132 Load More: sync time between feed and minions; Depend on which feed 2024-01-08 11:47:39 +13:00
Bu5hm4nn
a24567e119 Load More: Draw some nice lines next to the button as per dtonon's idea 2024-01-08 11:47:39 +13:00
Bu5hm4nn
3a5a1f14c4 Load More: Put button at bottom of feed and style it in accent_style_1 2024-01-08 11:47:39 +13:00
Mike Dilger
0457c186c4 Change feed chunk defaults and range in ui slider 2024-01-08 11:47:39 +13:00
Mike Dilger
f01eb34b9e feed: load more button at bottom 2024-01-08 11:47:39 +13:00
Mike Dilger
7107e2ae25 0.10.0-unstable 2024-01-02 07:56:37 +13:00
Mike Dilger
f55db808c9 cargo fmt 2023-12-29 22:39:43 +13:00
Daniele Tonon
425f1b2e39 People list: Use the two-lines button for the top dropdown 2023-12-27 22:45:18 +01:00
Bu5hm4nn
53de595cb2 People List: MoreMenu don't show public/private unless on Contacts View. Rename items for clarity. 2023-12-27 14:42:07 -06:00
Bu5hm4nn
37871084b3 People List: MoreMenu always allows deleting of list because we now have a confirm dialog. Clear list button disabled when list is empty, 2023-12-27 14:21:09 -06:00
Bu5hm4nn
f02f426ec7 People List: Add Contact now obeys lists's 'Private' setting. Also fix disabling of UI when popups are open. 2023-12-27 14:09:42 -06:00
Bu5hm4nn
8a3a7dc6d7 People Lists: Fix inverted private/public logic on list and profile page 2023-12-27 13:54:40 -06:00
Bu5hm4nn
afc18715f5 Profile Page: Style the List section to use onoff switch style, also for the 'Private' option 2023-12-27 13:11:24 -06:00
Bu5hm4nn
3e771ab7a6 note/mod.rs: Let note use new 'simple' MoreMenu as well 2023-12-27 10:09:24 -06:00
Bu5hm4nn
541e7433ac Profile Page: Fix left margin for sub-headings 2023-12-26 23:18:05 -06:00
Bu5hm4nn
edb488a450 Merge remote-tracking branch 'dilger/unstable' into fix/people-list-styling-again 2023-12-26 22:57:43 -06:00
Bu5hm4nn
f7a49c0a34 MoreMenu: Dynamically choose popup position based on screen quadrant 2023-12-26 16:35:26 -06:00
Bu5hm4nn
31f7716cfd People Lists CO12: Use '=' button for list item menu 2023-12-26 15:01:19 -06:00
Bu5hm4nn
0d6cb5e35f cargo fmt 2023-12-26 14:20:56 -06:00
Bu5hm4nn
7f98b85f3c People Lists CO09, LI07: Change list entry background color to note background color to match feeds. Also for DM chat lists and relay lists. 2023-12-26 14:20:28 -06:00
Bu5hm4nn
a8d3943a20 People Lists CO13, LI08: Add some space at end of lists 2023-12-25 18:47:58 -06:00
Mike Dilger
973406793f cargo fmt 2023-12-26 11:19:10 +13:00
Mike Dilger
db78e749c1 Merge remote-tracking branch 'remotes/bushmann/fix/support-pubkey-only-mode-on-lists' into unstable 2023-12-26 11:17:54 +13:00
Mike Dilger
fe5ba068d2 wizard: setup metadata: cannot publish if pubkey only 2023-12-26 11:16:52 +13:00
Bu5hm4nn
5b94d26d05 People Lists CO14: Make contact image clickable 2023-12-25 16:00:24 -06:00
Bu5hm4nn
610c373e48 People Lists CO10: Increase name size font 2023-12-25 15:53:08 -06:00
Bu5hm4nn
a3943e3b07 People Lists CO11: Decrease space between name and nip-05 2023-12-25 15:51:50 -06:00
Daniele Tonon
759c35ec87 Set the non actionable reactions to a weak color 2023-12-23 08:41:07 +01:00
Daniele Tonon
af4c0ae569 Update style for "Paste" element inside the input 2023-12-23 08:14:17 +01:00
Daniele Tonon
184875bd6b Update texts color for light and dark theme 2023-12-23 08:14:17 +01:00
Daniele Tonon
ac8f2540f7 Fix startup's invisible link in light theme 2023-12-23 08:11:39 +01:00
Bu5hm4nn
a95563a92f Wizard: enable paste on passphrase fields 2023-12-22 20:07:44 -06:00
Bu5hm4nn
846273e217 Login Screen: Increase brightness of skip link. Increase space to button. Enable paste on passphrase field. 2023-12-22 20:04:55 -06:00
Bu5hm4nn
24614865ba Wizard: Show "Paste" link in text edit fields (except passphrase fields) 2023-12-22 19:53:12 -06:00
Bu5hm4nn
446fb616cd Login Screen: Apply dtonon style.
widgets::TextEdit: Create new textedit widget overload to apply uniform styling.
2023-12-22 19:52:33 -06:00
Bu5hm4nn
e5400a9b7c Pubkey-only mode: Support pulling contact list and rename "setup your identity" to the more clear "setup your private-key" 2023-12-22 11:27:59 -06:00
Mike Dilger
ad6f406cd3 Command 'delete_relay' to get rid of mistaken (but technically valid) URLs like "wss://pleb.cloud,wss//nostr.mom" 2023-12-22 13:10:36 +13:00
Mike Dilger
42ebc6a25d Fixes to default relays 2023-12-22 12:54:17 +13:00
Mike Dilger
e7a18a4a7c Use full relay URLs on relay pages (I have suffered greatly and made big mistakes without these) 2023-12-22 12:45:42 +13:00
Mike Dilger
125423e44e Fix for adding purplepag.es as discovery relay when they have none 2023-12-22 12:29:59 +13:00
Mike Dilger
0e4908b970 Update default relays based on current scores 2023-12-22 12:21:15 +13:00
Mike Dilger
242bcd01c1 FIXES to following people:
Following someone requires a complex series of actions which were not consistent:

1) Add them to a list in storage
2) Invalidate their notes in the UI (so they rerender showing the person as followed)
3) Add them to the relay picker
4) Refresh relay picker scores
5) Pick relays again
6) Start a temp subscription to fetch their relay list
7) When their relay list comes in, after processing it, repeat steps 3-5.

GLOBALS.people.follow() now handles this more uniformily, and other parts of the code
should call that.

process.rs() handles step 7.
2023-12-22 11:23:10 +13:00
Mike Dilger
c437e3ebf3 Ignore a particular error during the wizard 2023-12-21 18:44:59 +13:00
Mike Dilger
abff24cfcf Fixes to login screen 2023-12-21 11:44:42 +13:00
Mike Dilger
366a5f7d39 Another (I thought I did this already) 2023-12-21 11:23:48 +13:00
Mike Dilger
a4cba7a173 More type leaking fixes 2023-12-21 11:19:56 +13:00
Mike Dilger
909445365e Fix a type leak 2023-12-21 11:01:32 +13:00
Mike Dilger
58283c1220 cargo clippy 2023-12-21 10:21:24 +13:00
Mike Dilger
72b791e231 modal_popup 'closable' param, set to false for login page 2023-12-21 10:20:16 +13:00
Mike Dilger
db45a619ac ui: startup login screen reworked 2023-12-21 10:10:41 +13:00
Mike Dilger
fa3bb251ba Muted list can have private entries, bring back switch 2023-12-21 08:16:58 +13:00
Mike Dilger
959767849e cargo fmt 2023-12-20 16:11:07 +13:00
Bu5hm4nn
c8f08972b2 Contact List View: Don't show "Private" switch on "Muted" and "Following" lists 2023-12-19 20:44:04 -06:00
Bu5hm4nn
1ffd34e41f Side Menu: Sort lists identical to Lists View 2023-12-19 19:43:48 -06:00
Bu5hm4nn
9eecde7ab5 Feed View: Show title same as Contact List View with (users) and favorite and private symbols. Rename "View contacts" to "Edit List". 2023-12-19 19:05:05 -06:00
Bu5hm4nn
d2bea76bd0 Contact List View: Use Person::best_name() for name display in list entry 2023-12-19 18:57:10 -06:00
Bu5hm4nn
cd584aea51 Contact List View: Remove pubkey from list entry, align other elements 2023-12-19 18:47:48 -06:00
Bu5hm4nn
699b1753f2 Contact List View: Style private toggle, put "remove" into more menu 2023-12-19 17:27:40 -06:00
Bu5hm4nn
933439983b Fix widgets::page_header color 2023-12-19 17:12:46 -06:00
Bu5hm4nn
b70d4e5b85 People Lists: Unify create, edit and delete dialogs and fix them on List Edit View 2023-12-19 17:08:18 -06:00
Bu5hm4nn
05d6cf50e4 List Contacts View: Style the header with star and sunglas icons 2023-12-19 16:53:48 -06:00
Bu5hm4nn
250a4107f8 People Lists: Increase star-icon size 2023-12-19 16:34:55 -06:00
Bu5hm4nn
8ec12be863 MoreMenu: introduce "simple" style which is equal to egui menu_button style
PeopleLists: Use simple menu on All lists view, use bubble style menu on individual list edit
2023-12-19 16:32:15 -06:00
Bu5hm4nn
47687ec26e People Lists: Highlight delete button 2023-12-19 13:26:07 -06:00
Bu5hm4nn
bea700b3c1 People Lists: Rename some more menu items 2023-12-19 13:22:26 -06:00
Bu5hm4nn
42edbcc943 People Lists: Remove "view feed" as clicking the row already does that 2023-12-19 13:13:22 -06:00
Bu5hm4nn
dd0e6303c7 People Lists: Show first Follow and Muted (the standard list), then the favorites, sorted a-z, them the other lists, sorted a-z 2023-12-19 13:12:06 -06:00
Bu5hm4nn
b93856790b Merge remote-tracking branch 'dilger/unstable' into fix/lists-styling
# Conflicts:
#	gossip-bin/src/ui/people/lists.rs
2023-12-19 12:52:05 -06:00
Bu5hm4nn
5d992ad026 Modal Dialog: Allow setting min_size and max_size independently
List Editing:
- Adjust styling
- Show errors in the dialog

cargo fmt
2023-12-19 12:48:11 -06:00
Mike Dilger
f23a0a22b1 cargo fmt 2023-12-19 12:59:32 +13:00
Mike Dilger
e8615f1dc6 Merge remote-tracking branch 'bushmann/fix/lists-styling' into unstable 2023-12-19 12:58:48 +13:00
Mike Dilger
0f162f9b92 packaging: fix deb Dockerfile build 2023-12-19 12:17:16 +13:00
Bu5hm4nn
50f4dd7fea People Lists:
- create new list button in accent style
- remove modal shadow in dark mode
- focus input on new list dialog
- new list "create" button in accent style
- add "Favorite" toggle to new list dialog
2023-12-18 15:15:23 -06:00
Bu5hm4nn
cb322228be Switch Widget: Unify all switch drawing functions and move to widgets:: 2023-12-18 15:12:42 -06:00
Mike Dilger
28b1f7919d ui: make More... not highlight 2023-12-19 09:29:02 +13:00
Mike Dilger
2f4890a496 storage: migration 22: PersonListMetadata3 to include len; usage of new metadata.len 2023-12-18 11:09:14 +13:00
Mike Dilger
57edcb58a7 cargo clippy 2023-12-18 10:30:45 +13:00
Mike Dilger
96f88c033c cargo fmt 2023-12-18 10:28:51 +13:00
Mike Dilger
e1e59aeb74 ui: Buttons to move between lists and feeds 2023-12-18 10:28:12 +13:00
Michael Dilger
3bcbdd3f78
Merge pull request #596 from bu5hm4nn/feature/unify-more-menu-for-lists
unify more menu for lists
2023-12-18 08:08:31 +13:00
Mike Dilger
e49602b335 ui: help: more troubleshooting 2023-12-17 13:53:26 +13:00
Mike Dilger
6970e8695e Reordered the menu
closes #594
2023-12-17 09:41:42 +13:00
Mike Dilger
86c04d36ad Feeds menu excluded from auto-folding; More has a count 2023-12-17 09:30:15 +13:00
Bu5hm4nn
3d0b82f91b People Lists: Unify more menu between lists view and single list view
MoreMenu: Store menu persistence in egui data
2023-12-15 19:29:33 -06:00
Bu5hm4nn
caf6561996 Merge remote-tracking branch 'dilger/unstable' into feature/style-login-screen
# Conflicts:
#	gossip-bin/src/ui/people/list.rs
2023-12-15 13:09:08 -06:00
Bu5hm4nn
07d24b0762 Merge remote-tracking branch 'dilger/unstable' into feature/fix-tagging-popup-for-compose-at-bottom
# Conflicts:
#	gossip-bin/src/ui/people/list.rs
2023-12-15 12:30:43 -06:00
Bu5hm4nn
ca037447d2 MoreMenu:
- Make all more menu popups use window_fill as their background
 - All instances of MoreMenu now close when a button is clicked
Compose Area: Apply style fixes
2023-12-15 12:25:40 -06:00
Mike Dilger
68a5072302 list related fixes 2023-12-15 13:01:46 +13:00
Mike Dilger
b6b6fe8938 ui: People lists work 2023-12-15 11:23:31 +13:00
Bu5hm4nn
7eb87939bc Login Screen: Put in modal-dialogue to center and style the login 2023-12-14 16:03:14 -06:00
Mike Dilger
9334345a5e Do not use title as d-tag on new lists (else cannot be made private) 2023-12-15 10:31:58 +13:00
Bu5hm4nn
23ec947583 Lists View: Adjust spacing of rename list popup 2023-12-14 15:07:54 -06:00
Bu5hm4nn
4ee1e7d2a7 List Edit View: Adjust more-menu size and layout 2023-12-14 15:06:47 -06:00
Bu5hm4nn
82a45b6f52 Tagging: Let popups show above when compose area is shown at bottom 2023-12-13 21:25:31 -06:00
Bu5hm4nn
136632270e Compose Area: Make cancel button a low frequency link 2023-12-13 20:37:20 -06:00
Bu5hm4nn
38aeeb2dd9 Compose Area: Put low-frequency items into MoreMenu 2023-12-13 20:25:14 -06:00
Bu5hm4nn
1aae28917a Popups: Use "ui.next_auto_id()" to avoid persistence on the popups 2023-12-13 19:11:45 -06:00
Bu5hm4nn
4a31983991 Merge remote-tracking branch 'dilger/unstable' into feature/disable-raw-preview-on-empty-replacements 2023-12-13 18:31:35 -06:00
Mike Dilger
e24f2cacb4 When scanning a person list, trigger possible metadata fetch 2023-12-14 11:01:25 +13:00
Mike Dilger
8e7e53b686 A bit of login page improvement 2023-12-14 10:04:53 +13:00
Mike Dilger
8d1cb57bae Strip back Help, turn into Troubleshooting 2023-12-14 09:53:19 +13:00
Mike Dilger
0e393a9401 cargo clippy 2023-12-14 09:14:15 +13:00
Mike Dilger
08271387dd Show the private length of local lists for better comparison 2023-12-14 09:07:09 +13:00
Mike Dilger
a96badb7ce Render status queue messages on the login page 2023-12-14 08:43:30 +13:00
Mike Dilger
b917796858 Person list rename 2023-12-14 08:36:25 +13:00
Bu5hm4nn
2b7c4c2e54 Compose Area: Add info about using '@' for tagging to the hint text 2023-12-12 12:59:28 -06:00
Bu5hm4nn
3d1a168fd3 Compose Area: Disable raw preview button when it would do nothing 2023-12-12 12:58:57 -06:00
Mike Dilger
c929047e60 README update 2023-12-12 09:02:47 +13:00
Mike Dilger
597e4f91ef Unversion PersonList1 in bin 2023-12-08 18:22:26 +13:00
Mike Dilger
94c1fb297e cargo fmt and clippy 2023-12-08 18:13:44 +13:00
Mike Dilger
fd95eb75f5 Fixes to merge 2023-12-08 18:12:40 +13:00
Mike Dilger
07fbffdac7 Merge branch 'fixlists' into unstable 2023-12-08 18:07:06 +13:00
Mike Dilger
0b855bf0af Merge remote-tracking branch 'bushmann/feature/people-list-ui' into unstable 2023-12-08 18:01:59 +13:00
Mike Dilger
3faaa3ff73 cargo fmt && clippy 2023-12-08 16:04:20 +13:00
Mike Dilger
3e276803aa redo start_long_lived_subscriptions after the wizard completes so people don't need to restart 2023-12-08 13:40:14 +13:00
Mike Dilger
7f6f05625f storage: migration19, switch to new person list metadata 2023-12-08 13:23:13 +13:00
Mike Dilger
846a3fc4ca FIX hint 2023-12-08 13:22:14 +13:00
Bu5hm4nn
31f824c6a3 People List: Add "Add and continue" button to quickly keep adding people to a list 2023-12-07 15:35:19 -06:00
Bu5hm4nn
8a9645b664 People Lists: Style clear list confirmation 2023-12-07 14:54:45 -06:00
Bu5hm4nn
d567d23fb0 People List: Add contact search functionality to "Add contact" dialogue 2023-12-07 13:35:17 -06:00
Bu5hm4nn
9986b08fc8 Extract tagging search into a more general widgets::show_contact_search() 2023-12-07 13:32:53 -06:00
Bu5hm4nn
2f4db68750 rename widgets::search_filter_field() to widgets::search_field() 2023-12-07 13:31:30 -06:00
Bu5hm4nn
7fd1c31aad People List: Say "REMOTE: not found on Active Relays" when no remote data is available 2023-12-07 10:29:21 -06:00