Squash merge nostrfeed-localStorage into ario

This commit is contained in:
padreug 2025-08-03 11:09:42 +02:00
parent 5e6bc32f02
commit 5ceb12ca3b
5 changed files with 432 additions and 121 deletions

View file

@ -7,7 +7,21 @@
</template>
<script setup lang="ts">
import { onMounted } from 'vue'
import NostrFeed from '@/components/nostr/NostrFeed.vue'
import NotificationPermission from '@/components/notifications/NotificationPermission.vue'
import PWAInstallPrompt from '@/components/pwa/PWAInstallPrompt.vue'
import { useNostrFeedPreloader } from '@/composables/useNostrFeedPreloader'
// Preload the announcements feed for better UX
const feedPreloader = useNostrFeedPreloader({
feedType: 'announcements',
limit: 50,
includeReplies: false
})
onMounted(async () => {
// Auto-preload if we have stored data
await feedPreloader.autoPreload()
})
</script>