Update package dependencies and enhance application structure

- Added several new dependencies related to the Applesauce library, including 'applesauce-accounts', 'applesauce-common', 'applesauce-core', 'applesauce-loaders', 'applesauce-relay', and 'applesauce-signers', all at version 5.1.0.
- Updated the development script in package.json to specify a port for Vite and added new seed scripts for profiles and activity.
- Removed outdated image files from the public directory to clean up unused assets.
- Enhanced the App.vue structure by integrating shared components like AppHeader and AuthModal for improved user experience.
- Refactored ContentDetailModal and MobileNav components to support new features and improve usability.

These changes improve the overall functionality and maintainability of the application while ensuring it utilizes the latest libraries for better performance.
This commit is contained in:
Dorian
2026-02-12 12:24:58 +00:00
parent c970f5b29f
commit 725896673c
42 changed files with 3767 additions and 1329 deletions

View File

@@ -70,7 +70,6 @@
<script setup lang="ts">
import { ref, onMounted, onUnmounted } from 'vue'
import { getMockReactionCounts, getMockCommentCount } from '../data/mockSocialData'
import type { Content } from '../types/content'
interface Props {
@@ -83,12 +82,14 @@ defineEmits<{
'content-click': [content: Content]
}>()
function getReactionCount(contentId: string): number {
return getMockReactionCounts(contentId).positive
// Social counts are now fetched from the relay when the detail modal opens.
// We no longer show mock badges on cards -- the real data lives on the relay.
function getReactionCount(_contentId: string): number {
return 0
}
function getCommentCount(contentId: string): number {
return getMockCommentCount(contentId)
function getCommentCount(_contentId: string): number {
return 0
}
const sliderRef = ref<HTMLElement | null>(null)