Merge pull request #12286 from rabbitmq/mk-4.0-khepri-ff-wording

Tweak wording around experimental feature flags (Khepri)
This commit is contained in:
Michael Klishin 2024-09-12 09:09:34 -04:00 committed by GitHub
commit ad7c58abf1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -129,7 +129,7 @@
-rabbit_feature_flag(
{khepri_db,
#{desc => "Use the new Khepri Raft-based metadata store",
#{desc => "New Raft-based metadata store",
doc_url => "", %% TODO
stability => experimental,
depends_on => [feature_flags_v2,

View File

@ -87,7 +87,8 @@
<div class="hider">
<% if (feature_flags.length > 0) { %>
<p class="warning">
Feature flags listed below are experimental. They should not be enabled in a production deployment.
Feature flags listed below are experimental (maturing). They can be enabled in production deployments
after careful consideration and testing in non-production environments.
</p>
<table class="list">
<thead>
@ -119,7 +120,7 @@
<% if (feature_flag.state == "disabled") { %>
<div>
<input id="<%= feature_flag.name %>" type="checkbox" class="riskCheckbox" onclick="this.parentNode.querySelector('.enable-feature-flag input[type=submit]').disabled = !this.checked;">
<label for="<%= feature_flag.name %>"> I understand the risk</label><br>
<label for="<%= feature_flag.name %>">I understand the potential risks and want to enable this feature flag</label><br>
<br>
<form action="#/feature-flags-enable" method="put" style="display: inline-block" class="enable-feature-flag">
<input type="hidden" name="name" value="<%= fmt_string(feature_flag.name) %>"/>