feat: Add comprehensive timeline editor with frame editing and regeneration capabilities

This commit is contained in:
empty
2026-01-05 14:48:43 +08:00
parent 7d78dcd078
commit ca018a9b1f
68 changed files with 14904 additions and 57 deletions

View File

@@ -361,6 +361,28 @@ def render_task_detail_modal(task_id: str, pixelle_video):
mime="video/mp4",
use_container_width=True
)
# Open in Editor button
editor_url = f"http://localhost:3001/editor?storyboard_id={task_id}"
st.markdown(
f'''
<a href="{editor_url}" target="_blank" style="text-decoration: none;">
<button style="
width: 100%;
padding: 0.5rem 1rem;
background-color: #262730;
color: white;
border: 1px solid #262730;
border-radius: 0.5rem;
cursor: pointer;
margin-top: 0.5rem;
">
✏️ 在编辑器中打开
</button>
</a>
''',
unsafe_allow_html=True
)
else:
st.warning("Video file not found")