complexqa_frontend_core 1.20.2 → 1.20.3
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
|
@@ -2,6 +2,7 @@ import { typeExecutionContext } from '../../../types/family_context/typeExecutio
|
|
|
2
2
|
import { UserService } from '../../../services/UserService.js';
|
|
3
3
|
import { createColumn, createGoToColumn, createPrimaryKeyColumn, createRowSelectColumn } from '../helpers/column_factory.js';
|
|
4
4
|
import { get_execution_context_listing_field_specs } from '../helpers/execution_context_listing_fields.js';
|
|
5
|
+
import { build_bug_relation_bugs_columns } from './bug_relation.js';
|
|
5
6
|
import { createListingFor, registerSection } from '../helpers/section_registry.js';
|
|
6
7
|
|
|
7
8
|
const FK_FIELDS = [
|
|
@@ -106,7 +107,7 @@ function build_execution_context_picker_columns(locale)
|
|
|
106
107
|
|
|
107
108
|
|
|
108
109
|
/**
|
|
109
|
-
* Секции `execution_context`: `listing`, `details`, `picker`.
|
|
110
|
+
* Секции `execution_context`: `listing`, `details`, `picker`, `bugs`.
|
|
110
111
|
*
|
|
111
112
|
* @param {Object<string, Object<string, { config: import('../../../types/family_service/typeTableConfiguration.js').typeTableConfiguration }>>} config
|
|
112
113
|
* @returns {void}
|
|
@@ -123,5 +124,9 @@ export function bootstrap_execution_context(config)
|
|
|
123
124
|
for: createListingFor([ 'project_id' ]),
|
|
124
125
|
});
|
|
125
126
|
|
|
127
|
+
registerSection(config, 'execution_context', 'bugs', build_bug_relation_bugs_columns(locale), {
|
|
128
|
+
for: createListingFor([ 'relation_type', 'element_id' ], { add: [ 'bugs' ] }),
|
|
129
|
+
});
|
|
130
|
+
|
|
126
131
|
registerSection(config, 'execution_context', 'details', build_execution_context_details_columns(locale));
|
|
127
132
|
}
|