bloom-frontend
bloom-frontend copied to clipboard
Refactor course filtering to use Storyblok language settings
Resolves #1450
What changes did you make and why did you make them?
- Removed usage of the
FF_DISABLED_COURSESenvironment variable across the codebase. - Replaced course filtering logic with a check against
storyData.content.languagesin Storyblok. - This ensures that course visibility is controlled via Storyblok rather than hardcoded ENV flags.
- Updated
/coursespage to match how filtering is already done forconversationsandshorts. - Cleaned up the
FeatureFlagnamespace by removinggetDisabledCourses. - Deleted the
FF_DISABLED_COURSESvariable from.envfiles and any related code references.
✅ The /courses page and related content now accurately reflect language availability based on Storyblok configuration.
Did you run tests? Share screenshot of results:
- Yes
How did you find us? (GitHub, Google search, social media, etc.):
@danielmarv is attempting to deploy a commit to the Chayn Team on Vercel.
A member of the Team first needs to authorize it.
@kyleecodes now the tests are passing