mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-04-18 21:19:44 +00:00
UI: Add View All buttons to Home shelves and update AGENTS.md
This commit is contained in:
parent
44c25e61a3
commit
2369e19fe7
3 changed files with 45 additions and 3 deletions
21
artifacts/2026-02-17/ui_enhancements.md
Normal file
21
artifacts/2026-02-17/ui_enhancements.md
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# UI Enhancements
|
||||
|
||||
## 1. Home View Header Shortcuts
|
||||
|
||||
Add navigation buttons next to specific shelf headlines on the Home view that link to the full library pages with appropriate sorting.
|
||||
|
||||
### Shelves and Targets
|
||||
|
||||
| Shelf ID | Headline | Target Page | Sort Criteria |
|
||||
| :--- | :--- | :--- | :--- |
|
||||
| `recently-added` | Recently Added | `/library/:id/bookshelf` | `addedAt` Descending |
|
||||
| `recent-series` | Recent Series | `/library/:id/bookshelf/series` | `addedAt` Descending |
|
||||
| `newest-authors` | Newest Authors | `/library/:id/bookshelf/authors` | `addedAt` Descending |
|
||||
|
||||
### Implementation Details
|
||||
|
||||
- **Component**: `client/components/app/BookShelfRow.vue`
|
||||
- **Trigger**: New button next to the `h2` title in the `categoryPlacard`.
|
||||
- **Action**:
|
||||
1. Update Vuex store settings for the specific sort (e.g., `orderBy` for library, `seriesSortBy` for series, `authorSortBy` for authors).
|
||||
2. Navigate to the target page.
|
||||
Loading…
Add table
Add a link
Reference in a new issue