Commit Graph

17 Commits

Author SHA1 Message Date
William Casarin
cebd1f48ca ndb: switch to nostrdb notes
This is a refactor of the codebase to use a more memory-efficient
representation of notes. It should also be much faster at decoding since
we're using a custom C json parser now.

Changelog-Changed: Improved memory usage and performance when processing events
2023-08-03 13:20:36 -07:00
William Casarin
b40c595a7c notify: switch over to new typesafe notifications 2023-07-30 11:02:44 -07:00
William Casarin
bebaffd247 contacts: unify following logic
We are about to add hashtag following, so let's prepare handle_follow
for this. Generalize pubkey following to ReferenceId follows in the
handle_{follow,unfollow} functions.

We also split out the notification part into its own function.
2023-07-13 09:32:42 -07:00
William Casarin
eabf37e35c Refactor damus color references 2023-03-27 12:39:38 -04:00
5cd4c2d75e Fix localization issues, add tests, import translations, and add zh-CN and zh-TW
Closes: #689
2023-02-24 12:44:54 -08:00
1b27e9041f Fix localization issues 2023-02-19 13:17:53 -05:00
William Casarin
09f12845c0 FollowButton: show "Follows You" if they follow you
Changelog-Changed: Show "Follow Back" button on profile page
2023-02-07 10:22:19 -08:00
OlegAba
e07b31e0a1 Consistent follow/unfollow button width
Changelog-Fixed: Make follow/unfollow button a consistent width
2023-01-18 09:28:29 -08:00
887eb902bf Add comments to localized strings 2023-01-08 21:57:28 -05:00
Ben Weeks
57dbb6a487 Updated the profile look and feel
Closes: #203
Changelog-Changed: Updated profile page look and feel
2023-01-02 19:30:18 -08:00
William Casarin
79f4223977 Profile Editor
Changelog-Added: Added profile edit view
Changelog-Changed: Don't fetch followers right away
2022-12-23 13:14:57 -08:00
Thomas
749b97e663 Edit button on account page 2022-12-23 17:37:21 +01:00
Sam DuBois
c5761b05d9 Quick fix on the border color of the follow button depending on if you already follow that person. Released my logic path was backwards. fixed! 2022-12-19 13:47:26 -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
Sam DuBois
8c010e864a Some more improvements to the two views. Looking better for sure 2022-12-17 23:28:35 -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
William Casarin
874d15df45 following view
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-16 16:23:34 -07:00