Nethanja Focking
0e168e1751
cargo fmt + clippy
2023-04-06 17:38:47 -06:00
Nethanja Focking
7c0180bc0b
Refine context menu and increase image menu button spacing
2023-04-06 17:00:14 -06:00
Nethanja Focking
25dbdb7289
Click to full-width, menu to the right of images
2023-04-06 16:27:47 -06:00
Nethanja Focking
3a765c11d2
Remove SVG again, but leave comment on how to load
2023-04-06 16:27:21 -06:00
Nethanja Focking
0abd873073
Updated UX on image placement
2023-04-06 15:18:11 -06:00
bu5hm4nn
ec7b7088e3
Add option "Render images inline" to show images by default. Clicking an image will collapse it and show a link.
...
When Render images inline is false, click an image link will show the image.
Link and image have a context menu to open in browser and copy the URL.
2023-04-06 13:34:13 +12:00
bu5hm4nn
93bf9edaef
Make sure images are on their own row
2023-04-06 13:31:00 +12:00
bu5hm4nn
9a94e494a9
Load images but ignore videos for now
...
- images are max as wide as the content width and max as high as 1/4 of viewport height (we could let the user choose this later)
- in this commit there is one global setting to enable/disable media loading
- frame with small rounded edges gives illusion of image rounding but they are actually not
2023-04-06 13:30:57 +12:00
Mike Dilger
516527281b
Improve quote: insert an nevent1 with relays from event_seen (isntead of a note1 without relays)
2023-04-06 08:50:50 +12:00
Mike Dilger
83d5f7c910
Better handling of broken bech32.
...
Fixes #340
2023-04-06 08:49:21 +12:00
Mike Dilger
6321c6f65f
update README with delete support
2023-04-02 16:56:17 +12:00
Mike Dilger
2cc1a8f963
Deletion support
2023-04-02 16:54:22 +12:00
Mike Dilger
ae5e0a4939
Cargo clippy & cargo fmt
2023-04-02 16:53:29 +12:00
Mike Dilger
b742c23744
Do not render 'reply' and 'quote' buttons when you cannot post
2023-04-02 16:53:29 +12:00
Mike Dilger
abbd682a36
Include current git hash in unstable version numbers
2023-04-02 16:53:29 +12:00
Mike Dilger
4de2a8dc93
If we encounter an 'nevent', and we don't have it, fetch it.
2023-04-01 12:30:00 +13:00
Mike Dilger
60ada3203d
Fix indexing bugs that might be in the midst of a unicode character
2023-04-01 09:49:02 +13:00
Mike Dilger
b2df05424f
update nostr-types (fix deeper unicode indexing issue)
2023-04-01 09:46:05 +13:00
Mike Dilger
34dd06d826
Merge branch 'unstable'
2023-03-31 18:28:54 +13:00
Mike Dilger
400626ab96
Focus compose area on quote/reply; Send compose area on CTRL-Return or CMD-Return
2023-03-31 18:08:46 +13:00
Mike Dilger
527f9741a5
hardcode zap receipts off and do not show in settings up
2023-03-31 18:07:38 +13:00
Mike Dilger
0708a92b94
Focus compose area on quote/reply; Send compose area on CTRL-Return or CMD-Return
2023-03-31 18:06:22 +13:00
Mike Dilger
88c29a1d84
update egui (updates access kit, where focus bug was happening)
2023-03-31 18:06:22 +13:00
Mike Dilger
6e89025c8e
hardcode zap receipts off and do not show in settings up
2023-03-31 18:06:22 +13:00
Mike Dilger
5bd92e2d7e
Improve composition highlighting
2023-03-31 16:19:34 +13:00
Mike Dilger
6a51dbae75
bugfix shatter_content()
2023-03-31 14:53:04 +13:00
Mike Dilger
ebd76130ef
NIP-27 support for new posts. No longer putting #[0] references in. Standardize with 'nostr:' prefix
2023-03-31 14:25:23 +13:00
Mike Dilger
801cda23ae
Use shatter_content() when rendering notes
2023-03-31 14:08:05 +13:00
Mike Dilger
b687af7a21
shatter_content() [not yet in use]
2023-03-31 13:08:51 +13:00
Mike Dilger
c09d51d4a5
Improve image/video link handling
2023-03-31 11:16:46 +13:00
Mike Dilger
7fc6fb8b93
Note menu: "Copy nevent"
2023-03-31 11:00:22 +13:00
Mike Dilger
9b67dcb1f9
Updates for changes upstream in nostr-types
2023-03-31 10:37:07 +13:00
Mike Dilger
7963b18219
update nostr-types
2023-03-31 10:37:02 +13:00
Mike Dilger
a26c2976c2
more natural import
2023-03-30 13:07:53 +13:00
bu5hm4nn
c2c103eba4
Handle "nostr:nprofile" links in note content
2023-03-30 12:57:32 +13:00
Mike Dilger
dc19119c34
Cargo fmt
2023-03-30 12:33:03 +13:00
Mike Dilger
bf631c6b3f
Keep up to date with upstream egui
2023-03-30 12:33:03 +13:00
Mike Dilger
cfa3f9d396
A few fixes to recent changes to processing.rs
2023-03-30 12:33:03 +13:00
Mike Dilger
634c924dca
Fix FOREIGN KEY error by reordering logic in process.rs
2023-03-30 12:33:03 +13:00
Mike Dilger
41dbb959cf
Database Connection no longer inside an Option
2023-03-30 12:33:03 +13:00
Mike Dilger
8a2cf8fea0
Cargo fmt
2023-03-30 12:30:29 +13:00
Mike Dilger
dcbf02010a
Show GMT time when hovering over time
2023-03-30 12:30:19 +13:00
Mike Dilger
b05d7ba8d5
UI improvement for hovered seen on
2023-03-30 12:30:09 +13:00
Mike Dilger
6671ab7248
Merge commit '2cf2a23500ed076369d8a86bf46340da9bca876d'
2023-03-30 12:29:50 +13:00
Mike Dilger
2cf2a23500
Fix UI issues with relays event was seen on
2023-03-30 10:11:10 +13:00
Mike Dilger
0db66a4618
Make the FOREIGN KEY error more obvious (but not fixed)
2023-03-29 17:42:05 +13:00
Mike Dilger
c530a98fb8
Our Error doesn't benefit from impl std::error::Error
2023-03-29 17:07:28 +13:00
Mike Dilger
17e3f00533
Merge commit '26a381c8f7347590559a1c0691cb9ef3eca0256e'
2023-03-29 16:54:35 +13:00
Mike Dilger
a791ef4990
Error handing revamped so we can record file! and line! where external error appeared
2023-03-29 16:53:38 +13:00
Mike Dilger
fca79886f6
cargo fmt
2023-03-29 16:53:29 +13:00