CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 11:52:06 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/ipfs/ipfs-webui.git
etag: W/"293bd31983488193c35a8bc2c79f3595"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=9zrKz15oTPcy8WmIo%2FNDzdNz9cKbloIZ9lahEOwm6LmoDuu%2FCna6fPv9cAg%2FpZGgy3rUVGRBFAHtVEN7SIqLBbA1wKlLe0gwho6%2BpN8Tl3kr3un1njw8gj5%2FC3tNywkfDc3oZWHp%2Blz%2BjSTnYEQEIle%2F%2B32y4rUq5b2et17IP0qJ8EZeEM4AfkTOG58fWM%2BeudRkM2O68RsS%2F5T97wvTOOHkeTaM73hKX1kWGJS%2BK4F9HYvuWN42TYEk6NTc%2BfBYJF5jzLTpq2h49wCgY01fcw%3D%3D--TupPHPJMTH%2FoViZp--rbSYztrvFGY3ElcEwL1%2FcQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1718372342.1753271525; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 11:52:05 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 11:52:05 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8F12:261FF2:AC0576:CDE703:6880CCE5
feat(files): CAR Import (#2323) · ipfs/ipfs-webui@e66590f · GitHub



authored
Copy file name to clipboardExpand all lines: public/locales/en/files.json
Copy file name to clipboardExpand all lines: src/bundles/files/actions.js
Copy file name to clipboardExpand all lines: src/bundles/files/consts.js
Copy file name to clipboardExpand all lines: src/files/file-input/FileInput.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 517
Commit e66590f
feat(files): CAR Import (#2323)
* feat: add dropdown menu for import car
* feat: add modal for import car
* locale: add en locale
* refactor,feat: change to functional component, add check file, rename file and validate file name
* feat: wiring handling uploading car dag file
* locale: add placeholder
* feat: add import car file
* refactor: clear unused params
* update dependency
* refactor: cleanup modal
* feat: update types
* feat: wip on dag import
* feat: add util
* feat: fix parse file for dag import
* docs: Add AddByCarModal as storybook
* fix: fix typecheck error
* fix: revert back
* feat: update types of IPFSService
* feat: revert types to use modified type
* refactor: remove unused
* refactor: move definition from imports to local
* refactor: change to pass stream to dag import
* refactor: remove unused util
* typo: Update wording
* typo: Update wording in select file button
* type: Update i18n, use wording for title in i18n
* fix: fix logic on file name
* fix: fix import to relative path within mfs
* fix: icon, label, and styling
making UI match bulk import feature
* docs: cli tutor for cat import
+ unifying import/export language
* chore: throw helpful error if name exists
* fix: dont throw error when importing car if destination doesnt exist
* fix: swallow error when file doesn't exist
* chore: remove unnecessary changes
* chore: use kubo-rpc-client types for IPFSService
* chore: minor ux fixes
* fix: dont error if path doesn't exist
* fix: remove duplicate catch block
---------
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Daniel N <2color@users.noreply.github.com>
Co-authored-by: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com>1 parent 493223a commit e66590fCopy full SHA for e66590f
File tree
Expand file treeCollapse file tree
14 files changed
+536
-27
lines changedFilter options
- @types/ipfs
- public/locales/en
- src
- bundles/files
- files
- file-input
- header
- modals
- add-by-car-modal
Expand file treeCollapse file tree
14 files changed
+536
-27
lines changed+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
| 13 | + | |
12 | 14 |
| |
13 | 15 |
| |
14 | 16 |
| |
|
+299-14Lines changed: 299 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
76 |
| - | |
| 76 | + | |
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
|
public/locales/en/files.json
Copy file name to clipboardExpand all lines: public/locales/en/files.json+8Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
| |||
60 | 61 |
| |
61 | 62 |
| |
62 | 63 |
| |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
63 | 71 |
| |
64 | 72 |
| |
65 | 73 |
| |
|
src/bundles/files/actions.js
Copy file name to clipboardExpand all lines: src/bundles/files/actions.js+50-4Lines changed: 50 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
399 | 399 |
| |
400 | 400 |
| |
401 | 401 |
| |
402 |
| - | |
403 |
| - | |
404 |
| - | |
405 |
| - | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
406 | 452 |
| |
407 | 453 |
| |
408 | 454 |
| |
|
src/bundles/files/consts.js
Copy file name to clipboardExpand all lines: src/bundles/files/consts.js+7Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
| 27 | + | |
26 | 28 |
| |
27 | 29 |
| |
28 | 30 |
| |
| |||
80 | 82 |
| |
81 | 83 |
| |
82 | 84 |
| |
| 85 | + | |
83 | 86 |
| |
84 | 87 |
| |
85 | 88 |
| |
| |||
128 | 131 |
| |
129 | 132 |
| |
130 | 133 |
| |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
131 | 138 |
| |
132 | 139 |
| |
133 | 140 |
| |
|
+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| 7 | + | |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
|
+13-2Lines changed: 13 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| |||
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
82 | 90 |
| |
83 | 91 |
| |
84 | 92 |
| |
| |||
212 | 220 |
| |
213 | 221 |
| |
214 | 222 |
| |
| 223 | + | |
215 | 224 |
| |
216 | 225 |
| |
217 | 226 |
| |
| |||
233 | 242 |
| |
234 | 243 |
| |
235 | 244 |
| |
| 245 | + | |
236 | 246 |
| |
237 | 247 |
| |
238 | 248 |
| |
| |||
280 | 290 |
| |
281 | 291 |
| |
282 | 292 |
| |
| 293 | + | |
283 | 294 |
| |
284 | 295 |
| |
285 | 296 |
| |
|
src/files/file-input/FileInput.js
Copy file name to clipboardExpand all lines: src/files/file-input/FileInput.js+17-5Lines changed: 17 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
| |||
50 | 51 |
| |
51 | 52 |
| |
52 | 53 |
| |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
53 | 59 |
| |
54 | 60 |
| |
55 | 61 |
| |
| |||
87 | 93 |
| |
88 | 94 |
| |
89 | 95 |
| |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
90 | 101 |
| |
91 | 102 |
| |
92 | 103 |
| |
93 | 104 |
| |
94 | 105 |
| |
95 |
| - | |
| 106 | + | |
96 | 107 |
| |
97 |
| - | |
98 |
| - | |
| 108 | + | |
| 109 | + | |
99 | 110 |
| |
100 | 111 |
| |
101 | 112 |
| |
| |||
129 | 140 |
| |
130 | 141 |
| |
131 | 142 |
| |
132 |
| - | |
133 |
| - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
134 | 146 |
| |
135 | 147 |
| |
136 | 148 |
| |
|
You can’t perform that action at this time.
0 commit comments