Commit Graph

2660 Commits

Author SHA1 Message Date
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
ffee452155 FIX: signer missing save public key along one path 2023-12-22 17:35:10 +13: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
94a04e4d98 After processing an event that changes person-relay information, refresh scores and pick relays 2023-12-22 11:08:11 +13:00
Mike Dilger
c437e3ebf3 Ignore a particular error during the wizard 2023-12-21 18:44:59 +13:00
Mike Dilger
590cf7c614 FIX: signer saving of key-related changes made more consistent 2023-12-21 17:04:45 +13:00
Mike Dilger
0361854379 When initializing a new LMDB, apply some necessary data migrations 2023-12-21 16:49:43 +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
f295e3509f Make 'hide mutes entirely' true by default 2023-12-21 08:18:20 +13:00
Mike Dilger
fa3bb251ba Muted list can have private entries, bring back switch 2023-12-21 08:16:58 +13:00
Mike Dilger
582e77e757 storage: fix m23 desc 2023-12-20 16:28:06 +13:00
Mike Dilger
959767849e cargo fmt 2023-12-20 16:11:07 +13:00
Mike Dilger
eb5c4ab69d storage: m23: recount lists 2023-12-20 16:10:49 +13:00
Bu5hm4nn
7f6084564e Merge remote-tracking branch 'dilger/unstable' into fix/lists-view-styling 2023-12-19 20:44:21 -06:00
Bu5hm4nn
c8f08972b2 Contact List View: Don't show "Private" switch on "Muted" and "Following" lists 2023-12-19 20:44:04 -06:00
Mike Dilger
466473a438 Fixes to person list counting 2023-12-20 15:22:22 +13: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
8cb89ae9d6 Fix: publishing contact list 2023-12-19 18:33:57 +13:00