Tags stage 2: tags on five more record kinds (tickets, documents, [kind], [kind], [kind]) working like the other seven with tag pills and + picker on list, page and quick look, Tags field in New and Edit, list tag filter and tag-name search, Bulk Action Tags, export tag filter and Tags column; tickets list shows + only once a ticket has a tag, Tags under More filters with its own chip, board cards show tags, tag changes written to ticket history and merging moves non-archived tags; document tag filter in client Files and at top level across all folders excluding uploads, bulk Tags only tags ticked documents, cross-client document tags open a global search; global search matches tag names, shows the matching tag on each result and adds a Tags group; API tags read, update and create endpoints plus a tags list on every record read, per-kind permission checks and tag creation limited to admin keys; Tags starter pack and demo data cover the new kinds; changelog breaking change for tag-name matching in searches and upgrade note now 2.7.9 to 3.1.4; stage 1 tag test updated for twelve kinds

This commit is contained in:
johnnyq
2026-10-17 15:17:14 -04:00
parent b5dc8883f1
commit 95dd3ef9c5
63 changed files with 1236 additions and 84 deletions

View File

@@ -174,6 +174,7 @@ function getExportColumns($export_type) {
'location_name' => ['label' => 'Site', 'default' => false],
'vendor_name' => ['label' => 'Provider', 'default' => false],
'network_notes' => ['label' => 'Notes', 'weight' => 3, 'default' => false],
'network_tags' => ['label' => 'Tags', 'weight' => 2, 'default' => false],
'client_name' => ['label' => 'Client', 'weight' => 2, 'default' => false],
],
@@ -243,7 +244,7 @@ function getExportColumns($export_type) {
'client_name' => ['label' => 'Client', 'default' => false],
],
// seats_used, assigned_to_assets / assigned_to_contacts and software_keys_list are built by the handler's query
// seats_used, assigned_to_assets / assigned_to_contacts, software_keys_list and software_tags are built by the handler's query
'software' => [
'software_name' => ['label' => 'Name', 'weight' => 2],
'software_version' => ['label' => 'Version'],
@@ -261,6 +262,7 @@ function getExportColumns($export_type) {
'software_purchase' => ['label' => 'Purchased'],
'software_expire' => ['label' => 'Expires'],
'client_name' => ['label' => 'Client', 'default' => false],
'software_tags' => ['label' => 'Tags', 'weight' => 2, 'default' => false],
'software_notes' => ['label' => 'Notes', 'weight' => 3],
],
@@ -278,6 +280,7 @@ function getExportColumns($export_type) {
'ticket_assigned_to' => ['label' => 'Assigned To', 'default' => false],
'ticket_category_name' => ['label' => 'Category', 'default' => false],
'ticket_billable' => ['label' => 'Billable', 'default' => false],
'ticket_tags' => ['label' => 'Tags', 'weight' => 2, 'default' => false],
],
// Projects - the handler adds the state, progress and hours (projectStats())
@@ -319,6 +322,7 @@ function getExportColumns($export_type) {
'service_review_every' => ['label' => 'Review Every', 'default' => false],
'open_tickets' => ['label' => 'Open Tickets', 'format' => 'number', 'default' => false],
'service_state' => ['label' => 'State', 'default' => false],
'service_tags' => ['label' => 'Tags', 'weight' => 2, 'default' => false],
],
// invoice_number_display is prefix . number, built by the handler