Skip to content

fix(anilist): fixed some TypeErrors - #233

Merged
ItsLemmy merged 3 commits into
noctalia-dev:mainfrom
D3rJust1n:anilist-fix
Aug 4, 2026
Merged

fix(anilist): fixed some TypeErrors#233
ItsLemmy merged 3 commits into
noctalia-dev:mainfrom
D3rJust1n:anilist-fix

Conversation

@D3rJust1n

Copy link
Copy Markdown
Contributor

Plugin

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

What it does

Fixed following Errors

TypeError: Unknown global 'flushCoverSnapshot'; consider assigning to it first

Error in debug shell: call to 'update' failed: [string "/home/just1n/.local/state/noctalia/plugins/materialized/community/anilist/service.luau"]:259: attempt to call a nil value

More TypeErrors
image

Since I didn't know much about Luau, I fixed these errors with the help from Claude

External dependencies

Testing

  • Tested on Niri
  • Tested on Hyprland
  • Tested on Sway
  • Tested on another compositor:
  • Noctalia version tested against: noctalia v5.0.0 (v5.0.0-beta.7-51-ga53b22d338b0)
  • 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.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

CC @Cleboost

@Cleboost

Cleboost commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Can't review properly im not at home during the week so I can't test but thanks you !

@ItsLemmy
ItsLemmy merged commit fb16e3d into noctalia-dev:main Aug 4, 2026
3 checks 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.

3 participants