Commit 9e9078b2 authored by Shinya Maeda's avatar Shinya Maeda

Applied Andrew's suggestions

parent 8f466f7a
...@@ -36,7 +36,6 @@ export default { ...@@ -36,7 +36,6 @@ export default {
legacyReadOnlyFlagAlert: s__( legacyReadOnlyFlagAlert: s__(
'FeatureFlags|GitLab is moving to a new way of managing feature flags. This feature flag is read-only, and it will be removed in 14.0. Please create a new feature flag.', 'FeatureFlags|GitLab is moving to a new way of managing feature flags. This feature flag is read-only, and it will be removed in 14.0. Please create a new feature flag.',
), ),
newFlagAlert: NEW_FLAG_ALERT,
}, },
computed: { computed: {
...mapState([ ...mapState([
......
...@@ -26,9 +26,6 @@ export default { ...@@ -26,9 +26,6 @@ export default {
userShouldSeeNewFlagAlert: this.showUserCallout, userShouldSeeNewFlagAlert: this.showUserCallout,
}; };
}, },
translations: {
newFlagAlert: NEW_FLAG_ALERT,
},
computed: { computed: {
...mapState(['error', 'path']), ...mapState(['error', 'path']),
scopes() { scopes() {
......
...@@ -21,10 +21,6 @@ export const fetchUserIdParams = property(['parameters', 'userIds']); ...@@ -21,10 +21,6 @@ export const fetchUserIdParams = property(['parameters', 'userIds']);
export const NEW_VERSION_FLAG = 'new_version_flag'; export const NEW_VERSION_FLAG = 'new_version_flag';
export const LEGACY_FLAG = 'legacy_flag'; export const LEGACY_FLAG = 'legacy_flag';
export const NEW_FLAG_ALERT = s__(
'FeatureFlags|Feature Flags will look different in the next milestone. No action is needed, but you may notice the functionality was changed to improve the workflow.',
);
export const FEATURE_FLAG_SCOPE = 'featureFlags'; export const FEATURE_FLAG_SCOPE = 'featureFlags';
export const USER_LIST_SCOPE = 'userLists'; export const USER_LIST_SCOPE = 'userLists';
......
...@@ -141,7 +141,7 @@ module API ...@@ -141,7 +141,7 @@ module API
end end
desc 'Update a feature flag' do desc 'Update a feature flag' do
detail 'This feature will was introduced in GitLab 13.2' detail 'This feature was introduced in GitLab 13.2'
success ::API::Entities::FeatureFlag success ::API::Entities::FeatureFlag
end end
params do params do
......
...@@ -11756,9 +11756,6 @@ msgstr "" ...@@ -11756,9 +11756,6 @@ msgstr ""
msgid "FeatureFlags|Feature Flags" msgid "FeatureFlags|Feature Flags"
msgstr "" msgstr ""
msgid "FeatureFlags|Feature Flags will look different in the next milestone. No action is needed, but you may notice the functionality was changed to improve the workflow."
msgstr ""
msgid "FeatureFlags|Feature flag %{name} will be removed. Are you sure?" msgid "FeatureFlags|Feature flag %{name} will be removed. Are you sure?"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment