Feature Request: Live status refresh and REST endpoint (5-second polling) #5
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently the plugin fetches the SpaceAPI endpoint via
ssi_get_status()and caches the result with a transient. The status badge only updates when a page is loaded; it never refreshes while the visitor stays on the page.Proposed improvement
/wp-json/wp-spaceapi-consumer/status) that returns the current open/closed state. This route should callssi_get_status()to retrieve the status and update the transient.This feature would allow visitors to see real‑time changes in the space’s status and would provide a simple REST endpoint for other services to query.