diff --git a/.gitignore b/.gitignore index b103c72c..67c383d2 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ frontend-tools/video-editor/client/public/videos/sample-video.mp3 frontend-tools/chapters-editor/client/public/videos/sample-video.mp3 static/chapters_editor/videos/sample-video.mp3 static/video_editor/videos/sample-video.mp3 +templates/todo-MS4.md diff --git a/cms/version.py b/cms/version.py index 56bcd646..5ed5d632 100644 --- a/cms/version.py +++ b/cms/version.py @@ -1 +1 @@ -VERSION = "7.2.2" +VERSION = "7.3.0-beta.3" diff --git a/frontend-tools/chapters-editor/client/src/App.tsx b/frontend-tools/chapters-editor/client/src/App.tsx index 4e0b8f1c..5e825b4a 100644 --- a/frontend-tools/chapters-editor/client/src/App.tsx +++ b/frontend-tools/chapters-editor/client/src/App.tsx @@ -150,6 +150,11 @@ const App = () => { canRedo={historyPosition < history.length - 1} /> + {/* Timeline Header */} +
+

Add Chapters

+
+ {/* Timeline Controls */} { // Generate the same color background for a segment as shown in the timeline const getSegmentColorClass = (index: number) => { - // Return CSS class based on index modulo 8 - // This matches the CSS nth-child selectors in the timeline - return `segment-default-color segment-color-${(index % 8) + 1}`; + // Return CSS class based on index modulo 20 + // This matches the CSS classes for up to 20 segments + return `segment-default-color segment-color-${(index % 20) + 1}`; }; // Get selected segment @@ -65,8 +65,8 @@ const ClipSegments = ({ segments, selectedSegmentId }: ClipSegmentsProps) => {