Browse Source

ref(grouping-config): Set expiration data saveOnBlur to false (#28307)

Priscila Oliveira 3 years ago
parent
commit
52f37425ec

+ 8 - 0
static/app/data/forms/projectIssueGrouping.tsx

@@ -143,6 +143,9 @@ stack.function:mylibrary_* +app`}
     help: t(
       'Sets the secondary grouping algorithm that should be run in addition to avoid creating too many new groups. Controlled by expiration date below.'
     ),
+    saveMessage: t(
+      'Changing the secondary grouping strategy will affect how many new issues are created.'
+    ),
   },
   secondaryGroupingExpiry: {
     name: 'secondaryGroupingExpiry',
@@ -151,6 +154,11 @@ stack.function:mylibrary_* +app`}
     help: t(
       'If this UNIX timestamp is in the past, the secondary grouping configuration stops applying automatically.'
     ),
+    saveOnBlur: false,
+    saveMessageAlertType: 'info',
+    saveMessage: t(
+      'Changing the expiration date will affect how many new issues are created.'
+    ),
   },
 };
 

+ 1 - 1
static/app/views/settings/components/forms/formField/index.tsx

@@ -457,7 +457,7 @@ const MessageAndActions = styled('div')`
   display: grid;
   grid-template-columns: 1fr max-content;
   grid-gap: ${space(2)};
-  align-items: center;
+  align-items: flex-start;
 `;
 
 const StyledReturnButton = styled(ReturnButton)`