mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-16 02:40:39 +09:00
Redesign import page: file-browser UX with rich preview
- Add `files` and `manifest` to CompanyPortabilityPreviewResult so the import UI can show actual file contents and metadata - Rewrite import preview as a file/folder tree (matching export page design language) with per-file checkboxes to include/exclude items - Show action badges (create/update/skip) on each file based on the import plan, with unchecked files dimmed and badged as "skip" - Add rich frontmatter preview: clicking a file shows parsed frontmatter as structured data (name, title, reportsTo, skills) plus markdown body - Include skills count in the sidebar summary - Update import button to show dynamic file count that updates on check/uncheck - Both /tree/ and /blob/ GitHub URLs already supported by backend Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
c6ea491000
commit
2f7da835de
3 changed files with 463 additions and 204 deletions
|
|
@ -2064,6 +2064,8 @@ export function companyPortabilityService(db: Db) {
|
|||
projectPlans,
|
||||
issuePlans,
|
||||
},
|
||||
manifest,
|
||||
files: source.files,
|
||||
envInputs: manifest.envInputs ?? [],
|
||||
warnings,
|
||||
errors,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue