Skip to content

Self-hosted project management for devs and their clients: tickets, time tracking, docs and meetings, with an AI assistant that cites its sources. AGPL-3.0.

Give the column "Projekt" room for a project's name, and map the column picker without a project

Guido Boykef4ef01db0051
diff --git a/app/controllers/concerns/CLAUDE.md b/app/controllers/concerns/CLAUDE.md
index 5c10a4b..7df18c1 100644
--- a/app/controllers/concerns/CLAUDE.md
+++ b/app/controllers/concerns/CLAUDE.md
@@ -69,8 +69,10 @@ direkt, Notifications = bespoke + `MasterListPresenter`, Meetings =
`meeting_list.rb` (17.10.2026) ist der EINE Besitzer der Meeting-Liste: Projektseite
(`meeting_list_project` = `@project`) und „Alle Meetings“ (`nil`, auch der Refresh nach dem
Modal in `MeetingsController#create`). Eine Meeting-Ansicht gehört der Liste ihres Projekts,
-ohne Projekt der Übersicht. Die Filterleiste und das Speichern von Ansichten nehmen
-`project: nil` als „organisationsweit“; Tickets und Wissen geben weiter ein Projekt mit.
+ohne Projekt der Übersicht. Die Filterleiste, das Speichern von Ansichten und die Spaltenwahl
+nehmen `project: nil` als „organisationsweit“; Tickets und Wissen geben weiter ein Projekt mit.
+Die Grundansicht der Spalten wählt `ViewConfiguration.for_list` (ohne Projekt nur `meetings`,
+Route `meetings_view_configuration`, derselbe Controller wie die Projekt-Route).
Der Entscheid für EINE kanonische Listen-Architektur steht aus; bis dahin gilt für neue
Listen-Features: am ähnlichsten Bestands-Feature orientieren und die Wahl im PR begründen.
Seit 10.09.2026 teilen Tickets und Knowledge immerhin die OBERFLÄCHE der Liste-mit-Bahn
diff --git a/app/helpers/ticket_columns_helper.rb b/app/helpers/ticket_columns_helper.rb
index f65938b..c8588f5 100644
--- a/app/helpers/ticket_columns_helper.rb
+++ b/app/helpers/ticket_columns_helper.rb
@@ -30,8 +30,11 @@ module TicketColumnsHelper
# alone. custom_status is the project's status column: at a tenth of the
# table "In Bearbeitung" was cut to 78px while the title had room, and 106px
# is what the word needs (designer, 09.09.2026), so 14%; the title gives.
+ # project is the column of "Alle Meetings" (no project page has it): a
+ # project's name at a tenth of the table was cut after a dozen letters.
COLUMN_SHARE = {
- 'assignees' => '12%', 'time_spent' => '8%', 'subtask_count' => '6%', 'waiting' => '6%', 'custom_status' => '14%'
+ 'assignees' => '12%', 'time_spent' => '8%', 'subtask_count' => '6%', 'waiting' => '6%', 'custom_status' => '14%',
+ 'project' => '16%'
}.freeze
DEFAULT_COLUMN_SHARE = '10%'
diff --git a/app/models/view_configuration.rb b/app/models/view_configuration.rb
index 7bc34b6..8f8bb04 100644
--- a/app/models/view_configuration.rb
+++ b/app/models/view_configuration.rb
@@ -90,7 +90,7 @@ class ViewConfiguration < ApplicationRecord
'number' => 48, 'title' => 320, 'assignees' => 120, 'tags' => 140,
'created_at' => 110, 'updated_at' => 110, 'time_spent' => 90, 'billing_status' => 140, 'subtask_count' => 70,
'waiting' => 70, 'custom_status' => 138, 'participants' => 220, 'occurred_at' => 170, 'duration_minutes' => 90,
- 'project' => 140
+ 'project' => 180
}.freeze
COLUMN_MIN_WIDTH_BY_TYPE_PX = {
'select' => 110, 'multiselect' => 140, 'text' => 140, 'textarea' => 160, 'checkbox' => 70,
diff --git a/spec/requests/organisations/meetings_overview_columns_spec.rb b/spec/requests/organisations/meetings_overview_columns_spec.rb
index 791c8ae..657763e 100644
--- a/spec/requests/organisations/meetings_overview_columns_spec.rb
+++ b/spec/requests/organisations/meetings_overview_columns_spec.rb
@@ -115,7 +115,7 @@ RSpec.describe 'Organisations::MeetingsOverview columns', :ci_guard, type: :requ
expect(head_keys).to eq(%w[title participants project])
ranked = page_body.all('#meetings_overview_results thead th[data-rank]').map { |head| [head['data-column'], head['data-rank'], head['data-col-min']] }
- expect(ranked).to eq([%w[participants 1 220], %w[project 2 140]])
+ expect(ranked).to eq([%w[participants 1 220], %w[project 2 180]])
meta = page_body.all('#meetings_overview_results tbody tr[data-meeting-id] .ticket-meta__item', visible: :all)
shown_under_title = meta.to_h { |item| [item.text.strip, item[:hidden].nil?] }
expect(shown_under_title).to eq('Anna Müller' => false, 'Projekt Alpha' => true)