mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-30 23:40:40 +02:00
[PR #2954] [MERGED] Fix series and collapsed series progress to be consistent and show average of book series progress #3829
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/advplyr/audiobookshelf/pull/2954
Author: @mikiher
Created: 5/9/2024
Status: ✅ Merged
Merged: 5/12/2024
Merged by: @advplyr
Base:
master← Head:series-progress-fixes📝 Commits (9)
a668921Prettier-only formatting changesc674042Add libraryItemIds to collapsedSeries objectse384527Simplify progress bar and show correct collapsed series progress057bc1aFix series progress to show sum of series book progresses05c1cedUpdate LazyBookCard progress calculation to handle finished items8cc3bfaAdd test identifiers to LazyBookCardb244cc8Add LazyBookCard tests911d729Removed incorrect stylesheet reference60fc4e2Cleanup inconsistencies with ExplicitIndicator component by removing prop📊 Changes
16 files changed (+517 additions, -182 deletions)
View changed files
📝
client/components/app/MediaPlayerContainer.vue(+7 -5)📝
client/components/cards/BookMatchCard.vue(+1 -1)📝
client/components/cards/LazyBookCard.vue(+45 -38)📝
client/components/cards/LazySeriesCard.vue(+7 -3)📝
client/components/tables/podcast/DownloadQueueTable.vue(+1 -1)📝
client/components/widgets/ExplicitIndicator.vue(+2 -4)➕
client/cypress/fixtures/images/cover1.jpg(+0 -0)➕
client/cypress/fixtures/images/cover2.jpg(+0 -0)📝
client/cypress/support/component-index.html(+0 -1)➕
client/cypress/tests/components/cards/LazyBookCard.cy.js(+342 -0)📝
client/cypress/tests/components/cards/LazySeriesCard.cy.js(+6 -5)📝
client/pages/item/_id/index.vue(+2 -2)📝
client/pages/library/_library/podcast/download-queue.vue(+2 -2)📝
client/pages/library/_library/podcast/latest.vue(+2 -2)📝
client/pages/library/_library/podcast/search.vue(+1 -1)📝
server/utils/queries/libraryItemsBookFilters.js(+99 -117)📄 Description
This fixes #2921.
In a nutshell, the changes are:
seriesIsFinishedin LazyBookCard, which currently always returns true🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.