Skip to content

Commit

Permalink
docs: add preloadNote
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Nov 14, 2024
1 parent 172cb42 commit 607b811
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions public/locales/en/files.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"addByPathModal": {
"title": "Import from IPFS",
"description": "Insert an IPFS path (CID) to import.",
"preloadNote": "NOTE: Imported path is lazy-loaded by default, and will be retrieved on-demand as you browse it. To proactively prefetch imported path to the local Datastore, choose ”Download” from the context menu.",
"importPathPlaceholder": "Path or CID (required)",
"namePlaceholder": "Name (optional)",
"examples": "Examples:"
Expand Down
4 changes: 4 additions & 0 deletions src/files/modals/add-by-path-modal/AddByPathModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ class AddByPathModal extends React.Component {
name='name'
className='input-reset charcoal ba b--black-20 br1 pa2 mb2 db w-90 center focus-outline'
type='text' />

<div className='mt3 mb3 flex flex-column items-center'>
<p className='mt0 charcoal tl w-90'>{t('addByPathModal.preloadNote')}</p>
</div>
</ModalBody>

<ModalActions>
Expand Down

0 comments on commit 607b811

Please sign in to comment.