department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
282 stars 203 forks source link

I need to feature toggle the ctaWidget on a static page. I ... #80209

Closed platform-support-slack-integration[bot] closed 6 months ago

platform-support-slack-integration[bot] commented 6 months ago

Submitted By: richard.davis Topic: Flipper Team: Backend Support

I need to feature toggle the ctaWidget on a static page.

I have a PR adding code to vets-website: https://github.com/department-of-veterans-affairs/vets-website/pull/29002

The Feature toggles guide gives an example of how to feature toggle content via a Liquid template, which I'm assuming is the appropriate approach, in this case.

Before writing any code to use a new feature toggle, it must first be created from within Drupal for all three environments.

Based on this statement from the documentation, it sounds like feature toggles in vets-api/vets-website are separate from feature toggles in the Drupal CMS. Is that an accurate statement? Is creating a PR for a feature toggle in vets-api/vets-website unnecessary for feature toggles used exclusively within the Drupal CMS, since they will be created through the following page? https://dev.cms.va.gov/admin/config/system/feature_toggle

platform-support-slack-integration[bot] commented 6 months ago

Slack Thread Link: https://dsva.slack.com/archives/CBU0KDSB1/p1712586059869689