Skip to content

Disable blog feed widget content when kid mode is active#2935

Merged
veloce merged 10 commits into
lichess-org:mainfrom
r3econ:disable-widget-blog-content-when-kid-mode-active
Apr 10, 2026
Merged

Disable blog feed widget content when kid mode is active#2935
veloce merged 10 commits into
lichess-org:mainfrom
r3econ:disable-widget-blog-content-when-kid-mode-active

Conversation

@r3econ

@r3econ r3econ commented Apr 9, 2026

Copy link
Copy Markdown
Contributor
  • Disables (or enables) blog feed widgets in kid mode by bridging the kid mode state from Flutter to the iOS widget extension via a shared App Group.

  • All three blog widgets (OfficialBlogWidget, CommunityBlogWidget, UserBlogFeedWidget) skip the network fetch and return a "Not available in Kid Mode" placeholder when the isKidModeActive flag is set. The flag is bridged from the Flutter app using home_widget package

  • Updates ios/EXTENSIONS.md with App Group setup steps for contributors testing locally and for org members registering the group in the Apple Developer portal (@veloce 🙂)

Demo

Activating kid mode

kid_mode_enable.mov

Deactivating kid mode

kid_mode_disable.mov

@veloce veloce left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! thank you very much.

@veloce veloce merged commit d9ca290 into lichess-org:main Apr 10, 2026
1 check passed
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.

2 participants