Commit Graph

7 Commits (f92cfbbb31879db2f9da789f895cf085d52ef039)

Author SHA1 Message Date
OFF0 f92cfbbb31
contact: add follow and unfollow support
this creates a kind 3 event that includes a list of profiles that
the user is following.

the feed is still the public global feed and individual feed with
only events from followed pubkeys will be added in the next commit.

also:
- updated following and unfollwing wording
- added proper primary and secondary button styles.
2023-08-16 14:26:50 +02:00
OFF0 5039b3dece
profile: show following, contact-list changes and contact events
- added following count in profile header
- added contact-list changes events
- added new raw event detail view to visulaize event metadata and
  raw content
2023-08-02 18:06:31 +02:00
OFF0 cd7dfa3f19
profiles: improve profile view
- add about to profile header
- set document title to profile name
- refactor how profile metadata
2023-08-02 11:57:54 +02:00
OFF0 36ba582dd4
feed: update feed colors and spacing
- font: use regular font and smaller font size on mobile
- made publish button smaller on mobile
- add borders between notes and increase card spacing
- changed background colors of cards and nav
2023-07-25 23:24:08 +02:00
OFF0 c88cfa74bb
refactor: improve view and move code to ui and notes
cleanup code and move parts to ui.ts and notes.ts.

simplify view and fix some weird animation issue, it should run
pretty stable now.

updated color and spacings.

profile view now showing kind 0 name, but it is unnecessarily
re-rendering. this part should probably go to a custom profil
subscription callback in the future. keeping as is for now and
refactor later.
2023-04-16 17:01:34 +02:00
OFF0 ab1ea2fa41
view: fix hidden settings view
css regression, somehow flex order doesnt overlay on the main
views, fixed with z-index.
2023-04-16 17:01:27 +02:00
OFF0 495e755844
styles: move stylesheets to styles 2023-04-16 17:01:13 +02:00