[PR #3717] [MERGED] DropDown for Year in Review #4058

Closed
opened 2026-04-25 00:18:09 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/3717
Author: @Vito0912
Created: 12/14/2024
Status: Merged
Merged: 12/16/2024
Merged by: @advplyr

Base: masterHead: feat/yearInReview


📝 Commits (8)

📊 Changes

4 files changed (+64 additions, -23 deletions)

View changed files

📝 client/components/stats/YearInReview.vue (+2 -2)
📝 client/components/stats/YearInReviewBanner.vue (+56 -15)
📝 client/components/stats/YearInReviewServer.vue (+2 -2)
📝 client/components/ui/Dropdown.vue (+4 -4)

📄 Description

Brief summary

Adds a dropdown to select the year to view in Year in Review.

Which issue is fixed?

Discord request

In-depth Description

This adds a dropdown displaying the years from the user's creation year up to the current year. The default year remains unchanged. It allows users to view both past years and the current year. Some of the displayed data is quite interesting, making it a valuable option to explore even before the year ends.

The button is shown only when there is more than one year. Additionally, I included a prop in the dropdown to enable adding custom classes to the dropdown button.

How have you tested this?

Devserver with production database

Screenshots

grafik
grafik


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/3717 **Author:** [@Vito0912](https://github.com/Vito0912) **Created:** 12/14/2024 **Status:** ✅ Merged **Merged:** 12/16/2024 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `feat/yearInReview` --- ### 📝 Commits (8) - [`578b877`](https://github.com/advplyr/audiobookshelf/commit/578b877c0c78ce2468ad5413c8189f24bac2cb17) first draft - [`4a32807`](https://github.com/advplyr/audiobookshelf/commit/4a3280741767e57bf68887362441eda7b142e19e) fixed date - [`3e5db7f`](https://github.com/advplyr/audiobookshelf/commit/3e5db7f2bd9e4126eda3c009d0acd8509c0ed449) space - [`7b54c6f`](https://github.com/advplyr/audiobookshelf/commit/7b54c6f66aee65915af32b774c87f48f4a167abd) fallback on error - [`8ea49b7`](https://github.com/advplyr/audiobookshelf/commit/8ea49b72f83a4ca013812d268a5dadb4b48731db) renamed method for better understanding - [`59a2c49`](https://github.com/advplyr/audiobookshelf/commit/59a2c49ab6ee5a1511a92074ee448b19d04ac1fa) fixed order and button style - [`01887b8`](https://github.com/advplyr/audiobookshelf/commit/01887b8b0ceb6a28972b3c35ad625e678c685052) removal of debuging - [`b440ff2`](https://github.com/advplyr/audiobookshelf/commit/b440ff230a7280e5196ec04f7e61281bdf087293) Year in review dropdown ui update and accessibility updates ### 📊 Changes **4 files changed** (+64 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `client/components/stats/YearInReview.vue` (+2 -2) 📝 `client/components/stats/YearInReviewBanner.vue` (+56 -15) 📝 `client/components/stats/YearInReviewServer.vue` (+2 -2) 📝 `client/components/ui/Dropdown.vue` (+4 -4) </details> ### 📄 Description <!-- For Work In Progress Pull Requests, please use the Draft PR feature, see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details. If you do not follow this template, the PR may be closed without review. Please ensure all checks pass. If you are a new contributor, the workflows will need to be manually approved before they run. --> ## Brief summary Adds a dropdown to select the year to view in Year in Review. <!-- Please provide a brief summary of what your PR attempts to achieve. --> ## Which issue is fixed? Discord request ## In-depth Description This adds a dropdown displaying the years from the user's creation year up to the current year. The default year remains unchanged. It allows users to view both past years and the current year. Some of the displayed data is quite interesting, making it a valuable option to explore even before the year ends. The button is shown only when there is more than one year. Additionally, I included a prop in the dropdown to enable adding custom classes to the dropdown button. ## How have you tested this? Devserver with production database ## Screenshots ![grafik](https://github.com/user-attachments/assets/b7b6f6d5-6be6-4d97-8ddf-c6e196b68aa2) ![grafik](https://github.com/user-attachments/assets/9bc02bd0-8dc5-4e5e-8440-5701056455b8) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:18:09 +02:00
adam closed this issue 2026-04-25 00:18:09 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4058