Merge timeline tabs into single polished tab with adaptive scaling
Combine stable and WIP timeline tabs into one with all features: view switcher, restore/rename/delete, and data preview panel. Add adaptive graph spacing based on node count, show full dates and branch names on node labels, increase label truncation to 25 chars, and drop streamlit-agraph dependency. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
13
app.py
13
app.py
@@ -11,7 +11,6 @@ from utils import (
|
||||
from tab_single import render_single_editor
|
||||
from tab_batch import render_batch_processor
|
||||
from tab_timeline import render_timeline_tab
|
||||
from tab_timeline_wip import render_timeline_wip
|
||||
from tab_comfy import render_comfy_monitor
|
||||
from tab_raw import render_raw_editor
|
||||
|
||||
@@ -197,10 +196,9 @@ if selected_file_name:
|
||||
# --- CONTROLLED NAVIGATION ---
|
||||
# Removed "🔌 Comfy Monitor" from this list
|
||||
tabs_list = [
|
||||
"📝 Single Editor",
|
||||
"🚀 Batch Processor",
|
||||
"🕒 Timeline",
|
||||
"🧪 Interactive Timeline",
|
||||
"📝 Single Editor",
|
||||
"🚀 Batch Processor",
|
||||
"🕒 Timeline",
|
||||
"💻 Raw Editor"
|
||||
]
|
||||
|
||||
@@ -226,10 +224,7 @@ if selected_file_name:
|
||||
|
||||
elif current_tab == "🕒 Timeline":
|
||||
render_timeline_tab(data, file_path)
|
||||
|
||||
elif current_tab == "🧪 Interactive Timeline":
|
||||
render_timeline_wip(data, file_path)
|
||||
|
||||
|
||||
elif current_tab == "💻 Raw Editor":
|
||||
render_raw_editor(data, file_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user