Release v0.3.3 (#18)

* Add auto edit and polish timeline interactions

* Release v0.3.3

---------

Co-authored-by: haixin.yang <haixin.yang@weimob.com>
This commit is contained in:
Martin Delophyandhaixin.yang authored and GitHub committed 2026-07-17 17:52:43 +08:00
1 parent 0be8627f95
commit 86aef694ea
37 files changed
+1532 -231

No files matched your search

+136 -14
View File
@@ -794,12 +794,12 @@ button:disabled {
.drop-zone {
display: grid;
grid-template-columns: 42px minmax(0, 1fr);
grid-template-columns: 32px minmax(0, 1fr);
align-items: center;
gap: 6px 14px;
min-height: 116px;
margin-top: 18px;
padding: 16px 18px;
gap: 2px 10px;
min-height: 78px;
margin-top: 12px;
padding: 10px 12px;
border: 1px dashed rgba(173, 184, 196, 0.24);
border-radius: 8px;
color: #99a5b1;
@@ -819,14 +819,20 @@ button:disabled {
}
.drop-zone span {
min-width: 0;
overflow: hidden;
color: #7c8793;
font-size: 12px;
line-height: 1.45;
font-size: 11px;
line-height: 1.35;
text-overflow: ellipsis;
white-space: nowrap;
}
.drop-zone svg {
grid-row: 1 / span 2;
justify-self: center;
width: 32px;
height: 32px;
color: #8c96a2;
}
@@ -948,7 +954,7 @@ button:disabled {
.asset-list {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-template-columns: repeat(2, minmax(0, 1fr));
align-content: start;
gap: 10px;
margin-top: 14px;
@@ -1177,7 +1183,99 @@ button:disabled {
.auto-edit-progress { display: grid; gap: 8px; }
.auto-edit-progress > div { display: flex; justify-content: space-between; color: #9eacb4; font-size: 11px; }
.auto-edit-progress progress { width: 100%; accent-color: #35ead9; }
.auto-edit-panel .primary-action { width: 100%; }
.auto-edit-generate { position: relative; display: grid; grid-template-columns: 34px minmax(0,1fr) 22px; align-items: center; gap: 10px; width: 100%; min-height: 58px; overflow: hidden; border: 1px solid rgba(53,234,217,.72); border-radius: 11px; padding: 9px 12px; color: #061817; text-align: left; background: linear-gradient(120deg,#73b7ff 0%,#38e9d9 54%,#69f1c7 100%); box-shadow: 0 10px 28px rgba(38,217,200,.18), inset 0 1px 0 rgba(255,255,255,.35); cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease; }
.auto-edit-generate::after { content:""; position:absolute; inset:-60% auto -60% -35%; width:34%; transform:rotate(18deg); background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent); transition:left 360ms ease; }
.auto-edit-generate:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 14px 34px rgba(38,217,200,.27), inset 0 1px 0 rgba(255,255,255,.42); }
.auto-edit-generate:hover:not(:disabled)::after { left:115%; }
.auto-edit-generate:active:not(:disabled) { transform: translateY(0); }
.auto-edit-generate:disabled { border-color: rgba(255,255,255,.1); color:#7d898e; background:rgba(255,255,255,.055); box-shadow:none; cursor:not-allowed; }
.auto-edit-generate-icon { display:grid; place-items:center; width:34px; height:34px; border-radius:9px; color:#07302d; background:rgba(255,255,255,.34); box-shadow:inset 0 0 0 1px rgba(255,255,255,.28); }
.auto-edit-generate:disabled .auto-edit-generate-icon { color:#68757b; background:rgba(255,255,255,.055); }
.auto-edit-generate > span:nth-child(2) { display:grid; gap:2px; min-width:0; }
.auto-edit-generate strong { overflow:hidden; font-size:12px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }
.auto-edit-generate small { overflow:hidden; color:rgba(5,38,35,.68); font-size:9px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
.auto-edit-generate:disabled small { color:#66747a; }
.auto-edit-generate-arrow { font-size:18px; font-weight:700; transition:transform 160ms ease; }
.auto-edit-generate:hover:not(:disabled) .auto-edit-generate-arrow { transform:translateX(3px); }
.auto-edit-review-backdrop { position:fixed; inset:0; z-index:120; display:grid; place-items:center; padding:28px; background:rgba(3,7,11,.78); backdrop-filter:blur(9px); animation:auto-edit-backdrop-in 160ms ease-out; }
.auto-edit-review-dialog { display:grid; grid-template-rows:auto 3px minmax(0,1fr) auto; width:min(960px,calc(100vw - 56px)); height:min(720px,calc(100vh - 56px)); overflow:hidden; border:1px solid rgba(117,177,199,.25); border-radius:18px; color:#dce8eb; background:linear-gradient(145deg,rgba(18,25,33,.99),rgba(9,14,20,.99)); box-shadow:0 38px 120px rgba(0,0,0,.68),inset 0 1px 0 rgba(255,255,255,.05); animation:auto-edit-dialog-in 180ms ease-out; }
.auto-edit-review-header { display:grid; grid-template-columns:42px minmax(0,1fr) auto 34px; align-items:center; gap:12px; min-height:76px; padding:13px 18px; border-bottom:1px solid rgba(255,255,255,.07); }
.auto-edit-review-mark { display:grid; place-items:center; width:40px; height:40px; border:1px solid rgba(53,234,217,.4); border-radius:12px; color:#041817; background:linear-gradient(145deg,#71b8ff,#39ead8); box-shadow:0 8px 24px rgba(53,234,217,.16); }
.auto-edit-review-header > div:nth-child(2) { display:grid; gap:2px; }
.auto-edit-review-header > div:nth-child(2) > span { color:#5fddd1; font-size:9px; font-weight:750; letter-spacing:.15em; text-transform:uppercase; }
.auto-edit-review-header h2 { margin:0; color:#f2f8f9; font-size:17px; letter-spacing:-.02em; }
.auto-edit-review-status { display:flex; align-items:center; gap:7px; border:1px solid rgba(255,255,255,.08); border-radius:999px; padding:6px 10px; color:#91a0a8; font-size:10px; background:rgba(255,255,255,.035); }
.auto-edit-review-status i { width:6px; height:6px; border-radius:50%; background:#e5bd68; box-shadow:0 0 9px rgba(229,189,104,.7); animation:auto-edit-pulse 1.1s ease-in-out infinite; }
.auto-edit-review-status.is-complete { color:#78e6d9; border-color:rgba(53,234,217,.24); background:rgba(53,234,217,.07); }
.auto-edit-review-status.is-complete i { background:#35ead9; box-shadow:0 0 9px rgba(53,234,217,.8); animation:none; }
.auto-edit-review-status.is-error { color:#ffaaaa; border-color:rgba(255,104,117,.25); background:rgba(255,83,99,.07); }
.auto-edit-review-status.is-error i { background:#ff6875; animation:none; }
.auto-edit-review-close { display:grid; place-items:center; width:32px; height:32px; border:0; border-radius:8px; color:#80909a; background:transparent; cursor:pointer; }
.auto-edit-review-close:hover { color:#f3f8f9; background:rgba(255,255,255,.07); }
.auto-edit-review-progress { overflow:hidden; background:rgba(255,255,255,.04); }
.auto-edit-review-progress span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#68aaff,#35ead9); box-shadow:0 0 16px rgba(53,234,217,.55); transition:width 220ms ease; }
.auto-edit-review-body { display:grid; grid-template-columns:minmax(0,1.16fr) minmax(320px,.84fr); gap:1px; min-height:0; overflow:hidden; background:rgba(255,255,255,.07); }
.auto-edit-review-section { min-width:0; overflow:auto; padding:19px; background:#0d131a; scrollbar-width:thin; scrollbar-color:#33434e transparent; }
.auto-edit-review-section-title { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.auto-edit-review-section-title > div { display:flex; align-items:center; gap:9px; }
.auto-edit-review-section-title > div > span { display:grid; place-items:center; width:26px; height:26px; border:1px solid rgba(53,234,217,.24); border-radius:8px; color:#35ead9; font-size:9px; font-weight:800; background:rgba(53,234,217,.06); }
.auto-edit-review-section-title strong { color:#e8f1f3; font-size:13px; }
.auto-edit-review-section-title em { color:#6d7d87; font-size:9px; font-style:normal; }
.auto-edit-review-section > p { margin:7px 0 16px 35px; color:#6d7d87; font-size:10px; line-height:1.5; }
.auto-edit-candidate-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.auto-edit-candidate-card { overflow:hidden; border:1px solid rgba(255,255,255,.08); border-radius:11px; background:rgba(255,255,255,.025); transition:border-color 150ms ease,transform 150ms ease; }
.auto-edit-candidate-card:hover { transform:translateY(-2px); border-color:rgba(53,234,217,.34); }
.auto-edit-candidate-card > div { position:relative; aspect-ratio:1/1; overflow:hidden; background:#000; }
.auto-edit-candidate-card img { width:100%; height:100%; object-fit:contain; }
.auto-edit-candidate-card > div span,.auto-edit-candidate-card > div time { position:absolute; top:8px; border:1px solid rgba(255,255,255,.12); border-radius:6px; padding:4px 6px; color:#eaf4f4; font-size:8px; background:rgba(5,10,15,.72); backdrop-filter:blur(5px); }
.auto-edit-candidate-card > div span { left:8px; color:#42e7d6; }
.auto-edit-candidate-card > div time { right:8px; font-variant-numeric:tabular-nums; }
.auto-edit-candidate-card > div em { position:absolute; right:8px; bottom:8px; border:1px solid rgba(255,255,255,.12); border-radius:6px; padding:4px 6px; color:#aebcc2; font-size:8px; font-style:normal; background:rgba(5,10,15,.72); backdrop-filter:blur(5px); }
.auto-edit-candidate-card footer { display:grid; grid-template-columns:auto auto; gap:6px; align-items:center; padding:8px 9px; color:#72818b; font-size:8px; }
.auto-edit-candidate-card footer strong { justify-self:end; color:#9cabb2; font-variant-numeric:tabular-nums; }
.auto-edit-candidate-card footer i { grid-column:1/-1; height:3px; overflow:hidden; border-radius:9px; background:rgba(255,255,255,.06); }
.auto-edit-candidate-card footer b { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#6aa9ff,#35ead9); }
.auto-edit-model-results { background:#0b1117; }
.auto-edit-result-list { display:grid; gap:8px; }
.auto-edit-result-list article { display:grid; grid-template-columns:28px minmax(0,1fr); gap:9px; padding:10px; border:1px solid rgba(255,255,255,.07); border-radius:9px; background:rgba(255,255,255,.025); }
.auto-edit-result-list article > span { display:grid; place-items:center; width:27px; height:27px; border-radius:7px; color:#76e5d9; font-size:9px; font-weight:750; background:rgba(53,234,217,.08); }
.auto-edit-result-list article div { display:grid; gap:5px; min-width:0; }
.auto-edit-result-list p { margin:0; color:#dce7ea; font-size:11px; line-height:1.45; }
.auto-edit-result-list time { color:#667984; font-size:8px; font-variant-numeric:tabular-nums; }
.auto-edit-clip-results { display:grid; gap:10px; }
.auto-edit-clip-result { overflow:hidden; border:1px solid rgba(255,255,255,.075); border-radius:11px; background:rgba(255,255,255,.02); }
.auto-edit-clip-result.is-running { border-color:rgba(229,189,104,.28); box-shadow:inset 3px 0 0 rgba(229,189,104,.65); }
.auto-edit-clip-result.is-complete { border-color:rgba(53,234,217,.2); box-shadow:inset 3px 0 0 rgba(53,234,217,.65); }
.auto-edit-clip-result.is-error { border-color:rgba(255,104,117,.22); box-shadow:inset 3px 0 0 rgba(255,104,117,.62); }
.auto-edit-clip-result > header { display:grid; grid-template-columns:52px minmax(0,1fr) auto; align-items:center; gap:9px; min-height:50px; padding:7px 9px; border-bottom:1px solid rgba(255,255,255,.055); background:rgba(255,255,255,.018); }
.auto-edit-clip-result > header img { width:52px; height:36px; border-radius:6px; object-fit:contain; background:#000; }
.auto-edit-clip-result > header div { display:grid; gap:3px; min-width:0; }
.auto-edit-clip-result > header strong { overflow:hidden; color:#dce7e9; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.auto-edit-clip-result > header span { color:#667680; font-size:8px; }
.auto-edit-clip-result > header em { border:1px solid rgba(255,255,255,.08); border-radius:999px; padding:4px 7px; color:#7d8c95; font-size:8px; font-style:normal; white-space:nowrap; }
.auto-edit-clip-result.is-running > header em { color:#d9bd7d; border-color:rgba(229,189,104,.2); background:rgba(229,189,104,.06); }
.auto-edit-clip-result.is-complete > header em { color:#69dbcf; border-color:rgba(53,234,217,.2); background:rgba(53,234,217,.06); }
.auto-edit-clip-result .auto-edit-result-list { gap:6px; padding:8px; }
.auto-edit-clip-result .auto-edit-result-list article { border:0; padding:7px; background:rgba(255,255,255,.022); }
.auto-edit-clip-pending { display:flex; align-items:center; justify-content:center; gap:8px; min-height:62px; color:#61717b; font-size:9px; }
.auto-edit-clip-pending i { width:13px; height:13px; border:2px solid rgba(229,189,104,.15); border-top-color:#e5bd68; border-radius:50%; animation:auto-edit-spin .8s linear infinite; }
.auto-edit-clip-error { margin:0; padding:10px; color:#d18c94; font-size:9px; line-height:1.45; }
.auto-edit-review-loading { display:grid; place-items:center; align-content:center; gap:12px; min-height:220px; border:1px dashed rgba(255,255,255,.08); border-radius:11px; color:#667781; font-size:10px; background:rgba(255,255,255,.012); }
.auto-edit-review-loading i { width:25px; height:25px; border:2px solid rgba(53,234,217,.13); border-top-color:#35ead9; border-radius:50%; animation:auto-edit-spin .85s linear infinite; }
.auto-edit-review-error { display:grid; gap:5px; border:1px solid rgba(255,104,117,.2); border-radius:10px; padding:12px; color:#c4868d; font-size:10px; background:rgba(255,83,99,.055); }
.auto-edit-review-error strong { color:#ffadb4; font-size:11px; }
.auto-edit-review-actions { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:10px; min-height:72px; padding:12px 18px; border-top:1px solid rgba(255,255,255,.07); background:rgba(8,13,18,.96); }
.auto-edit-review-actions > div { display:grid; gap:3px; }
.auto-edit-review-actions > div strong { color:#dfe9eb; font-size:11px; }
.auto-edit-review-actions > div span { color:#677883; font-size:9px; }
.auto-edit-review-actions .panel-secondary { min-width:78px; }
.auto-edit-apply { display:flex; align-items:center; justify-content:center; gap:7px; min-width:148px; min-height:38px; border:1px solid rgba(53,234,217,.7); border-radius:9px; color:#061817; font-size:11px; font-weight:800; background:linear-gradient(125deg,#69b6ff,#39ead7); box-shadow:0 8px 20px rgba(53,234,217,.15); cursor:pointer; }
.auto-edit-apply:disabled { border-color:rgba(255,255,255,.08); color:#5f6e75; background:rgba(255,255,255,.045); box-shadow:none; cursor:not-allowed; }
@keyframes auto-edit-spin { to { transform:rotate(360deg); } }
@keyframes auto-edit-pulse { 50% { opacity:.35; transform:scale(.75); } }
@keyframes auto-edit-backdrop-in { from { opacity:0; } }
@keyframes auto-edit-dialog-in { from { opacity:0; transform:translateY(10px) scale(.985); } }
@media (max-width:760px) { .auto-edit-review-body { grid-template-columns:1fr; overflow:auto; } .auto-edit-review-section { overflow:visible; } .auto-edit-review-dialog { height:calc(100vh - 24px); width:calc(100vw - 24px); } .auto-edit-review-actions { grid-template-columns:1fr 1fr; } .auto-edit-review-actions > div { grid-column:1/-1; } }
.smart-vision-heading {
display: flex;
@@ -2460,9 +2558,9 @@ button:disabled {
.preview-stage {
display: grid;
grid-template-rows: 1fr 94px;
grid-template-rows: minmax(0, 1fr) 70px;
gap: 0;
padding: 10px;
padding: 4px;
overflow: hidden;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 42%),
@@ -2474,7 +2572,7 @@ button:disabled {
display: grid;
place-items: center;
min-height: 0;
padding: 20px 8px 12px;
padding: 3px 4px 2px;
background: #171b22;
}
@@ -2545,6 +2643,9 @@ button:disabled {
place-items: center;
width: 100%;
height: 100%;
min-width: 0;
min-height: 0;
overflow: hidden;
}
.visual-media-layer > img,
@@ -2555,9 +2656,15 @@ button:disabled {
.visual-media-layer > img,
.visual-media-layer > video {
position: absolute;
inset: 0;
display: block;
width: 100%;
height: 100%;
min-width: 0;
min-height: 0;
max-width: 100%;
max-height: 100%;
object-fit: contain;
object-position: center center;
background: #080a0e;
@@ -2772,7 +2879,7 @@ button:disabled {
}
.transport {
padding: 12px 12px 4px;
padding: 7px 10px 2px;
}
.scrubber,
@@ -2787,7 +2894,7 @@ button:disabled {
justify-content: space-between;
gap: 10px;
min-width: 0;
margin-top: 10px;
margin-top: 6px;
flex-wrap: nowrap;
}
@@ -4868,6 +4975,21 @@ button:disabled {
box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}
@media (min-width: 1181px) and (max-width: 1600px) {
.editor-grid {
grid-template-columns: 74px minmax(270px, 0.66fr) minmax(540px, 1.62fr) minmax(280px, 0.76fr);
}
.editor-grid.is-compact-rail {
grid-template-columns: 50px minmax(270px, 0.66fr) minmax(540px, 1.62fr) minmax(280px, 0.76fr);
}
.preview-stage {
padding-right: 4px;
padding-left: 4px;
}
}
@media (max-width: 1180px) {
body {
overflow: auto;