Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update files upload doc #136

Merged
merged 2 commits into from
Mar 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 43 additions & 1 deletion docs/manual/tasks/add-edit-download.md
Original file line number Diff line number Diff line change
@@ -6,8 +6,10 @@ Operations in Files are essentially the same as in other file managers. This pag

## Upload files

### Upload via the Files app
1. Open the Files app from the Dock or Launchpad on Olares.
2. Upload multiple files or folders using one of these methods:
2. In the left sidebar, select the directory where you want to upload files. For example, **Documents**.
3. Upload multiple files or folders using one of these methods:
- Drag and drop files from your local file manager into the Files window.
- Click <i class="material-symbols-outlined">drive_folder_upload</i> in the top right corner.
- Right-click in an empty space and select from the context menu.
@@ -16,6 +18,46 @@ Operations in Files are essentially the same as in other file managers. This pag
Files supports resumable uploads. If an upload is interrupted, it will automatically resume from the last checkpoint.
:::

### Upload via LarePass desktop
:::info Import your Olares ID
To start using LarePass desktop, you must import your Olares ID by pasting your mnemonics. Make sure you have [backed up your mnemonics](../get-started/back-up-mnemonics.md).
:::
LarePass desktop offers the same upload experience as the Files app, with automatic syncing to your Olares ID.

### Upload via LarePass mobile
You can also upload files or folders on your phone via the LarePass app.
<Tabs>
<template #Direct-upload>

1. Open LarePass app and navigate to the **Files** tab.
2. Select the directory where you want to upload files.
3. Tap <i class="material-symbols-outlined">add_circle</i> in the bottom-right corner, and select one of the following upload options:
- **File**: Select from your phone's storage.
- **Image/Video**: Select from your phone's gallery.
:::tip
If you want to organize your uploads, you can create a **Create folder** first.
:::
4. Follow the on-screen instructions to complete the upload.
</template>

<template #Share-to-upload>

:::info
The exact steps may vary depending on your operating system and browser.
:::

This method allows you to quickly upload files or media via your phone's sharing options.
1. Open the share menu for the file.
2. Select the LarePass icon in the sharing options, or select **LarePass** in the **Other actions** menu. You will be directed to the LarePass app.
3. In the LarePass app, select the destination for your upload:
- **drive**: Upload files to your Drive storage for personal use.
- **sync**: Upload files to your Sync storage for sharing or synchronization.
4. Follow the on-screen instructions to complete the process based on your selected target location.
</template>
</Tabs>

Files uploaded via the LarePass mobile app will also sync automatically with your Olares ID.

## Download files
When downloading multiple files, the behavior differs between the Files in Olares and LarePass desktop application.
* **Files in Olares (web interface)**: Automatically packages files into a zip file for download, requiring manual extraction.
43 changes: 42 additions & 1 deletion docs/zh/manual/tasks/add-edit-download.md
Original file line number Diff line number Diff line change
@@ -6,8 +6,10 @@ description: 在 Olares 中执行基础文件操作,包括添加、编辑和

## 上传文件

### 通过 Files 应用上传
1. 打开**文件管理器**。
2. 使用以下任一方法上传多个文件或文件夹:
2. 在左侧边栏中选择要上传文件的目录,例如"文档"。
3. 使用以下任一方法上传多个文件或文件夹:
- 将文件从本地文件管理器拖放到文件窗口中。
- 右上角点击 **<i class="material-symbols-outlined">drive_folder_upload</i>上传**。
- 在空白区域右键单击,在上下文菜单中选择**上传文件**或**上传文件夹**。
@@ -16,6 +18,45 @@ description: 在 Olares 中执行基础文件操作,包括添加、编辑和
文件支持断点续传。如果上传被中断,将自动从上次检查点继续上传。
:::

### 通过 LarePass 桌面端上传
:::info 导入 Olares ID
使用 LarePass 桌面端前,需要先通过助记词导入 Olares ID。请确保已经[备份好助记词](../get-started/back-up-mnemonics.md)。
:::
LarePass 桌面端的文件上传操作与 Files 应用类似,上传的文件会自动与你的 Olares ID 同步。

### 通过 LarePass 移动端上传
你也可以通过 LarePass 移动应用在手机上上传文件或文件夹。
<Tabs>
<template #直接上传>

1. 打开 LarePass 应用并进入**文件**标签页。
2. 选择要上传文件的目录。
3. 点击右下角的 <i class="material-symbols-outlined">add_circle</i> 图标,选择以下上传方式之一:
- **文件**:从手机存储中选择文件
- **图片/视频**:从手机相册中选择图片或视频
:::tip
如果需要整理上传的文件,可以先选择**新建文件夹**。
:::
4. 按照屏幕提示完成上传。
</template>

<template #分享上传>

:::info
具体步骤可能会因操作系统和浏览器而有所不同。
:::

LarePass 支持通过手机的分享选项快速上传文件或媒体内容。
1. 打开文件的分享菜单。
2. 在分享选项中选择 LarePass 图标,或在操作菜单中选择 **LarePass**,跳转到 LarePass 应用。
3. 在 LarePass 应用中选择上传目标位置:
- **drive**:将文件上传到存储盘,用于个人存储。
- **sync**:将文件上传到同步盘,用于同步或共享。
4. 根据所选的上传目标位置,按照屏幕提示完成上传。
</template>
</Tabs>

通过 LarePass 移动应用上传的文件也会自动与你的 Olares ID 同步。
## 下载文件
下载多个文件时,文件管理器网页版和 LarePass 桌面端的行为有所不同:
* **文件管理器网页版**:自动将文件打包成 zip 文件下载,需要手动解压