Browse Source

fix(copy): replace stack with group (#24078)

* change stack to group

* change open stack to open group

Co-authored-by: Dora Chan <dora.lchan@gmail.com>
Dora 4 years ago
parent
commit
4869488440

+ 1 - 1
src/sentry/static/sentry/app/views/eventsV2/table/columnEditModal.tsx

@@ -77,7 +77,7 @@ class ColumnEditModal extends React.Component<Props, State> {
         <Body>
           <Instruction>
             {tct(
-              'To stack events, add [functionLink: functions] f(x) that may take in additional parameters. [tagFieldLink: Tag and field] columns will help you view more details about the events (i.e. title).',
+              'To group events, add [functionLink: functions] f(x) that may take in additional parameters. [tagFieldLink: Tag and field] columns will help you view more details about the events (i.e. title).',
               {
                 functionLink: (
                   <ExternalLink href="https://docs.sentry.io/product/discover-queries/query-builder/#filter-by-table-columns" />

+ 2 - 2
src/sentry/static/sentry/app/views/eventsV2/table/tableView.tsx

@@ -127,8 +127,8 @@ class TableView extends React.Component<TableViewProps> {
       };
 
       return [
-        <Tooltip key={`eventlink${rowIndex}`} title={t('Open Stack')}>
-          <Link to={target} data-test-id="open-stack">
+        <Tooltip key={`eventlink${rowIndex}`} title={t('Open Group')}>
+          <Link to={target} data-test-id="open-group">
             <StyledIcon size="sm" />
           </Link>
         </Tooltip>,

+ 3 - 3
tests/acceptance/test_organization_events_v2.py

@@ -350,7 +350,7 @@ class OrganizationEventsV2Test(AcceptanceTestCase, SnubaTestCase):
             self.wait_until_loaded()
 
             # Open the stack
-            self.browser.element('[data-test-id="open-stack"]').click()
+            self.browser.element('[data-test-id="open-group"]').click()
             self.wait_until_loaded()
 
             # View Event
@@ -384,7 +384,7 @@ class OrganizationEventsV2Test(AcceptanceTestCase, SnubaTestCase):
             self.wait_until_loaded()
 
             # Open the stack
-            self.browser.elements('[data-test-id="open-stack"]')[0].click()
+            self.browser.elements('[data-test-id="open-group"]')[0].click()
             self.wait_until_loaded()
 
             # View Event
@@ -417,7 +417,7 @@ class OrganizationEventsV2Test(AcceptanceTestCase, SnubaTestCase):
             self.wait_until_loaded()
 
             # Open the stack
-            self.browser.elements('[data-test-id="open-stack"]')[0].click()
+            self.browser.elements('[data-test-id="open-group"]')[0].click()
             self.wait_until_loaded()
 
             # View Event