ericholguin
6376c61bad
Highlights
...
This patch adds highlights (NIP-84) to Damus.
Kind 9802 are handled by all the necessary models.
We show highlighted events, longform events, and url references.
Url references also leverage text fragments to take the user to the highlighted text.
Testing
——
iPhone 15 Pro Max (17.0) Dark Mode:
https://v.nostr.build/oM6DW.mp4
iPhone 15 Pro Max (17.0) Light Mode:
https://v.nostr.build/BRrmP.mp4
iPhone SE (3rd generation) (16.4) Light Mode:
https://v.nostr.build/6GzKa.mp4
——
Closes: https://github.com/damus-io/damus/issues/2172
Closes: https://github.com/damus-io/damus/issues/1772
Closes: https://github.com/damus-io/damus/issues/1773
Closes: https://github.com/damus-io/damus/issues/2173
Closes: https://github.com/damus-io/damus/issues/2175
Changelog-Added: Highlights (NIP-84)
PATCH CHANGELOG:
V1 -> V2: addressed review comments highlights are now truncated and highlight label shown in Thread view
V2 -> V3: handle case where highlight context is smaller than the highlight content
Signed-off-by: ericholguin <ericholguin@apache.org >
2024-06-21 12:00:44 -07:00
ericholguin
e332a7f82c
ui: Longform Improvements
...
This patch improves longform previews by including the image title and tags.
In addition with minor UI touch ups.
Testing:
iPhone 15 Pro Max (17.3.1) Dark Mode:
https://v.nostr.build/9zgvv.mp4
iPhone SE (3rd generation) (16.4) Light Mode:
https://v.nostr.build/VwEKQ.mp4
Closes: https://github.com/damus-io/damus/issues/1742
Changelog-Added: Added title image and tags to longform events
Signed-off-by: ericholguin <ericholguin@apache.org >
Link: 20240415031636.68846-1-ericholguin@apache.org
Signed-off-by: William Casarin <jb55@jb55.com >
2024-04-17 15:04:38 -07:00
ericholguin
dfcef0ba95
refactor: rename show image references to blur images
...
Closes: https://github.com/damus-io/damus/pull/1745
Reviewed-by: William Casarin <jb55@jb55.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2023-12-13 11:02:15 -08:00
William Casarin
69c7acea76
tests: add ndb support to tests
...
stops it from crashing
2023-09-21 09:10:06 -04:00
William Casarin
f9d21ef901
test: rename test_event to test_note
2023-07-31 05:38:19 -07:00
William Casarin
de4e8e5748
Only show longform preview in notifications
...
Changelog-Fixed: Show longform previews in notifications instead of the entire post
2023-07-11 12:56:30 -07:00
William Casarin
374610a21a
artifacts: allow unseparated note artifacts
...
This is needed for longform events. Right now we treat unseparated note
artifacts as a list of blocks, but we will likely need to render these
blocks into lists of attributed texts with image blocks inbetween.
2023-07-10 18:24:43 -07:00
Bryan Montz
9847f12c95
Remove unused code
...
Closes : #1105
2023-05-08 11:01:04 -07:00
William Casarin
754ee254e9
Revert "Revert "New Timeline""
...
This reverts commit f5ed9cd5d4 .
2023-03-26 09:35:53 -06:00
William Casarin
f5ed9cd5d4
Revert "New Timeline"
...
This reverts commit f84d4516db .
2023-03-25 06:31:24 -06:00
William Casarin
f84d4516db
New Timeline
...
Switch to a new timeline style that has higher information density and
better image display
2023-03-23 19:03:54 -06:00
William Casarin
57d48a0395
Add option to always show images (never blur)
...
Changelog-Added: Add option to always show images (never blur)
2023-03-15 16:56:25 -06:00
OlegAba
6b1f57d6d0
Truncate long notes ( #715 )
...
Changelog-Added: Truncate large posts and add a show more button
2023-03-01 09:57:39 -08:00
William Casarin
64b1a57918
Notifications
...
Changelog-Added: Add new Notifications View
2023-02-25 11:33:25 -08:00
OlegAba
a1a89dc98e
Add selectable text feature
...
Changelog-Added: Added the ability to select text on posts
Closes : #639
2023-02-18 08:59:47 -08:00
William Casarin
1696e0365e
refactor: settings and translation view
2023-02-03 09:25:07 -08:00
William Casarin
8df5bf04ae
refactor: Break EventView into 3 separate views
...
SelectedEventView
EmbeddedEventView
EventView
2023-01-23 12:13:58 -08:00