mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
feat: replace collision strategy dropdown with inline conflict resolution UI
- Remove the collision strategy dropdown; always default to "rename" - Add a "Conflicts to resolve" chores list above the package file tree showing each collision with editable rename fields (oldname → newname) - Default rename uses source folder prefix (e.g. gstack-CEO) - Per-item "skip" button that syncs with file tree checkboxes - COMPANY.md defaults to skip when importing to an existing company - Add nameOverrides support to API types and server so user-edited renames are passed through to the import Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
bc8fde5433
commit
ad494e74ad
4 changed files with 314 additions and 44 deletions
|
|
@ -149,6 +149,7 @@ export interface CompanyPortabilityPreviewRequest {
|
|||
target: CompanyPortabilityImportTarget;
|
||||
agents?: CompanyPortabilityAgentSelection;
|
||||
collisionStrategy?: CompanyPortabilityCollisionStrategy;
|
||||
nameOverrides?: Record<string, string>;
|
||||
}
|
||||
|
||||
export interface CompanyPortabilityPreviewAgentPlan {
|
||||
|
|
|
|||
|
|
@ -167,6 +167,7 @@ export const companyPortabilityPreviewSchema = z.object({
|
|||
target: portabilityTargetSchema,
|
||||
agents: portabilityAgentSelectionSchema.optional(),
|
||||
collisionStrategy: portabilityCollisionStrategySchema.optional(),
|
||||
nameOverrides: z.record(z.string().min(1), z.string().min(1)).optional(),
|
||||
});
|
||||
|
||||
export type CompanyPortabilityPreview = z.infer<typeof companyPortabilityPreviewSchema>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue