Remove redundant saving status from IDAA archive edit forms

XHR upload % in the button + disabled states now communicate
upload/save progress; the top Saving.../Finished saving block
is no longer needed (and its out:fade was broken on re-entry).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scott Idem
2026-05-07 18:13:23 -04:00
parent d7b4d8c37c
commit 6e700e7b4d
2 changed files with 0 additions and 31 deletions

View File

@@ -1,7 +1,6 @@
<script lang="ts">
// *** Import Svelte core
import { onMount } from 'svelte';
import { fade } from 'svelte/transition';
import * as Lucide from 'lucide-svelte';
// *** Import Aether core variables and functions
@@ -521,20 +520,6 @@ $effect(() => {
<!-- bind:clientHeight={ae_iframe_height} -->
<form onsubmit={prevent_default(handle_submit_form)} class="space-y-1">
{#await prom_api__archive_content_obj}
<div class="awaiting alert_msg_pulse" out:fade={{ duration: 2000 }}>
Saving...
</div>
{:then}
{#if prom_api__archive_content_obj}
<div class="awaiting" out:fade={{ duration: 2000 }}>
Finished saving
</div>
{:else}
<!-- <div class="awaiting" out:fade={{ duration: 2000 }}>Nothing here yet</div> -->
{/if}
{/await}
<!-- <h3>Archive Content</h3> -->
<div

View File

@@ -2,8 +2,6 @@
// *** Import Svelte core
import { onMount } from 'svelte';
import { fade } from 'svelte/transition';
// *** Import Aether core variables and functions
import type { key_val } from '$lib/stores/ae_stores';
import { ae_util } from '$lib/ae_utils/ae_utils';
@@ -280,20 +278,6 @@ async function handle_delete_archive_obj({
class:ae_create={!$idaa_slct.archive_id}
bind:clientHeight={$ae_loc.iframe_height_modal_body}>
<form onsubmit={prevent_default(handle_submit_form)} class="space-y-1">
{#await update_archive_obj_promise}
<div class="awaiting alert_msg_pulse" out:fade={{ duration: 2000 }}>
Saving...
</div>
{:then}
{#if update_archive_obj_promise}
<div class="awaiting" out:fade={{ duration: 2000 }}>
Finished saving
</div>
{:else}
<!-- <div class="awaiting" out:fade={{ duration: 2000 }}>Nothing here yet</div> -->
{/if}
{/await}
<!-- <h2 class="h2">Archive</h2> -->
<div