Commit Graph

90 Commits

Author SHA1 Message Date
William Casarin
8df5bf04ae refactor: Break EventView into 3 separate views
SelectedEventView
EmbeddedEventView
EventView
2023-01-23 12:13:58 -08:00
William Casarin
7e1daf7816 refactor: move Highlight to its own file 2023-01-23 10:58:39 -08:00
William Casarin
0ead583bda refactor: move BuilderEventView to it's own file 2023-01-23 10:58:39 -08:00
William Casarin
dd44bd779b EventView: hide extra previews
Getting too busy
2023-01-23 10:58:39 -08:00
William Casarin
3e4914462b EventDetailBar disappeared. Let's fix that before (8) 2023-01-22 10:37:33 -08:00
William Casarin
e14cd99c85 Add first_eref_mention helper to refactor embedded builder 2023-01-21 10:29:40 -08:00
William Casarin
0258ef792f Show embedded note references
This reverts commit 3f3b78f9bc.

Changelog-Fixed: Show embedded note references
2023-01-21 09:57:29 -08:00
Zach Hendel
16b6d029fa Icons for hardclick menu event view
changes copy user id icon to person
changes copy note id icon to note.text
changes copy note json icon to magnifying glass

Closes: #330
2023-01-18 09:48:58 -08:00
ericholguin
9eb39f7e0a Don't blur images if your friend boosted it
Closes: #322
Changelog-Changed: Don't blur images if your friend boosted it
2023-01-14 18:47:45 -08:00
William Casarin
d59331bc3c Only show EventDetailBar if we have tips/likes/reposts 2023-01-13 10:17:12 -08:00
William Casarin
b2b790a969 Reactions View
Changelog-Added: Added Reactions View
2023-01-11 16:13:09 -08:00
William Casarin
907f0d236f Rename boost to repost and removed nip05 domain from them
Changelog-Changed: Renamed boost to repost
Changelog-Changed: Removed nip05 domain from boosts/reposts
2023-01-11 14:49:14 -08:00
887eb902bf Add comments to localized strings 2023-01-08 21:57:28 -05:00
dcf328e7ac Fix localization bugs 2023-01-07 19:36:15 -05:00
William Casarin
c10fcc52e3 dms: always use the other persons pubkey in context menu
The DM view can sometimes show our last message, which means the pubkey
in the context menu would be ours. This is super confusing, so always
use the other persons pubkey when copying the user id in the DMs view.

Changlog-Fixed: Always copy other persons pubkey in DMs context menus
2023-01-07 11:29:24 -08:00
William Casarin
5ba5a68628 Switch from bluecheck to purplecheck
This commit also refactors a bunch of crap

Changelog-Changed: Switch from bluecheck to purplecheck
2023-01-04 10:06:19 -08:00
William Casarin
8785f31834 NIP05 Verification
Changelog-Added: Added NIP05 Verification
2023-01-04 01:30:37 -08:00
William Casarin
aaa21bf1bf misc refactors 2023-01-02 18:58:23 -08:00
William Casarin
3f3b78f9bc EventView: remove weird embedded thing 2023-01-02 18:45:30 -08:00
William Casarin
7372c4847d perf: cache link previews
Changelog-Added: Cache link previews
2023-01-02 15:19:57 -08:00
9e9077bab5 Internationalize all bundled user-facing strings
Enables localization to non-English locales in the future
2023-01-02 08:35:02 -08:00
William Casarin
13516dbc0a Show images from yourself
Changelog-Fixed: Show images from yourself
2022-12-28 14:40:32 -08:00
William Casarin
e3db9954f1 thread: fix fonts up a bit 2022-12-27 14:41:50 -08:00
Thomas
d1cbf74840 Improved visual composition for threads
Changelog-Changed: Improve visual composition of threads
2022-12-27 14:41:28 -08:00
William Casarin
d84320bb2c Fix bug where booster's names are not displayed
Changelog-Fixed: Fixed bug where booster's names are not displayed
2022-12-26 10:31:01 -08:00
William Casarin
90bbd90a31 event-context: Rename "Copy Note" to "Copy Note JSON"
Changelog-Changed: Rename "Copy Note" to "Copy Note JSON"
2022-12-26 10:30:07 -08:00
William Casarin
8844764e0c images: also show inline images from friend-of-friends
Changelog-Changed: Also show inline images from friend-of-friends
2022-12-25 12:51:15 -08:00
Sam DuBois
cb5593da06 Fixed font formatting 2022-12-20 09:44:14 -07:00
Sam DuBois
0f64792585 Everything looking really clean. tested and working in dark mode as well 2022-12-18 22:00:48 -07:00
Sam DuBois
cfe623b58b Fixed the boosted font 2022-12-18 21:46:44 -07:00
Sam DuBois
614e6a7ee8 Ton of changes to layout and resolving issues fixing the color scheme 2022-12-18 21:19:53 -07:00
William Casarin
015e0651a4 img: only show images if it is a post from your friend
Changelog-Changed: Only show inline images from your friends
2022-12-18 16:23:53 -08:00
Sam DuBois
8d4c7a5ddc Some layout changes to the profile view 2022-12-18 09:24:58 -08:00
Sam DuBois
9ca68efb32 Some layout changes to the profile view 2022-12-17 22:00:00 -07:00
William Casarin
300cae6800 Revert "ui: Add more padding everywhere."
This reverts commit 36107a2752.
2022-12-17 17:01:54 -08:00
Sam DuBois
36107a2752 ui: Add more padding everywhere.
The app felt a bit claustrophobic

Changed-Changed: Added padding in more views so it feels less claustrophobic
2022-12-17 16:50:30 -08:00
William Casarin
c6ab1de639 Add bolt11 parser and Invoice View
Changelog-Added: Display bolt11 invoice widgets on posts
2022-10-19 07:46:05 -07:00
William Casarin
a47645929e Inline image loading
Changelog-Added: Added inline image loading
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-16 16:11:27 -07:00
William Casarin
355b8c5da8 Use kingfisher for profile pic loading
Changelog-Changed: Use an optimized library for image loading
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-16 11:42:20 -07:00
William Casarin
22cad4b072 wot: show friend icons is some views
easier to detect if someone is trying to fake us out

Changelog-Added: Friend icons next to names on some views. Check is friend. Arrows are friend-of-friends
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-09 16:48:47 -07:00
William Casarin
708d2d7b38 validation: actually validate events
Check to see if id and/or signature are good

Changelog-Changed: Check note ids and signatures on every note
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-06 23:03:01 -07:00
William Casarin
adacdbb764 switch to bech32 everywhere
You can now use @npub, @note or @nsec to reference notes and pubkeys

Changelog-Changed: use bech32 ids everywhere
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-06 23:01:56 -07:00
William Casarin
24c4d99f78 DMs: copy decrypted text instead of raw content
Changelog-Fixed: Copying text in DMs will now copy the decrypted text
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-21 15:51:44 -07:00
William Casarin
03e68b3a10 clickable boost links
Changelog-Added: Clicking boost text will go to that users profile
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-03 09:23:21 -07:00
William Casarin
c122035851 Implement NIP04: Encrypted Direct Messages
Closes #5

This adds encrypted direct message support to damus

Changelog-Added: Implement NIP04: Encrypted Direct Messages
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-02 12:14:36 -07:00
William Casarin
4d68621530 boosts: always register boost, add confirmation
Changelog-Added: Add boost confirmation alert
Changelog-Fixed: Fixed boosts sometimes not registering after click
Signed-off-by: William Casarin <jb55@jb55.com>
2022-06-18 12:41:24 -07:00
William Casarin
e104de6431 fix many small bugs
Signed-off-by: William Casarin <jb55@jb55.com>
2022-06-09 11:40:41 -07:00
William Casarin
200cbe3728 followers
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-26 08:35:19 -07:00
William Casarin
e1c4f59e9a misc tweaks
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-25 06:34:30 -07:00
William Casarin
097cc54bba extract HomeModel from ContentView
huge refactor

Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-24 12:57:40 -07:00