Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+13
-8
@@ -62,15 +62,13 @@ export function FileUploadPage({ vm, items, actions }: FileUploadPageProps) {
|
||||
</div>
|
||||
|
||||
{/* Dropzone (custom interactive target; i18n copy from the VM) */}
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => inputRef.current?.click()}
|
||||
<div
|
||||
onDragOver={(event) => event.preventDefault()}
|
||||
onDrop={(event) => {
|
||||
event.preventDefault();
|
||||
actions.onFiles(event.dataTransfer.files);
|
||||
}}
|
||||
className="flex w-full flex-col items-center gap-4 rounded-lg border-2 border-dashed border-border-strong bg-surface-neutral-primary px-6 py-16 hover:border-brand-brand-border-solid-hover hover:bg-surface-neutral-secondary"
|
||||
className="border-border-strong bg-surface-neutral-primary hover:border-brand-brand-border-solid-hover hover:bg-surface-neutral-secondary flex w-full flex-col items-center gap-4 rounded-lg border-2 border-dashed px-6 py-16"
|
||||
data-ui-id="ui.files.upload.dropzone"
|
||||
>
|
||||
<FeatherUpload className="text-heading-1 font-heading-1 text-icon-neutral-secondary" />
|
||||
@@ -78,11 +76,18 @@ export function FileUploadPage({ vm, items, actions }: FileUploadPageProps) {
|
||||
<span className="text-body-default-medium-0 font-body-default-medium-0 text-text-neutral-primary">{t(dropzoneHeadlineKey)}</span>
|
||||
<span className="text-body-small-regular-150 font-body-small-regular-150 text-text-neutral-secondary">{t(dropzoneBodyKey)}</span>
|
||||
</div>
|
||||
<Button icon={<FeatherUpload />} variant="tertiary">
|
||||
<Button icon={<FeatherUpload />} variant="tertiary" onClick={() => inputRef.current?.click()}>
|
||||
{t("files.upload.actions.select")}
|
||||
</Button>
|
||||
</button>
|
||||
<input ref={inputRef} type="file" multiple className="hidden" onChange={(event) => actions.onFiles(event.target.files)} data-ui-id="ui.files.upload.input" />
|
||||
</div>
|
||||
<input
|
||||
ref={inputRef}
|
||||
type="file"
|
||||
multiple
|
||||
className="hidden"
|
||||
onChange={(event) => actions.onFiles(event.target.files)}
|
||||
data-ui-id="ui.files.upload.input"
|
||||
/>
|
||||
|
||||
<Alert variant="information" textSize="small" description={t(heicNoticeKey)} notDismissible />
|
||||
|
||||
@@ -93,7 +98,7 @@ export function FileUploadPage({ vm, items, actions }: FileUploadPageProps) {
|
||||
items.map((item) => (
|
||||
<li key={item.clientId} className="flex flex-col gap-2" data-row-id={item.clientId} data-status={item.status}>
|
||||
<div className="flex items-center justify-between gap-3">
|
||||
<span className="line-clamp-1 text-body-default-regular-0 font-body-default-regular-0 text-text-neutral-primary">{item.filename}</span>
|
||||
<span className="text-body-default-regular-0 font-body-default-regular-0 text-text-neutral-primary line-clamp-1">{item.filename}</span>
|
||||
<span
|
||||
className={
|
||||
item.status === "error"
|
||||
|
||||
Reference in new issue
Block a user