Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preload last season viewed #609

Merged
merged 3 commits into from
Aug 29, 2024
Merged

Preload last season viewed #609

merged 3 commits into from
Aug 29, 2024

Conversation

IRHM
Copy link
Member

@IRHM IRHM commented Aug 29, 2024

Changes made

Added extra logic to the season details request route. If a watchedId is passed, the season number requested will update a last_viewed_season property for the watched entry, this value is then used for preloading the last clicked season whenever the specific show is loaded again.

Closes #602 (with this discussed alt solution)

When season details are requested and a watchedId is passed as a query parameter, the requested season number is now saved in the watched entries `LastViewedSeason` property.
@IRHM IRHM added the enhancement New feature or request label Aug 29, 2024
@IRHM IRHM self-assigned this Aug 29, 2024
@IRHM IRHM merged commit b997b42 into dev Aug 29, 2024
1 check passed
@IRHM IRHM deleted the preload-last-season-viewed branch August 29, 2024 01:53
truecharts-admin referenced this pull request in truecharts/charts Aug 30, 2024
….0@fe0735d by renovate (#25674)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[ghcr.io/sbondco/watcharr](https://redirect.github.com/sbondCo/Watcharr)
| minor | `v1.42.0` -> `v1.43.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>sbondCo/Watcharr (ghcr.io/sbondco/watcharr)</summary>

###
[`v1.43.0`](https://redirect.github.com/sbondCo/Watcharr/releases/tag/v1.43.0)

[Compare
Source](https://redirect.github.com/sbondCo/Watcharr/compare/v1.42.0...v1.43.0)

#### New

- Page titles for browser tabs (profile, content, person) by
[@&#8203;IRHM](https://redirect.github.com/IRHM) in
[https://github.com/sbondCo/Watcharr/pull/607](https://redirect.github.com/sbondCo/Watcharr/pull/607)
- Preload last season viewed by
[@&#8203;IRHM](https://redirect.github.com/IRHM) in
[https://github.com/sbondCo/Watcharr/pull/609](https://redirect.github.com/sbondCo/Watcharr/pull/609)

#### Fixed

- person: Fix credits not changing if nav between two people by
[@&#8203;IRHM](https://redirect.github.com/IRHM) in
[https://github.com/sbondCo/Watcharr/pull/608](https://redirect.github.com/sbondCo/Watcharr/pull/608)

#### 🔨 Maintenance

- ui: bump svelte-eslint-parser from 0.39.2 to 0.41.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/sbondCo/Watcharr/pull/606](https://redirect.github.com/sbondCo/Watcharr/pull/606)
- ui: bump eslint-plugin-svelte from 2.41.0 to 2.43.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/sbondCo/Watcharr/pull/603](https://redirect.github.com/sbondCo/Watcharr/pull/603)
- ui: bump tslib from 2.6.2 to 2.7.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/sbondCo/Watcharr/pull/605](https://redirect.github.com/sbondCo/Watcharr/pull/605)
- ui: bump svelte-check from 3.8.5 to 3.8.6 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/sbondCo/Watcharr/pull/604](https://redirect.github.com/sbondCo/Watcharr/pull/604)

#### 🆘 Getting Help

If you need help, encounter an issue or find a bug please [create an
issue](https://redirect.github.com/sbondCo/Watcharr/issues/new/choose)
or [join our space on Matrix](https://matrix.to/#/#watcharr:matrix.org)
for support. Always happy to help!

**Package**: or [on docker hub]()
**Full Changelog**:
sbondCo/Watcharr@v1.42.0...v1.43.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ny4zIiwidXBkYXRlZEluVmVyIjoiMzguNTcuMyIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJ1cGRhdGUvZG9ja2VyL2dlbmVyYWwvbm9uLW1ham9yIl19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to pin a season would be great
1 participant