feat: add bulk tag update and improve selection action bar

This commit is contained in:
neon
2026-04-15 00:58:50 -06:00
parent 94af42cbbf
commit dd9fd205d6
34 changed files with 1261 additions and 212 deletions
@@ -74,6 +74,13 @@ const localRating = ref<number | null>(props.book.rating)
const hoverRating = ref<number | null>(null)
const displayRating = computed(() => hoverRating.value ?? localRating.value)
watch(
() => props.book.rating,
(rating) => {
localRating.value = rating ?? null
},
)
async function setRating(star: number) {
const newRating = localRating.value === star ? null : star
localRating.value = newRating