diff --git a/packages/app/src/components/content/NostrGrid.vue b/packages/app/src/components/content/NostrGrid.vue index 482eaca9..bce5c598 100644 --- a/packages/app/src/components/content/NostrGrid.vue +++ b/packages/app/src/components/content/NostrGrid.vue @@ -24,6 +24,9 @@ + + + ('feed') +const activeSubTab = ref<'feed' | 'dms' | 'relays' | 'profile' | 'lists'>('feed') const subTabs = [ { id: 'feed' as const, label: 'Feed' }, { id: 'dms' as const, label: 'Messages' }, + { id: 'lists' as const, label: 'Lists' }, { id: 'relays' as const, label: 'Relays' }, { id: 'profile' as const, label: 'Profile' }, ] diff --git a/packages/app/src/components/content/NostrLists.vue b/packages/app/src/components/content/NostrLists.vue new file mode 100644 index 00000000..86165ae5 --- /dev/null +++ b/packages/app/src/components/content/NostrLists.vue @@ -0,0 +1,268 @@ + + + + Nostr Lists + + + + + {{ lt.label }} + + + + + + Sign in with Nostr to manage lists + + + + + + Loading list... + + + + + + + Add + + + + + + + {{ item.tag === 'p' ? 'P' : item.tag === 'e' ? 'E' : item.tag === 't' ? '#' : '?' }} + + + {{ item.displayValue }} + {{ item.petname }} + + + Remove + + + + + List is empty + + + + + {{ isPublishingList ? 'Publishing...' : 'Publish updated list' }} + + + + {{ publishStatus }} + + + + + +
Sign in with Nostr to manage lists
Loading list...
{{ item.displayValue }}
{{ item.petname }}
List is empty
+ {{ publishStatus }} +