Skip to content

fix(anilist): paginate large libraries to avoid CPU budget kills - #184

Merged
ItsLemmy merged 2 commits into
noctalia-dev:mainfrom
Cleboost:fix/anilist-lazy-load
Jul 31, 2026
Merged

fix(anilist): paginate large libraries to avoid CPU budget kills#184
ItsLemmy merged 2 commits into
noctalia-dev:mainfrom
Cleboost:fix/anilist-lazy-load

Conversation

@Cleboost

Copy link
Copy Markdown
Contributor

Chunk GraphQL fetches and defer merge, sort, and cover work to update() ticks so 1000+ anime and manga entries load without blocking callbacks.

Plugin

  • Id: cleboost/anilist
  • New plugin
  • Update to an existing plugin (version bumped in plugin.toml)

What it does

close #133

External dependencies

Testing

  • Tested on Niri
  • Tested on Hyprland
  • Tested on Sway
  • Tested on another compositor:
  • Noctalia version tested against: 5.0.0_beta.6
  • Plugin API level: 15

Screenshots / Videos

Checklist

  • The directory name matches the part of id after the / in plugin.toml exactly.
  • It ships plugin.toml, README.md, thumbnail.webp, and translations/en.json.
  • README.md follows the
    README template, documents
    every entry id and dependency, and includes exact panel IPC commands and launcher prefixes where applicable.
  • I created thumbnail.webp with the thumbnail generator.
  • version follows semver and is bumped in this PR; plugin_api is the oldest API level this plugin requires.
  • Every non-English translation in this PR uses a locale supported by Noctalia core, and I can read, write, and
    understand that language well enough to review and maintain it (no unreviewed machine/LLM translations).
  • I did not edit catalog.toml; CI generates it.
  • This PR touches exactly one plugin directory.

Code review attestation

Plugins run as trusted, unsandboxed Luau in the user's session. Confirm:

  • The code is readable and not obfuscated, minified, or generated.
  • It does not download and execute remote code.
  • Every network call, filesystem write, and spawned process is something the description above accounts for.
  • I have the right to publish this code under the license declared in plugin.toml.

Cleboost added 2 commits July 31, 2026 22:45
Chunk GraphQL fetches and defer merge, sort, and cover work to update()
ticks so 1000+ anime and manga entries load without blocking callbacks.
…helpers

Process browser login tokens synchronously from runStream and file poll, keep a 500ms update interval during OAuth, and avoid duplicate OAuth result emissions from Python.
@ItsLemmy
ItsLemmy merged commit be208b4 into noctalia-dev:main Jul 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[anilist][BUG] Widget stuck on "waiting for browser login"

2 participants