You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For plugin update checks and status display, prefer Unraid's built-in Plugin Manager helpers instead of custom JavaScript tables and polling logic.
631
+
For plugin update checks and status display, prefer Unraid's built-in helpers instead of custom JavaScript tables and polling logic.
632
+
633
+
#### Recommended (Unraid 6.8+ / CA 2019.03.27+)
634
+
635
+
Unraid 6.8.0+ includes `caPluginUpdateCheck()` in the base OS, so you can just call it directly from your `.page` file and it will handle the check and banner for you.
This keeps behavior aligned with core Unraid update handling and avoids duplicating fragile check/update code paths.
659
689
690
+
> **References:**
691
+
>
692
+
> - Forum post: [https://forums.unraid.net/topic/79010-ca-api-for-plugin-update-checks/#findComment-733420](https://forums.unraid.net/topic/79010-ca-api-for-plugin-update-checks/#findComment-733420)
693
+
> - Tracked in issue: [https://github.com/mstrhakr/plugin-docs/issues/3](https://github.com/mstrhakr/plugin-docs/issues/3)
694
+
660
695
### Async Loading for Expensive Operations
661
696
662
697
Operations like listing Docker containers or checking update status can take several seconds. If you run these synchronously during page load, the user sees a blank or frozen page. Instead, render the page shell immediately with a placeholder, then fetch expensive data via AJAX.
0 commit comments