Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Hide/disable stories feature for older Jetpack versions #417

@aforcier

Description

@aforcier

For Jetpack sites, the story feature will only work for newer versions of Jetpack that contain the story block. We'll want to check the Jetpack version from the API (or maybe there's slicker way to check for block availability through Gutenberg you know about @mzorz, whatever's easier) and gate the feature.

The ideal way to check is probably WP.com's Gutenberg available-extensions endpoint, but if that hasn't been implemented in WPAndroid yet it might be worth just checking the Jetpack version.

One thing to consider: do we hide the feature entirely or instead prompt the user to update Jetpack if they try to use it? cc @megsfulton

Decision: Just hide the feature for older Jetpack versions (and of course self-hosted in general).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions