From e210d676c1a0cc09c6b444c3b17b70ff6874964c Mon Sep 17 00:00:00 2001 From: Kacper Date: Wed, 10 Dec 2025 14:44:39 +0100 Subject: [PATCH] fix(profiles): enable drag-and-drop reordering for built-in profiles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wrap built-in profiles section with DndContext and SortableContext to allow reordering of pre-configured profiles, matching the behavior available for custom profiles. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4 --- .automaker/feature_list.json | 19 +++++++++++++ app/src/components/views/profiles-view.tsx | 31 +++++++++++++++------- 2 files changed, 40 insertions(+), 10 deletions(-) diff --git a/.automaker/feature_list.json b/.automaker/feature_list.json index 5aaa0dd3..e344aa95 100644 --- a/.automaker/feature_list.json +++ b/.automaker/feature_list.json @@ -311,5 +311,24 @@ "skipTests": false, "model": "sonnet", "thinkingLevel": "none" + }, + { + "id": "feature-1765374057950-og96suob2", + "category": "Other", + "description": "I found an issue u can reorder custom profiles created by our self but the pre build in when u try to drag nothing happend", + "steps": [], + "status": "verified", + "startedAt": "2025-12-10T13:40:58.991Z", + "imagePaths": [ + { + "id": "img-1765374055642-rdjksh8g1", + "path": "/Users/shirone/Library/Application Support/automaker/images/1765374055641-o7pu97zuz_SCR-20251210-namv.png", + "filename": "SCR-20251210-namv.png", + "mimeType": "image/png" + } + ], + "skipTests": true, + "model": "sonnet", + "thinkingLevel": "medium" } ] \ No newline at end of file diff --git a/app/src/components/views/profiles-view.tsx b/app/src/components/views/profiles-view.tsx index a9048a90..edcbfc14 100644 --- a/app/src/components/views/profiles-view.tsx +++ b/app/src/components/views/profiles-view.tsx @@ -598,16 +598,27 @@ export function ProfilesView() { Pre-configured profiles for common use cases. These cannot be edited or deleted.

-
- {builtInProfiles.map((profile) => ( - {}} - onDelete={() => {}} - /> - ))} -
+ + p.id)} + strategy={verticalListSortingStrategy} + > +
+ {builtInProfiles.map((profile) => ( + {}} + onDelete={() => {}} + /> + ))} +
+
+