Implement ticket details and worklog editing #11

Merged
Twyco merged 4 commits from codex/0.1-kanban-foundation/08-ticket-details-editing-and-worklog into main 2026-03-30 20:50:34 +00:00
9 changed files with 5 additions and 10 deletions
Showing only changes of commit 3db55e306d - Show all commits
@@ -16,7 +16,7 @@ return new class extends Migration
$table->foreignId('ticket_id')->constrained()->cascadeOnDelete();
$table->foreignId('ticket_field_definition_id')->constrained()->cascadeOnDelete();
$table->foreignId('value_user_id')->nullable()->constrained('users')->nullOnDelete();
$table->decimal('value_number', 10, 2)->nullable();
$table->decimal('value_number', 16, 4)->nullable();
$table->timestamps();
$table->unique(['ticket_id', 'ticket_field_definition_id']);
+4 -2
View File
@@ -43,7 +43,7 @@
- use Arr:get(\$validated, 'value'). instead of these messages or \$request->value
- Made ticket priority more static(change to has one) in ticket, but only show if there are more than one configured.
- made story points more static(change to table field in table), but only show if checked in project settings → new value on Project: hasStoryPoints
- more ticket field types (string, string array, boolean)
- more ticket field types (string, string array, boolean, precision (double))
- abortUnlessCanManage(xxx) entfernen, auch gate benutzen (ProjectTicketMetadataSettingsController)
- 06
- add Ticket Status
@@ -54,7 +54,9 @@
- (ui friendly example all following or select)
- change Project Backlog Controller → Project Controller
- remove store from project board controller and route projects/{project}/backlog, change to ticket controller, create
- 08
- worklog überarbeiten → type als worklog enum → json je nach enum type
- UpdateProjectTicket aufräumen
- later:
- if deleting ticket type select a new ticket type which all existing ticket should get or select delete all tickets of that type
@@ -6,5 +6,4 @@ export type TicketFieldDefinitionModel = {
project_id: number;
created_at: string;
updated_at: string;
[key: string]: unknown;
};
@@ -11,5 +11,4 @@ export type TicketFieldValueModel = {
value_user_id: number | null;
created_at: string;
updated_at: string;
[key: string]: unknown;
};
@@ -20,5 +20,4 @@ export type TicketModel = {
worklog_entries?: TicketWorklogEntryModel[];
created_at: string;
updated_at: string;
[key: string]: unknown;
};
@@ -5,5 +5,4 @@ export type TicketPriorityModel = {
project_id: number;
created_at: string;
updated_at: string;
[key: string]: unknown;
};
@@ -7,5 +7,4 @@ export type TicketTypeModel = {
system_key: string | null;
created_at: string;
updated_at: string;
[key: string]: unknown;
};
@@ -10,5 +10,4 @@ export type TicketWorklogEntryModel = {
summary: string;
ticket_id: number;
updated_at: string;
[key: string]: unknown;
};
-1
View File
@@ -7,5 +7,4 @@ export type UserModel = {
is_admin: boolean;
created_at: string;
updated_at: string;
[key: string]: unknown;
};