Update environment variables and refactor Docker configurations for improved deployment

- Revised .env.portainer to update sensitive credentials and streamline comments for clarity.
- Adjusted docker-compose.yml to remove unnecessary variable references, enhancing readability and maintainability.
- Updated VideoPlayer component to improve type handling and refactor seeking logic for better performance.
- Enhanced library service to include providerId in the rentContent method for improved data handling.
- Refactored auth store to integrate account management functionality.
- Cleaned up ProjectEditor and Settings views by removing unused computed properties and refining method types.
This commit is contained in:
Dorian
2026-02-13 16:40:10 +00:00
parent a8dc82dc59
commit a66842d771
7 changed files with 20 additions and 82 deletions

View File

@@ -234,6 +234,8 @@ const emit = defineEmits<Emits>()
const playerOverlay = ref<HTMLElement | null>(null)
const videoEl = ref<HTMLVideoElement | null>(null)
const progressBarEl = ref<HTMLElement | null>(null)
// @ts-expect-error vue-tsc does not detect template ref usage
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const speedMenuRef = ref<HTMLElement | null>(null)
// ── Playback state ──────────────────────────────────────────────────
@@ -475,7 +477,7 @@ function seekTo(e: MouseEvent) {
video.currentTime = pct * video.duration
}
function startSeeking(e: MouseEvent) {
function startSeeking(_e: MouseEvent) {
const video = videoEl.value
const bar = progressBarEl.value
if (!video || !bar) return

View File

@@ -87,6 +87,7 @@ class LibraryService {
async rentContent(contentId: string, couponCode?: string): Promise<{
id: string
contentId: string
providerId: string
lnInvoice: string
expiration: string
sourceAmount: { amount: string; currency: string }

View File

@@ -2,6 +2,7 @@ import { defineStore } from 'pinia'
import { ref } from 'vue'
import { authService } from '../services/auth.service'
import { nip98Service } from '../services/nip98.service'
import { accountManager } from '../lib/accounts'
import type { ApiUser } from '../types/api'
import { USE_MOCK } from '../utils/mock'

View File

@@ -220,10 +220,6 @@ const visibleTabs = computed(() =>
)
)
const currentTabLabel = computed(() =>
visibleTabs.value.find((t) => t.id === activeTabId.value)?.label || ''
)
const statusBadgeClass = computed(() => {
const base = 'inline-block px-2 py-0.5 text-[10px] uppercase tracking-wider font-bold rounded-full flex-shrink-0'

View File

@@ -274,9 +274,8 @@ const addons = reactive([
// Withdrawal method modal
const showAddMethodModal = ref(false)
const newMethodType = ref<'lightning'>('lightning')
const newLightningAddress = ref('')
const newFrequency = ref<string>('automatic')
const newFrequency = ref<'manual' | 'weekly' | 'monthly'>('manual')
function handleSaveProfile() {
isSaving.value = true