complexqa_frontend_core 1.17.3 → 1.17.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "complexqa_frontend_core",
3
- "version": "1.17.3",
3
+ "version": "1.17.5",
4
4
  "description": "core of web ",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,11 +1,16 @@
1
1
  import { typeBug } from '../../../types/family_elements/typeBug.js';
2
2
  import { UserService } from '../../../services/UserService.js';
3
- import { createColumn, createGoToColumn, createPrimaryKeyColumn, createRowSelectColumn } from '../helpers/column_factory.js';
3
+ import {
4
+ createColumn,
5
+ createGoToColumn,
6
+ createPrimaryKeyColumn,
7
+ createRowSelectColumn
8
+ } from '../helpers/column_factory.js';
4
9
  import { createListingFor, registerSection } from '../helpers/section_registry.js';
5
10
 
6
11
  function build_bug_listing_columns(locale, { include_select = true } = {})
7
12
  {
8
- const model = new typeBug();
13
+ const model = new typeBug();
9
14
  const columns = [];
10
15
 
11
16
  if (include_select)
@@ -15,18 +20,18 @@ function build_bug_listing_columns(locale, { include_select = true } = {})
15
20
 
16
21
  columns.push(createPrimaryKeyColumn(model, locale, { is_editable: false }));
17
22
  columns.push(createColumn(model, locale, 'bug_title', {
18
- width : '220',
19
- is_editable : true,
20
- is_required : true,
23
+ width : '220',
24
+ is_editable: true,
25
+ is_required: true,
21
26
  }));
22
27
  columns.push(createColumn(model, locale, 'bug_status', { width: '150', is_editable: true, is_required: true }));
23
28
  columns.push(createColumn(model, locale, 'bug_priority', { width: '130', is_editable: true, is_required: true }));
24
29
  columns.push(createColumn(model, locale, 'bug_severity', { width: '130', is_editable: true, is_required: true }));
25
30
  columns.push(createColumn(model, locale, 'bug_type', { width: '150', is_editable: true, is_required: true }));
26
- columns.push(createColumn(model, locale, 'bug_resolution', { width: '150', is_editable: true, is_required: true }));
31
+ columns.push(createColumn(model, locale, 'bug_resolution', { width: '150', is_editable: true, is_required: true, hide: true }));
27
32
  columns.push(createColumn(model, locale, 'assigned_to', { width: '220', is_editable: true, is_required: true }));
28
33
  columns.push(createColumn(model, locale, 'created_at', { width: '150', is_required: true }));
29
- columns.push(createColumn(model, locale, 'completed_at', { width: '150', is_required: true }));
34
+ columns.push(createColumn(model, locale, 'completed_at', { width: '150', is_required: true, hide: true }));
30
35
  columns.push(createGoToColumn(model, locale));
31
36
 
32
37
  return columns;
@@ -35,7 +40,7 @@ function build_bug_listing_columns(locale, { include_select = true } = {})
35
40
 
36
41
  function build_bug_details_columns(locale)
37
42
  {
38
- const model = new typeBug();
43
+ const model = new typeBug();
39
44
  const fields = [
40
45
  'bug_id',
41
46
  'bug_status',
@@ -52,10 +57,10 @@ function build_bug_details_columns(locale)
52
57
  ];
53
58
 
54
59
  return fields.map((field, index) => createColumn(model, locale, field, {
55
- sort_order : String(index + 1),
56
- is_editable : field !== 'bug_id',
57
- is_sortable : false,
58
- is_filter : false,
60
+ sort_order : String(index + 1),
61
+ is_editable: field !== 'bug_id',
62
+ is_sortable: false,
63
+ is_filter : false,
59
64
  }));
60
65
  }
61
66
 
@@ -26,6 +26,7 @@ function build_test_run_listing_columns(locale, { include_select = true } = {})
26
26
  }));
27
27
  columns.push(createColumn(model, locale, 'assigned_to', { width: '220', is_editable: true, is_required: true }));
28
28
  columns.push(createColumn(model, locale, 'test_run_status', { width: '150', is_editable: true, is_required: true }));
29
+ columns.push(createColumn(model, locale, 'created_at', { width: '150', is_required: true }));
29
30
  columns.push(createColumn(model, locale, 'completed_at', { width: '150', is_required: true }));
30
31
  columns.push(createGoToColumn(model, locale));
31
32