26.08: "unbury them" link on the congrats screen does nothing (bottom-bar Unbury works)

On 26.08 (666c2c64) on macOS, the “unbury them” link in “One or more cards were buried, and will be shown tomorrow. You can unbury them if you wish to see them immediately.” does nothing when clicked. The Unbury button in the bottom bar and the u shortcut both still work, so only the inline link is affected. The “custom study” link in the sentence below it is dead in the same way.

Reproduced in a fresh profile with no add-ons: add two Basic notes, bury both from the browser, then open the deck.

I had a look at the source and I think the cause is a CSP change. bridgeLink emits <a href="javascript:bridgeCommand('...')"> at ts/lib/tslib/bridgecommand.ts:13. Since #4029, all SvelteKit pages are served with a script-src CSP that does not include 'unsafe-inline' (qt/aqt/mediasrv.py:111, applied at :423), and congrats is in is_sveltekit_page at :481. Chromium refuses navigation to javascript: URLs under that policy. The bottom bar is unaffected because it goes through the legacy page-data path, which only receives a CSP when the page context is EDITOR.

The version range matches: 643187a05 is not an ancestor of 25.09.4 or 26.05, but is in 26.08b1. So 26.05 is fine, and the 26.08 betas and stable are not. No scheduler code changed — bury_and_suspend.rs and overview.py are identical between 25.09 and 26.08.

The two links in ts/routes/congrats/CongratsPage.svelte:26-28 are the only bridgeLink call sites in the tree, so those two links should be the full extent of it.

One possible fix would be to emit <a href="#" data-bridge-command="..."> with a delegated click listener in CongratsPage’s onMount. An inline onclick would be blocked by the same policy, and adding 'unsafe-inline' would defeat the purpose of #4029.

I am able to reproduce this behavior. The “unbury them” and “custom study” links in the body of the screen do nothing when clicked, while the bottom “Unbury” and “Custom Study” buttons do work.

Anki ⁨26.08, macOS Tahoe 26.6.

Thank you. Will look into releasing a hotfix.

Fix released:

Works perfect.

Thanks for the quick fix! Love Anki.