From 0a8670a22302d618299797032b3cc65ca63f4c31 Mon Sep 17 00:00:00 2001 From: Jeremy Dawes Date: Wed, 2 Jul 2025 16:54:17 +0000 Subject: [PATCH] fix: update customize fields navigation to go directly to object detail page (#12904) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary - Updates "Customize fields" button navigation to go directly to the specific object's detail page - Changes navigation from `SettingsPath.Objects` to `SettingsPath.ObjectDetail` - Aligns with existing behavior of "Edit Fields" functionality ## Problem When clicking "Customize fields" in the record table header plus button dropdown, users were taken to the general objects list page instead of the specific object's fields page, making it harder to find and customize the relevant object. ## Solution Changed the navigation path from `SettingsPath.Objects` to `SettingsPath.ObjectDetail` in `RecordTableHeaderPlusButtonContent.tsx`, which takes users directly to the object-specific fields page where they can see and manage all fields for that object. ## Screenshots ### Before: Customize Fields Dropdown When clicking the "+" button in the table header, the dropdown shows "Customize fields" option: \![Customize Fields Dropdown](https://github.com/user-attachments/assets/customize-fields-dropdown-fixed.png) ### After: Direct Navigation to Object Fields Clicking "Customize fields" now navigates directly to the specific object's fields page: \![Companies Object Detail Page](https://github.com/user-attachments/assets/companies-object-detail-page-fixed.png) ## Test plan - [x] Navigate to any record table view (e.g., People, Companies) - [x] Click the "+" button in the table header - [x] Click "Customize fields" - [x] Verify navigation goes directly to that object's fields page instead of the general objects list - [x] Confirmed the URL is `/settings/objects/{objectNamePlural}` (e.g., `/settings/objects/companies`) Fixes #12835 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Jez (Jeremy Dawes) Co-authored-by: Claude Co-authored-by: Charles Bochet --- .../components/RecordTableHeaderPlusButtonContent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderPlusButtonContent.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderPlusButtonContent.tsx index af77f80f0..999e0aa00 100644 --- a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderPlusButtonContent.tsx +++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderPlusButtonContent.tsx @@ -61,7 +61,7 @@ export const RecordTableHeaderPlusButtonContent = () => { {