@@ -55,8 +55,8 @@ export class ExplorerService {
5555
5656 const intervalSeconds = this . timeBuckets . getInterval ( ) . asSeconds ( ) ;
5757
58- // if the swimlane cell widths are too small they will not be visible
59- // calculate how many buckets will be drawn before the swimlanes are actually rendered
58+ // if the swim lane cell widths are too small they will not be visible
59+ // calculate how many buckets will be drawn before the swim lanes are actually rendered
6060 // and increase the interval to widen the cells if they're going to be smaller than 8px
6161 // this has to be done at this stage so all searches use the same interval
6262 const timerangeSeconds = ( bounds . max ! . valueOf ( ) - bounds . min ! . valueOf ( ) ) / 1000 ;
@@ -81,7 +81,7 @@ export class ExplorerService {
8181 }
8282
8383 /**
84- * Loads overall swimlane data
84+ * Loads overall swim lane data
8585 * @param selectedJobs
8686 * @param chartWidth
8787 */
@@ -97,13 +97,13 @@ export class ExplorerService {
9797
9898 const bounds = this . getTimeBounds ( ) ;
9999
100- // Ensure the search bounds align to the bucketing interval used in the swimlane so
100+ // Ensure the search bounds align to the bucketing interval used in the swim lane so
101101 // that the first and last buckets are complete.
102102 const searchBounds = getBoundsRoundedToInterval ( bounds , interval , false ) ;
103103 const selectedJobIds = selectedJobs . map ( ( d ) => d . id ) ;
104104
105105 // Load the overall bucket scores by time.
106- // Pass the interval in seconds as the swimlane relies on a fixed number of seconds between buckets
106+ // Pass the interval in seconds as the swim lane relies on a fixed number of seconds between buckets
107107 // which wouldn't be the case if e.g. '1M' was used.
108108 // Pass 'true' when obtaining bucket bounds due to the way the overall_buckets endpoint works
109109 // to ensure the search is inclusive of end time.
@@ -125,7 +125,7 @@ export class ExplorerService {
125125 ) ;
126126
127127 // eslint-disable-next-line no-console
128- console . log ( 'Explorer overall swimlane data set:' , overallSwimlaneData ) ;
128+ console . log ( 'Explorer overall swim lane data set:' , overallSwimlaneData ) ;
129129
130130 return overallSwimlaneData ;
131131 }
@@ -158,7 +158,7 @@ export class ExplorerService {
158158
159159 const selectedJobIds = selectedJobs . map ( ( d ) => d . id ) ;
160160 // load scores by influencer/jobId value and time.
161- // Pass the interval in seconds as the swimlane relies on a fixed number of seconds between buckets
161+ // Pass the interval in seconds as the swim lane relies on a fixed number of seconds between buckets
162162 // which wouldn't be the case if e.g. '1M' was used.
163163
164164 const interval = `${ swimlaneBucketInterval . asSeconds ( ) } s` ;
@@ -199,7 +199,7 @@ export class ExplorerService {
199199 swimlaneBucketInterval . asSeconds ( )
200200 ) ;
201201 // eslint-disable-next-line no-console
202- console . log ( 'Explorer view by swimlane data set:' , viewBySwimlaneData ) ;
202+ console . log ( 'Explorer view by swim lane data set:' , viewBySwimlaneData ) ;
203203
204204 return viewBySwimlaneData ;
205205 }
@@ -227,7 +227,7 @@ export class ExplorerService {
227227 } ;
228228
229229 // Store the earliest and latest times of the data returned by the ES aggregations,
230- // These will be used for calculating the earliest and latest times for the swimlane charts.
230+ // These will be used for calculating the earliest and latest times for the swim lane charts.
231231 Object . entries ( scoresByTime ) . forEach ( ( [ timeMs , score ] ) => {
232232 const time = Number ( timeMs ) / 1000 ;
233233 dataset . points . push ( {
@@ -250,7 +250,7 @@ export class ExplorerService {
250250 viewBySwimlaneFieldName : string ,
251251 interval : number
252252 ) : OverallSwimlaneData {
253- // Processes the scores for the 'view by' swimlane .
253+ // Processes the scores for the 'view by' swim lane .
254254 // Sorts the lanes according to the supplied array of lane
255255 // values in the order in which they should be displayed,
256256 // or pass an empty array to sort lanes according to max score over all time.
@@ -259,7 +259,7 @@ export class ExplorerService {
259259 points : [ ] ,
260260 laneLabels : [ ] ,
261261 interval,
262- // Set the earliest and latest to be the same as the overall swimlane .
262+ // Set the earliest and latest to be the same as the overall swim lane .
263263 earliest : bounds . earliest ,
264264 latest : bounds . latest ,
265265 } ;
@@ -295,7 +295,7 @@ export class ExplorerService {
295295 } ) ;
296296 } else {
297297 // Sort lanes according to supplied order
298- // e.g. when a cell in the overall swimlane has been selected.
298+ // e.g. when a cell in the overall swim lane has been selected.
299299 // Find the index of each lane label from the actual data set,
300300 // rather than using sortedLaneValues as-is, just in case they differ.
301301 dataset . laneLabels = dataset . laneLabels . sort ( ( a , b ) => {
0 commit comments