Skip to content

Add back explicit update(track) call to Bangumi#1771

Merged
AntsyLich merged 1 commit intomihonapp:mainfrom
MajorTanya:call-update-in-bangumi-binding
Feb 25, 2025
Merged

Add back explicit update(track) call to Bangumi#1771
AntsyLich merged 1 commit intomihonapp:mainfrom
MajorTanya:call-update-in-bangumi-binding

Conversation

@MajorTanya
Copy link
Copy Markdown
Member

@MajorTanya MajorTanya commented Feb 25, 2025

Most if not all other trackers do this too. Technically this causes some request duplication (since things like the BaseTracker's setRemoteLastChapterRead fire anyway due to the tracker sheet being open). But considering the reduced number of requests in other places, I think this is still acceptable.

Forgot to say why:
This makes sure that we update Bangumi with our new local data where applicable (like private tracking state).

This change will allow #1736 to proceed, hopefully.

What have we learned from this? Actually think about code. Also, don't hide request stuff in base classes but that's not actionable here.

Most if not all other trackers do this too. Technically this causes
some request duplication (since things like the BaseTracker's
setRemoteLastChapterRead fire anyway due to the tracker sheet being
open. But considering the reduced number of requests in other places,
I think this is still acceptable.

This change will allow mihonapp#1736 to proceed, hopefully.
@AntsyLich AntsyLich merged commit 277d8ba into mihonapp:main Feb 25, 2025
cuong-tran pushed a commit to komikku-app/komikku that referenced this pull request Feb 25, 2025
Most if not all other trackers do this too. Technically this causes
some request duplication (since things like the BaseTracker's
setRemoteLastChapterRead fire anyway due to the tracker sheet being
open. But considering the reduced number of requests in other places,
I think this is still acceptable.

This change will allow mihonapp/mihon#1736 to proceed, hopefully.

(cherry picked from commit 277d8ba)
@MajorTanya MajorTanya deleted the call-update-in-bangumi-binding branch February 25, 2025 12:40
cuong-tran pushed a commit to komikku-app/komikku that referenced this pull request Feb 26, 2025
Most if not all other trackers do this too. Technically this causes
some request duplication (since things like the BaseTracker's
setRemoteLastChapterRead fire anyway due to the tracker sheet being
open. But considering the reduced number of requests in other places,
I think this is still acceptable.

This change will allow mihonapp/mihon#1736 to proceed, hopefully.

(cherry picked from commit 277d8ba)
cuong-tran pushed a commit to komikku-app/komikku that referenced this pull request Feb 26, 2025
Most if not all other trackers do this too. Technically this causes
some request duplication (since things like the BaseTracker's
setRemoteLastChapterRead fire anyway due to the tracker sheet being
open. But considering the reduced number of requests in other places,
I think this is still acceptable.

This change will allow mihonapp/mihon#1736 to proceed, hopefully.

(cherry picked from commit 277d8ba)
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants