Skip to content

fix(Anikura): update settings caching issues, DOM change, & metadata - #11173

Open
AkinaRulezx wants to merge 8 commits into
PreMiD:mainfrom
AkinaRulezx:feat-anikura
Open

fix(Anikura): update settings caching issues, DOM change, & metadata#11173
AkinaRulezx wants to merge 8 commits into
PreMiD:mainfrom
AkinaRulezx:feat-anikura

Conversation

@AkinaRulezx

@AkinaRulezx AkinaRulezx commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Description

  • fix settings previously caching so they never updated on user interaction
  • fix anime watch title broke due to DOM changes
  • fix localized strings when multiLanguage locale changes
  • delete active playback timestamps when video is paused
  • add new website description to metadata
  • bumped to v1.0.1 patch

Acknowledgements

Screenshots

Proof showing the modification is working as expected Screenshot 2026-09-06 123234 Screenshot 2026-09-06 123323 Screenshot 2026-09-06 123350

added newline at end of file
resolved a issue with multilanguage support that broke presence due to no string or "en" value as default
implimented proper caching
- change buttons to only show social profile, anime info, including watch episode
- change 1.16 to 1.17
- added support for new /social page and remove old logic for /profile as it was moved to the new /social page
- fix settings previously caching so they never updated on user interaction
- fix anime watch title broke due to DOM changes
- add new website description to metadata
- v1.0.1 patch
@dimerp

dimerp Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

🖼️ Activity asset preview

I fetched these assets so you don't have to. My hobbies include embedding images and silently judging diffs.

Anikura (websites/A/Anikura) — update

Preview Source URL
logo https://cdn.rcd.gg/PreMiD/websites/A/Anikura/assets/logo.png
thumbnail https://cdn.rcd.gg/PreMiD/websites/A/Anikura/assets/thumbnail.png

Beep boop — I refresh this comment on every push, so no need to scroll. 🤖

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e9c70cc098

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread websites/A/Anikura/presence.ts Outdated
Comment thread websites/A/Anikura/presence.ts
Comment thread websites/A/Anikura/presence.ts Outdated
- Recreate localized strings when multiLanguage locale changes
- Read dynamic chapter and title DOM metadata on every tick
- Delete active playback timestamps when video is paused
Signed-off-by: AkinaRulezx <201164556+AkinaRulezx@users.noreply.github.com>
Comment on lines +204 to +207
if (useMultiLanguage !== currentLanguage || !stringsPromise) {
currentLanguage = useMultiLanguage
stringsPromise = fetchStrings()
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was the old workaround.
Call await presence.getStrings() directly.
https://docs.premid.app/v1/guide/localization.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants