Commit Graph

337 Commits

Author SHA1 Message Date
Bu5hm4nn
a8d3943a20 People Lists CO13, LI08: Add some space at end of lists 2023-12-25 18:47:58 -06: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
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