Skip to content

[vibe coded] Add automatic dictionary update toggle (every 24 hours)#2306

Open
bee-san wants to merge 1 commit intoyomidevs:masterfrom
bee-san:claude/auto-dict-updates-6Lhkn
Open

[vibe coded] Add automatic dictionary update toggle (every 24 hours)#2306
bee-san wants to merge 1 commit intoyomidevs:masterfrom
bee-san:claude/auto-dict-updates-6Lhkn

Conversation

@bee-san
Copy link

@bee-san bee-san commented Feb 15, 2026

Adds a global setting to automatically check for and install dictionary updates every 24 hours using chrome.alarms. When enabled, the background script periodically checks each updatable dictionary's indexUrl for new revisions and downloads/imports updates while preserving per-profile dictionary settings.

Changes:

  • Add alarms permission to manifest
  • Add global.autoUpdateDictionaries option (schema, types, migration v66)
  • Add auto-update logic in Backend using chrome.alarms
  • Add toggle in Dictionaries section of settings UI
  • Update test expectations for new option version

https://claude.ai/code/session_01NBiz14SHokUygVfFjnx3mu

@bee-san bee-san requested a review from a team as a code owner February 15, 2026 06:41
Copy link

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

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: 11d54f1e61

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Adds a global setting to automatically check for and install dictionary
updates every 24 hours using chrome.alarms. When enabled, the background
script periodically checks each updatable dictionary's indexUrl for new
revisions and downloads/imports updates while preserving per-profile
dictionary settings.

Changes:
- Add `alarms` permission to manifest
- Add `global.autoUpdateDictionaries` option (schema, types, migration v66)
- Add auto-update logic in Backend using chrome.alarms
- Add toggle in Dictionaries section of settings UI
- Update test expectations for new option version

https://claude.ai/code/session_01NBiz14SHokUygVfFjnx3mu
@bee-san bee-san force-pushed the claude/auto-dict-updates-6Lhkn branch from 11d54f1 to 314de8f Compare February 15, 2026 06:49
@StefanVukovic99
Copy link
Member

I had considered scheduled updates back when the automatic updates were implemented, but decided against it because

  • Updating dictionaries can take a long time, during which yomitan is unusable
  • Updating can possibly fail on import, losing the dictionary
  • Scheduling invites more settings bloat to customize the schedule

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