feat(KAN-34): rework blocker and ticket history
CI/CD / preconditions (pull_request) Successful in 1m1s
CI/CD / test_and_check_app (pull_request) Failing after 3m49s
CI/CD / Publish immutable image (pull_request) Skipped

This commit is contained in:
2026-09-14 16:20:09 +02:00
committed by Twyco
parent fed0b657c0
commit 38438b4700
9 changed files with 447 additions and 62 deletions
+26 -1
View File
@@ -108,9 +108,18 @@ const ticket = {
},
],
worklog_entries: [
{
id: 2,
actor: null,
actor_id: null,
entry_type: 'status_changed',
summary: 'Moved from Backlog to Delivery / In progress.',
created_at: '2026-09-11T13:00:00Z',
},
{
id: 1,
actor: user,
actor_id: user.id,
entry_type: 'created',
summary: 'Ticket created in the project backlog.',
created_at: '2026-09-11T12:00:00Z',
@@ -395,7 +404,19 @@ if (serve) {
if (params.has('reject')) {
params.set('rejected', '1');
} else {
savedForm = data;
savedForm = {
...data,
blocked_comment: data.is_blocked
? data.blocked_comment
: null,
field_values: data.field_values.map((fieldValue) => ({
...fieldValue,
user_value:
Number(fieldValue.value_user_id) === user.id
? user
: null,
})),
};
params.set('saved', data.title);
}
}
@@ -476,6 +497,9 @@ if (serve) {
'feature/ENG-42-cache',
'Cache implementation',
'Ticket created in the project backlog.',
'Ticket created',
'Status changed',
'System',
]) {
assert.ok(
html.includes(text),
@@ -486,6 +510,7 @@ if (serve) {
'description',
'checklist',
'metadata',
'blocker',
'relationships',
'history',
'git',