Commit Graph

215 Commits

Author SHA1 Message Date
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
Bu5hm4nn
51baa10607 cargo clippy 2023-10-25 15:42:36 -06:00
Bu5hm4nn
a94e55efc8 cargo fmt 2023-10-25 15:39:41 -06:00
Bu5hm4nn
430f9de801 Tagging: Allow mouse selection, fix animation of tagging area 2023-10-25 15:35:09 -06:00
Bu5hm4nn
7e90837c40 Tagging: Remove old tagging search field 2023-10-25 15:12:31 -06:00
Bu5hm4nn
0932a8dab4 Tagging: 'Tab' key will cycle results and wrap back to top 2023-10-25 15:12:10 -06:00
Bu5hm4nn
5806209427 Ignore keyboard scrolling when compose area has focus 2023-10-25 14:32:13 -06:00
Bu5hm4nn
2e3ee6276d Tagging: Cache results and only search when a new search phrase is typed 2023-10-25 13:47:41 -06:00
Mike Dilger
289804e9f2 When following someone new, jump to their page (except nip05 which is too tricky) 2023-10-26 08:05:58 +13:00
Mike Dilger
ee6a48de97 cargo fmt 2023-10-26 08:05:57 +13:00
Mike Dilger
fcfa0fce48 Fix relays sort-by-following 2023-10-26 08:05:57 +13:00
Mike Dilger
a3589411d4 Person page: show relays in score order, cutoff below 6 2023-10-26 08:05:57 +13:00
Mike Dilger
c4dbbcbc5a Update gossip-relay-picker 2023-10-26 08:05:57 +13:00
Mike Dilger
5801bbe7ff ui: Space at the bottom of each settings page 2023-10-26 08:05:57 +13:00
Daniele Tonon
7f852faef9 Revert "Make new notes background less prominent"
This reverts commit 777058afd5.
2023-10-25 14:25:00 +02:00
Bu5hm4nn
e4892ae467 Tagging: Tag users in place using keyboard navigation. Selecting with mouse clicks currently only works when mouse is over textbox area. 2023-10-24 23:59:00 -06:00
Bu5hm4nn
57d1749f2f Merge remote-tracking branch 'dilger/unstable' into feature/tagging 2023-10-24 18:04:37 -06:00
Bu5hm4nn
917e2678a9 Merge remote-tracking branch 'dilger/unstable' into feature/tagging 2023-10-24 15:48:48 -06:00
Bu5hm4nn
df99e2eea6 Profile Page: fix warning unused variable 2023-10-24 15:39:24 -06:00
Bu5hm4nn
92d6308a22 Modal Popup: Put the close 'X' button in it's own egui::Area so it can be positioned independently 2023-10-24 15:38:21 -06:00
Mike Dilger
118a5a47ac Merge branch 'feature/profiles-ui-restyle' into unstable 2023-10-25 09:06:51 +13:00
Daniele Tonon
777058afd5 Make new notes background less prominent 2023-10-24 21:37:47 +02:00
Mike Dilger
94d4c7790c cargo fmt 2023-10-25 08:21:04 +13:00
Mike Dilger
fdb3b28d37 person page: enable the Priority button 2023-10-25 08:20:58 +13:00
Mike Dilger
4ef0cbc697 Merge branch 'unstable' into feature/profiles-ui-restyle 2023-10-25 08:20:50 +13:00
Mike Dilger
89542d00ee Names: Person::best_name(): petname > name > display_name > pubkey_short 2023-10-25 07:43:38 +13:00
Daniele Tonon
0d5e2ea765 Fix LUD16 QR code 2023-10-24 20:42:02 +02:00
Mike Dilger
9bd86d4202 Update gossip-relay-picker 2023-10-25 07:10:49 +13:00
Bu5hm4nn
7dd1838cc7 Merge remote-tracking branch 'dilger/unstable' into feature/profiles-ui-restyle 2023-10-24 11:48:50 -06:00
Daniele Tonon
e098c264e5 Restyle modal with qrcodes in profile 2023-10-24 18:31:34 +02:00
Daniele Tonon
e0d238ecb6 Review profile texts 2023-10-24 18:31:34 +02:00
Daniele Tonon
8ccf9bd9da Review profile fills 2023-10-24 18:31:34 +02:00
Daniele Tonon
8ab9e0e36e Review theme background fills 2023-10-24 18:31:34 +02:00
Daniele Tonon
f7bb01a7d6 Restyle primary, secondary and danger buttons 2023-10-24 18:31:34 +02:00
Daniele Tonon
60cfa12eec Review darken_color function 2023-10-24 17:45:36 +02:00
Bu5hm4nn
d4990b7ff7 Profile Page: Dark mode styling (WIP) 2023-10-23 20:39:13 -06:00
Mike Dilger
77086f7005 tagging: determine if the user is typing a @tag in the draft area 2023-10-24 09:44:59 +13:00
Bu5hm4nn
a629eec2d1 Profile page: Fix flicker on copy symbols 2023-10-23 13:09:22 -06:00
Mike Dilger
272af86039 Generalize with ToOverlordMessage::UpdatePersonList 2023-10-23 12:31:15 +13:00
Mike Dilger
1ad86866b1 Switch code to use the new person_list_last_edit_time storage 2023-10-23 10:02:18 +13:00
Mike Dilger
c459d2bb12 Generalize compute/store/fetch of time and size of last PersonList event 2023-10-23 10:02:18 +13:00
Mike Dilger
bb907b537d Generalize commands to push person list events 2023-10-22 09:34:59 +13:00
Mike Dilger
1e5300c0f7 cargo fmt 2023-10-22 09:28:48 +13:00
Bu5hm4nn
afee94b4cb Profile Page: Hide status circle if not applicable 2023-10-21 14:17:05 -06:00
Bu5hm4nn
055dde4b0f Profile Page: Optimize "is_self" scenario 2023-10-21 14:11:36 -06:00
Bu5hm4nn
4a2cf62f24 Profile Page: Show status circle on avatar image 2023-10-21 13:53:40 -06:00
Mike Dilger
cbf1d95392 Generalize getting person list keys and checking if a person is in a list 2023-10-22 08:38:05 +13:00
Bu5hm4nn
adbce6a7ea Profile Page: Standardize render order for some metadata fields, skip if found later 2023-10-21 10:21:27 -06:00
Bu5hm4nn
e2b5a3500a Merge remote-tracking branch 'dilger/unstable' into feature/profiles-ui-restyle 2023-10-20 15:32:32 -06:00
Bu5hm4nn
36333f2b4e CopyButton: Make stroke overridable, use on Profile Page 2023-10-20 15:32:19 -06:00
Bu5hm4nn
117fcffc35 Profile Page: Skip empty metadata fields unless it's the account owners profile 2023-10-20 15:07:25 -06:00
Bu5hm4nn
e9e43499ea Profile Page: Fine tune spacing 2023-10-20 14:29:19 -06:00
Bu5hm4nn
709be48fd1 White background for Person pages 2023-10-20 14:29:01 -06:00
Bu5hm4nn
fc6371e97e Profile Page: add button clicke active style 2023-10-20 14:10:19 -06:00
Bu5hm4nn
f5487921bc Profile Page: Style buttons 2023-10-20 14:04:57 -06:00
Bu5hm4nn
9d1ca34ec1 Profile Page: Don't save empty petnames, remove instead 2023-10-20 12:14:28 -06:00
Bu5hm4nn
a8fb42d74f Profile Page: Restore editing petname 2023-10-20 12:04:24 -06:00
Bu5hm4nn
2e592bb619 Profile Page: Adjust margins and harmonize style code 2023-10-20 11:36:10 -06:00
Bu5hm4nn
d5990472b4 Profile Page: Complete layout logic (manual justify) 2023-10-19 23:57:59 -06:00
Bu5hm4nn
fadfaf2400 Profile Page: Optimize layout responsiveness (WIP) 2023-10-19 22:45:27 -06:00
Bu5hm4nn
eb82863645 Gossip UI: Set minimum window size to 800 x 600 2023-10-19 22:42:29 -06:00
Mike Dilger
7e6f1e33d2 Update for nostr-types 2023-10-20 16:28:45 +13:00
Mike Dilger
e0ef463bfb [breaking] update nostr-types 2023-10-20 14:42:49 +13:00
Bu5hm4nn
0278fc8b44 Profile Page: Continue layout work (WIP) 2023-10-19 19:12:44 -06:00
Bu5hm4nn
3454cf2b31 Profile Page: Improve QR popup size and placement 2023-10-19 15:56:53 -06:00
Bu5hm4nn
0d85510fd7 Profile Page: Work on new layout (WIP) 2023-10-19 14:01:19 -06:00
Bu5hm4nn
d8ea13870b Standardize page header and use in relays section (other sections still TODO) 2023-10-18 21:11:56 -06:00
Bu5hm4nn
e0963a37dc Merge remote-tracking branch 'dilger/unstable' into feature/profiles-ui-restyle 2023-10-18 19:46:54 -06:00
Mike Dilger
543f7bd73d Remove prefixing of IdHex and PubKeyHex 2023-10-19 13:02:41 +13:00
Mike Dilger
373b7d03ed [breaking] cargo update (including nostr-types) 2023-10-19 12:54:45 +13:00
Mike Dilger
228d6ec89f Fix wizard panic on deleting purplepag.es 2023-10-18 17:28:17 +13:00
Mike Dilger
ed84c4098c Update wizard default-relay list 2023-10-18 08:48:36 +13:00
Mike Dilger
8c13513dea Distinguish better between followed people and subscribed people 2023-10-17 20:30:23 +13:00
Mike Dilger
d91fc0810b Update gossip-bin for person_lists2 2023-10-17 16:38:04 +13:00
Bu5hm4nn
57eb4610f7 Harmonize access to ui.visuals() and ui.visuals_mut() 2023-10-16 16:01:42 -06:00
Mike Dilger
243bb2fd64 FeedKind::Followed(replies) changed to more general FeedKind::List(list, replies) 2023-10-16 09:07:56 +13:00