+ Select specific folders and/or individual files to index from your Dropbox. +
++ Selected {totalSelected} item{totalSelected > 1 ? "s" : ""}: {(() => { + const parts: string[] = []; + if (selectedFolders.length > 0) { + parts.push( + `${selectedFolders.length} folder${selectedFolders.length > 1 ? "s" : ""}` + ); + } + if (selectedFiles.length > 0) { + parts.push(`${selectedFiles.length} file${selectedFiles.length > 1 ? "s" : ""}`); + } + return parts.length > 0 ? `(${parts.join(", ")})` : ""; + })()} +
++ Your Dropbox authentication has expired. Please re-authenticate using the button below. +
+ )} + + {isEditMode ? ( ++ Configure how files are indexed from your Dropbox. +
++ Maximum number of files to index from each folder +
++ Recursively index files in subfolders of selected folders +
++ {phase === "rejected" + ? "Dropbox File Rejected" + : phase === "processing" || phase === "complete" + ? "Dropbox File Approved" + : "Create Dropbox File"} +
+ {phase === "processing" ? ( ++ {pendingEdits ? "File created with your changes" : "File created"} +
+ ) : phase === "rejected" ? ( +File creation was cancelled
+ ) : ( ++ Requires your approval to proceed +
+ )} +{interruptData.context.error}
+ ) : ( + <> + {accounts.length > 0 && ( ++ Dropbox Account * +
+ +File Type
+ +Parent Folder
+ + {availableParentFolders.length === 0 && ( ++ No folders found. File will be created at Dropbox root. +
+ )} ++ {String(pendingEdits?.name ?? args.name)} +
+ )} + {(pendingEdits?.content ?? args.content) != null && ( +Failed to create Dropbox file
+{result.message}
+Dropbox authentication expired
+{result.message}
++ {result.message || "Dropbox file created successfully"} +
++ {phase === "rejected" + ? "Dropbox File Deletion Rejected" + : phase === "processing" || phase === "complete" + ? "Dropbox File Deletion Approved" + : "Delete Dropbox File"} +
+ {phase === "processing" ? ( +File deleted
+ ) : phase === "rejected" ? ( +File deletion was cancelled
+ ) : ( ++ Requires your approval to proceed +
+ )} +{context.error}
+ ) : ( + <> + {account && ( +Dropbox Account
+File to Delete
++ The file will be permanently deleted from Dropbox. +
+Failed to delete file
+{result.message}
+{result.message}
+Dropbox authentication expired
+{result.message}
++ {result.message || "File deleted from Dropbox"} +
+- Recursively index files in subfolders of selected folders -
-+ Only sync changes since last index (faster). Disable for a full re-index. +
+ Recursively index files in subfolders of selected folders +
+