mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-03-20 11:03:08 +00:00
Fix feature deep link with project path handling (#834)
* Changes from fix/feature-deeplink-worktree * Update apps/ui/src/components/views/board-view.tsx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -136,8 +136,14 @@ export function RecentActivityFeed({ activities, maxItems = 10 }: RecentActivity
|
||||
upsertAndSetCurrentProject(projectPath, projectName);
|
||||
|
||||
if (activity.featureId) {
|
||||
// Navigate to the specific feature
|
||||
navigate({ to: '/board', search: { featureId: activity.featureId } });
|
||||
// Navigate to the specific feature with project path for deep link handling
|
||||
navigate({
|
||||
to: '/board',
|
||||
search: {
|
||||
featureId: activity.featureId,
|
||||
projectPath: projectPath || undefined,
|
||||
},
|
||||
});
|
||||
} else {
|
||||
navigate({ to: '/board' });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user