Commit Graph

590 Commits

Author SHA1 Message Date
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
Bu5hm4nn
fc982c8ed4 People List: Cache list and limit refresh to every 1 sec, greatly improves scrolling smoothness 2023-12-07 10:21:02 -06:00
Bu5hm4nn
cbb7aba9fe Merge remote-tracking branch 'dilger/unstable' into feature/people-list-ui 2023-12-06 16:06:55 -06:00
Bu5hm4nn
e801abbe58 - Lists: Apply general list_entry style
- Harmonize more menu feature to more_menu.rs
2023-12-06 16:05:50 -06:00
Mike Dilger
2371a49a45 Fix gossip-bin feature set (again) 2023-12-07 08:41:27 +13:00
Mike Dilger
f5c2adbde4 cargo fmt 2023-12-06 17:14:09 +13:00
Bu5hm4nn
d8970baf3a PersonList: Adjust layout of modal popups 2023-12-04 20:05:52 -06:00
Bu5hm4nn
559d8659f5 PeopleList: Style same as DM chat list 2023-12-04 19:39:03 -06:00
Bu5hm4nn
0b82798a8d widgets::page_header - unify right edge spacing 2023-12-04 19:38:15 -06:00
Mike Dilger
28d36abdea Fetch metadata for people when you enter their page, irrespective of when it was most recently checked 2023-12-05 11:25:45 +13:00
Mike Dilger
92d6a19c7e Slight improvement of login page 2023-12-04 12:21:13 +13:00
Mike Dilger
01d4c262ec Create new person list code 2023-12-04 12:04:43 +13:00
Mike Dilger
645588b7c9 Replace degraded Person menu with it's last item People Lists 2023-12-04 11:49:52 +13:00
Mike Dilger
0afacb2ac4 Follow someone on a list; retire FollowNew page (but keep menus for follow/mute) 2023-12-04 11:45:32 +13:00
Mike Dilger
a6d59f7bd8 ui: Pop-up confirmation when deleting a person list 2023-12-04 11:05:14 +13:00
Mike Dilger
1da3257af8 Setting to login at startup; If not a migration, allows skipping. 2023-12-04 10:13:06 +13:00
Mike Dilger
784b4a796d Fix personlist overwrite/merge not working, which fixes date update 2023-12-04 09:45:20 +13:00
Mike Dilger
d1bdf732c0 Fix gossip-bin feature set 2023-12-03 14:22:47 +13:00
Mike Dilger
50032b9499 Storage::get_deletions() now handles multiple deletions of the same event 2023-12-03 14:22:14 +13:00
Mike Dilger
ea8eb06070 UI screen to wait for data migration 2023-12-03 11:00:44 +13:00
Mike Dilger
df7af04299 More person list pages work 2023-12-03 09:42:20 +13:00
Mike Dilger
6ce1d8ef08 Remove Followed/Muted pages (use PersonList(_) page instead) 2023-12-03 09:42:20 +13:00
Mike Dilger
6d7d5e311f PeopleLists page started 2023-12-03 09:42:20 +13:00
Mike Dilger
9c400a37ca Wait for login on startup 2023-12-03 08:32:44 +13:00
Mike Dilger
96819fb21e storage: cleanup: def_flag!() macro 2023-12-03 08:07:30 +13:00
Mike Dilger
9f761b8a18 Switch code to use new relationship databases 2023-12-03 07:53:25 +13:00
Mike Dilger
ca19fd341d UI update, don't continue if frame.close() on shutdown 2023-12-03 07:51:06 +13:00
Mike Dilger
a0ffd4b573 Respec of get_people_in_list() 2023-12-03 07:51:06 +13:00
Mike Dilger
29a71c5c6f update nostr-types (EventKind) 2023-12-02 13:26:02 +13:00
Mike Dilger
4358c1ed4e update nostr-types (CLOSED message) 2023-12-02 07:17:56 +13:00
Mike Dilger
b44cf91292 update egui-video to support ffmpeg 6.1 2023-12-02 07:17:38 +13:00
Mike Dilger
361b3d772e Cleanup some issues with commands 2023-11-30 11:10:08 +13:00
Mike Dilger
4905b0aeab Change how gossip-lib and gossip-bin interact: hide more details in gossip-lib 2023-11-30 11:10:08 +13:00
Mike Dilger
eeb5ca1c49 Improve help output of gossip help command 2023-11-30 11:10:08 +13:00
Mike Dilger
89151955de ui: fix raw-qr toggle issue, either one or the other, not both. 2023-11-30 07:43:05 +13:00
Mike Dilger
12d5f27c24 Update nostr-types 2023-11-29 18:10:24 +13:00
Mike Dilger
483fc45089 Update nostr-types (event.deletes() breaking change) 2023-11-29 16:25:58 +13:00
Mike Dilger
17ea9803de cargo clippy 2023-11-29 16:25:26 +13:00
Mike Dilger
1fc1b81f8d Unify some person list handling 2023-11-29 16:25:21 +13:00
Mike Dilger
8c334a19a4 ui: Some page renames 2023-11-29 16:25:13 +13:00
Mike Dilger
8dba60f157 ui: Rework menu states:
1. Stop keeping a shadow copy of menu collapse state, trust that Context remembers it.
1. Whenever page changes, whether via menu or otherwise, set menu state appropriately
2023-11-28 14:13:56 +13:00
Mike Dilger
339ef50779 Move MyNotes and Inbox back to top level menu items; Collapse open menus if clicking on other 2023-11-28 10:51:42 +13:00
Mike Dilger
04d055c101 ui: person page: Remove Follow/Mute buttons from the right 2023-11-27 21:10:23 +13:00
Mike Dilger
6496214a74 ui: Person page "User lists" section done with switches 2023-11-27 20:42:01 +13:00
Mike Dilger
b236e5d5ac commands: add_person_list, rename_person_list 2023-11-27 20:42:01 +13:00
Mike Dilger
18a1854c12 ui: components: switch_simple() 2023-11-27 20:42:01 +13:00
Mike Dilger
cd5dd718c2 Change separator colors (in light-mode it was utterly invisible) 2023-11-27 20:42:01 +13:00
Mike Dilger
7c391d7f88 Command print_person_lists 2023-11-27 11:12:05 +13:00
Mike Dilger
a4ea97bbda Revert "PersonList selection in main feed"
This reverts commit 203833fc2b.
2023-11-27 10:58:19 +13:00
Mike Dilger
200db849ad Turn feeds menu into an openable menu with all feeds 2023-11-27 10:58:19 +13:00
Mike Dilger
9ebd28bf22 cargo clippy 2023-11-27 09:35:47 +13:00
Mike Dilger
203833fc2b PersonList selection in main feed 2023-11-27 09:34:03 +13:00
Mike Dilger
6f86208bba cargo fmt 2023-11-23 16:17:36 +13:00
Mike Dilger
6a4184387b Small cleanup 2023-11-23 16:17:28 +13:00
Mike Dilger
c5da342c59 Merge remote-tracking branch 'bushmann/tagging-fix-space-in-name' into unstable 2023-11-21 14:13:37 +13:00
Mike Dilger
243c40f92c cargo fmt 2023-11-20 08:09:41 +13:00
Mike Dilger
f5e470824e Storage.get_replies() to include both 'e' and 'a' tag replies 2023-11-20 08:09:01 +13:00
Bu5hm4nn
e55abd7942 Tagging: Fix highlighting of names with spaces 2023-11-17 17:26:04 -06:00
Mike Dilger
3b1223a106 [breaking] update nostr-types for TagV2, EventV2, and others 2023-11-18 08:42:41 +13:00
Mike Dilger
f22c74741a Update for nostr-types [some code is not yet right] 2023-11-18 07:47:19 +13:00
Mike Dilger
fa1e283199 [breaking] update nostr-types: EventReference and rework of replies() and mentions() 2023-11-18 07:35:44 +13:00
Mike Dilger
eb407b731c Merge remote-tracking branch 'bushmann/feature/tagging' into unstable 2023-11-17 10:35:56 +13:00
Mike Dilger
d51f4852e1 cargo fmt 2023-11-16 09:31:22 +13:00
Mike Dilger
ba052c5c42 Updates regarding Event.is_replaceable() 2023-11-15 10:30:32 +13:00
Mike Dilger
3df4d9fba8 update nostr-types 2023-11-15 10:29:58 +13:00
Mike Dilger
e44d4db7cb storage: Simplify to Storage::get_replaceable_event() which handles paramters 2023-11-15 04:22:46 +13:00
Mike Dilger
39c1afa40a command: improve print_followed 2023-11-10 10:28:25 +13:00
Mike Dilger
705299cdfd Minor parameter change 2023-11-10 10:20:50 +13:00
Mike Dilger
54881fb3a9 COMMENT about part that isn't quite correct 2023-11-10 08:55:32 +13:00
Mike Dilger
bd8c988ec0 Rendering of GenericReposts 2023-11-10 08:51:28 +13:00
Mike Dilger
f7a2338fcf Render subject or title, not just subject 2023-11-10 08:37:55 +13:00
Mike Dilger
44409023e4 update nostr-types 2023-11-10 08:36:35 +13:00
Mike Dilger
a6bee2857f ui: quote: if event is replaceable, quote an naddr rather than an nevent 2023-11-10 07:39:16 +13:00
Mike Dilger
0ce9092541 Note menu: offer "naddr" instead of "nevent" if note is replaceable 2023-11-10 06:51:58 +13:00
Mike Dilger
3aa77bde36 Rollback misguided effective_kind() work 2023-11-09 09:57:22 +13:00
Mike Dilger
9c43682a87 Update nostr-types (removing effective_kind(), GenericRepost fix) 2023-11-09 09:56:03 +13:00
Mike Dilger
8737c15e91 Render links to parameterized-replaceable-events nicer 2023-11-09 09:55:24 +13:00
Mike Dilger
626769194e cargo clippy 2023-11-07 19:13:09 +13:00
Bu5hm4nn
f884aee2d0 Tagging: Support tagging same person multiple times 2023-11-03 13:06:20 -06:00
Bu5hm4nn
ed4a1d61e6 Tagging: Only run tagging regex when text changes 2023-11-03 10:58:10 -06:00
Bu5hm4nn
28786598a6 Tagging: Always search for full word under cursor that starts with an '@' 2023-11-02 22:20:14 -06:00
Bu5hm4nn
bb30c41573 cargo fmt 2023-11-02 22:11:38 -06:00
Bu5hm4nn
ce4b4c72df cargo clippy 2023-11-02 21:13:55 -06:00
Bu5hm4nn
6a2ab87f49 Tagging: Always show followed accounts first in tagging search results 2023-11-02 21:10:02 -06:00
Bu5hm4nn
f775ed92f1 Avatars: Unify drawing of avatars across gossip to include following status indicator 2023-11-02 20:33:24 -06:00
Daniele Tonon
c29fa5681f Remove @ prefix from tagged users 2023-11-02 18:10:57 +01:00
Bu5hm4nn
85f3f6ed88 macOS: Adjust Inconsolata y_offset only for macOS 2023-11-01 12:23:21 -06:00
Bu5hm4nn
4b144e039f Tagging: Make raw preview show in same textedit (no more popup) 2023-11-01 12:22:43 -06:00
Bu5hm4nn
15b53cb969 Tagging: fix missing 'nostr:' prefix for tagging, use highlighting in raw preview 2023-11-01 11:30:41 -06:00
Bu5hm4nn
6f82944ebe Tagging: Add option to view 'raw' note. Pass raw note to Overlord for sending. 2023-10-31 15:40:22 -06:00
Bu5hm4nn
3f8e49921f Tagging: Fix removing hovers 2023-10-30 19:51:55 -06:00
Bu5hm4nn
3f7f4fe8f8 cargo clippy 2023-10-30 19:38:12 -06:00
Bu5hm4nn
621577da51 Tagging: Cache hover positions for tagging tooltips, clean up and re-structure tagging code 2023-10-30 19:30:41 -06:00
Bu5hm4nn
debc559696 Tagging: Show mini-profile on hover, add context menu to remove tags 2023-10-28 16:13:11 -06:00
Bu5hm4nn
bff7f36c5b Tagging: Fix crash when not iterating replacements in order 2023-10-27 17:22:24 -06:00
Bu5hm4nn
cadaa89d15 Tagging: Move cursor to end of replacement 2023-10-27 17:22:04 -06:00
Bu5hm4nn
9042143baa Merge remote-tracking branch 'dilger/unstable' into feature/tagging 2023-10-27 16:20:52 -06:00
bu5hm4nn
db5144647f
Tag replacements for nice readability (#3)
* Tagging: Start work on displaying the username and 'hiding' the nurl

* Tagging: Keep a list of replacements in the background (WIP)

* Tagging: Make tag-placeholder free text (no more @)

* Tagging: Cleanup unnecessary changes

* Tagging: Remove unnecessary changes
2023-10-27 16:19:40 -06:00
Bu5hm4nn
3b5fb1679d Tagging: Replace tag search anywhere in text (to support adding tags after writing text) 2023-10-25 15:51:51 -06:00